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);
}
band
see the band page for the full documentation
field
see the field page for the full documentation
rheolef::catchmark
see the catchmark page for the full documentation
Definition catchmark.h:67
rheolef::environment
see the environment page for the full documentation
Definition environment.h:121
space
see the space page for the full documentation
main
int main()
Definition field2bb.cc:58
rheolef
This file is part of Rheolef.
Definition compiler_eigen.h:39
rheolef::lazy_interpolate
field_basic< T, M > lazy_interpolate(const space_basic< T, M > &X2h, const field_basic< T, M > &u1h)
see the interpolate page for the full documentation
Definition field.h:871
std
STL namespace.
rheolef.h
rheolef - reference manual