Rheolef  7.1
an efficient C++ finite element environment
combustion_post.cc

The combustion problem – post-treatment

#include "rheolef.h"
using namespace rheolef;
using namespace std;
#include "combustion.h"
int main(int argc, char**argv) {
environment rheolef (argc,argv);
field uh;
dout << setprecision(numeric_limits<Float>::digits10)
<< "# lambda det_mantissa det_exp det_base" << endl;
while (F.get(din,uh)) {
F.reset (uh.get_geo(), uh.get_approx());
problem::determinant_type det = F.update_derivative(uh);
dout << F.parameter() << " " << det.mantissa << " "
<< det.exponant << " " << det.base << endl;
}
}
field
see the field page for the full documentation
combustion.h
The combustion problem: class header for the Newton method.
main
int main(int argc, char **argv)
Definition: combustion_post.cc:29
combustion
Definition: combustion.h:25
rheolef.h
rheolef - reference manual
rheolef::din
idiststream din
see the diststream page for the full documentation
Definition: diststream.h:427
rheolef::environment
see the environment page for the full documentation
Definition: environment.h:115
combustion::reset
void reset(const geo &omega, string approx)
Definition: combustion1.icc:29
rheolef
This file is part of Rheolef.
Definition: compiler_eigen.h:37
combustion::get
idiststream & get(idiststream &is, field &uh)
Definition: combustion1.icc:46
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
rheolef::dout
odiststream dout(cout)
see the diststream page for the full documentation
Definition: diststream.h:430
rheolef::std
Definition: vec_expr_v2.h:402