Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
level_set_torus.cc
Go to the documentation of this file.
1
25#include "rheolef.h"
26using namespace rheolef;
27using namespace std;
28#include "torus.icc"
29int main (int argc, char**argv) {
30 environment rheolef (argc,argv);
31 geo lambda (argv[1]);
34 = (argc > 2 && argv[2] == std::string("-tq")) ? false : true;
35 space Xh (lambda, "P1");
36 field phi_h = lazy_interpolate(Xh, phi);
37 geo gamma = level_set (phi_h, opts);
38 dout << gamma;
39}
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.
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
geo_basic< T, M > level_set(const field_basic< T, M > &fh, const level_set_option &opt)
Definition level_set.cc:925
STL namespace.
rheolef - reference manual
Definition phi.h:25
The torus benchmark – level set, right-hand-side and exact solution.