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);
}
band
see the band page for the full documentation
field
see the field page for the full documentation
space
see the space page for the full documentation
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
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
main
int main(int argc, char **argv)
Definition: proj_band.cc:28
rheolef.h
rheolef - reference manual