Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
proj_band.cc

The banded level set method - projection on the surface.

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 << lazy_interpolate (Wh, uh);
}
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
see the space page for the full documentation
int main()
Definition field2bb.cc:58
This file is part of Rheolef.
STL namespace.
rheolef - reference manual