Rheolef
7.1
an efficient C++ finite element environment
combustion_post.cc
Go to the documentation of this file.
1
#include "
rheolef.h
"
26
using namespace
rheolef
;
27
using namespace
std
;
28
#include "
combustion.h
"
29
int
main
(
int
argc,
char
**argv) {
30
environment
rheolef
(argc,argv);
31
field
uh;
32
dout
<< setprecision(numeric_limits<Float>::digits10)
33
<<
"# lambda det_mantissa det_exp det_base"
<< endl;
34
combustion
F;
35
while
(F.
get
(
din
,uh)) {
36
F.
reset
(uh.get_geo(), uh.get_approx());
37
problem::determinant_type det = F.
update_derivative
(uh);
38
dout
<< F.
parameter
() <<
" "
<< det.mantissa <<
" "
39
<< det.exponant <<
" "
<< det.base << endl;
40
}
41
}
field
see the field page for the full documentation
rheolef::environment
see the environment page for the full documentation
Definition:
environment.h:115
rheolef::std
Definition:
vec_expr_v2.h:402
rheolef::din
idiststream din
see the diststream page for the full documentation
Definition:
diststream.h:427
rheolef::dout
odiststream dout(cout)
see the diststream page for the full documentation
Definition:
diststream.h:430
combustion.h
The combustion problem: class header for the Newton method.
main
int main(int argc, char **argv)
Definition:
combustion_post.cc:29
rheolef
This file is part of Rheolef.
Definition:
compiler_eigen.h:37
rheolef.h
rheolef - reference manual
combustion
Definition:
combustion.h:25
combustion::parameter
float_type parameter() const
Definition:
combustion.h:34
combustion::update_derivative
problem::determinant_type update_derivative(const field &uh) const
Definition:
combustion2.icc:36
combustion::reset
void reset(const geo &omega, string approx)
Definition:
combustion1.icc:29
combustion::get
idiststream & get(idiststream &is, field &uh)
Definition:
combustion1.icc:46