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

Extraction as a surface mesh of the zero level set – spherical geometry.

Extraction as a surface mesh of the zero level set – spherical geometry

#include "rheolef.h"
using namespace rheolef;
using namespace std;
#include "torus.icc"
int main (int argc, char**argv) {
environment rheolef (argc,argv);
geo lambda (argv[1]);
= (argc > 2 && argv[2] == std::string("-tq")) ? false : true;
space Xh (lambda, "P1");
field phi_h = lazy_interpolate(Xh, phi);
geo gamma = level_set (phi_h, opts);
dout << gamma;
}
see the field page for the full documentation
see the geo page for the full documentation
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
Definition phi.h:25
The torus benchmark – level set, right-hand-side and exact solution.