Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
mosolov_yield_surface.cc
Go to the documentation of this file.
1
25#include "rheolef.h"
26using namespace rheolef;
27using namespace std;
28int main(int argc, char**argv) {
29 environment rheolef (argc,argv);
30 Float tol = (argc > 1) ? atof(argv[1]) : 1e-15;
31 Float Bi;
32 field sigma_h;
33 din >> catchmark("Bi") >> Bi
34 >> catchmark("sigma") >> sigma_h;
35 space Th = sigma_h.get_space();
36 space Th1 (Th.get_geo(), "P" + to_string(4*(Th.degree()+1)) + "d");
37 dout << lazy_interpolate (Th1, norm(sigma_h)-Bi);
38}
see the Float 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.
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
T norm(const vec< T, M > &x)
norm(x): see the expression page for the full documentation
Definition vec.h:387
STL namespace.
rheolef - reference manual