Rheolef  7.1
an efficient C++ finite element environment
proj_band.cc
Go to the documentation of this file.
1 #include "rheolef.h"
26 using namespace std;
27 using namespace rheolef;
28 int main (int argc, char**argv) {
29  environment rheolef (argc, argv);
30  field phi_h;
31  din >> catchmark("phi") >> phi_h;
32  const space& Xh = phi_h.get_space();
33  band gamma_h (phi_h);
34  space Bh (gamma_h.band(), "P1");
35  field uh(Bh);
36  din >> catchmark("u") >> uh;
37  space Wh (gamma_h.level_set(), "P1");
38  gamma_h.level_set().save();
39  dout << interpolate (Wh, uh);
40 }
see the band page for the full documentation
see the field page for the full documentation
see the catchmark page for the full documentation
Definition: catchmark.h:67
see the environment page for the full documentation
Definition: environment.h:115
see the space page for the full documentation
This file is part of Rheolef.
idiststream din(cin)
see the diststream page for the full documentation
field_basic< T, M > interpolate(const space_basic< T, M > &V2h, const field_basic< T, M > &u1h)
see the interpolate page for the full documentation
Definition: interpolate.cc:233
int main(int argc, char **argv)
Definition: proj_band.cc:28
rheolef - reference manual