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 }
see the field page for the full documentation
see the environment page for the full documentation
Definition: environment.h:104
idiststream din
see the diststream page for the full documentation
Definition: diststream.h:427
odiststream dout(cout)
see the diststream page for the full documentation
Definition: diststream.h:430
The combustion problem: class header for the Newton method.
int main(int argc, char **argv)
This file is part of Rheolef.
rheolef - reference manual
float_type parameter() const
Definition: combustion.h:34
problem::determinant_type update_derivative(const field &uh) const
Definition: combustion2.icc:36
void reset(const geo &omega, string approx)
Definition: combustion1.icc:29
idiststream & get(idiststream &is, field &uh)
Definition: combustion1.icc:46