Rheolef  7.1
an efficient C++ finite element environment
proj_band.cc

The banded level set method - projection on the surface

#include "rheolef.h"
using namespace std;
using namespace rheolef;
int main (int argc, char**argv) {
environment rheolef (argc, argv);
field phi_h;
din >> catchmark("phi") >> phi_h;
const space& Xh = phi_h.get_space();
band gamma_h (phi_h);
space Bh (gamma_h.band(), "P1");
field uh(Bh);
din >> catchmark("u") >> uh;
space Wh (gamma_h.level_set(), "P1");
gamma_h.level_set().save();
dout << interpolate (Wh, uh);
}
main
int main(int argc, char **argv)
Definition: proj_band.cc:28
rheolef::catchmark
see the catchmark page for the full documentation
Definition: catchmark.h:67
field
see the field page for the full documentation
band
see the band page for the full documentation
space
see the space page for the full documentation
rheolef.h
rheolef - reference manual
rheolef::interpolate
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
rheolef::environment
see the environment page for the full documentation
Definition: environment.h:115
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
rheolef::din
idiststream din(cin)
see the diststream page for the full documentation