Loading...
Searching...
No Matches
combustion_keller.cc
Go to the documentation of this file.
#include "rheolef.h"
using namespace rheolef;
using namespace std;
#include "combustion.h"
int main(int argc, char**argv) {
environment rheolef (argc, argv);
din >> noverbose;
geo omega (argv[1]);
string approx = (argc > 2) ? argv[2] : "P1";
string metric = (argc > 3) ? argv[3] : "orthogonal";
Float eps = numeric_limits<Float>::epsilon();
continuation_option opts;
opts.ini_delta_parameter = 0.1;
opts.max_delta_parameter = 0.5;
opts.min_delta_parameter = 1e-10;
opts.tol = eps;
derr << setprecision(numeric_limits<Float>::digits10)
<< "# continuation in s:" << endl
<< "# geo = " << omega.name() << endl
<< "# approx = " << approx << endl
<< "# metric = " << metric << endl
<< "# ds_init = " << opts.ini_delta_parameter << endl
<< "# ds_min = " << opts.min_delta_parameter << endl
<< "# ds_max = " << opts.max_delta_parameter << endl
<< "# tol = " << opts.tol << endl;
dout << catchmark("metric") << metric << endl;
keller<combustion> F (combustion(omega,approx), metric);
keller<combustion>::value_type xh = F.initial();
F.put (dout, xh);
continuation (F, xh, &dout, &derr, opts);
}
Float
see the Float page for the full documentation
geo
see the geo page for the full documentation
rheolef::catchmark
see the catchmark page for the full documentation
Definition catchmark.h:67
rheolef::environment
see the environment page for the full documentation
Definition environment.h:121
rheolef::keller
see the continuation page for the full documentation
Definition keller.h:32
combustion.h
The combustion problem: class header for the Newton method.
main
int main()
Definition field2bb.cc:58
rheolef
This file is part of Rheolef.
Definition compiler_eigen.h:39
rheolef::continuation
void continuation(Problem &F, typename Problem::value_type &uh, odiststream *p_out, odiststream *p_err, const continuation_option &opts=continuation_option())
see the continuation page for the full documentation
Definition continuation.h:303
std
STL namespace.
rheolef.h
rheolef - reference manual
combustion
Definition combustion.h:25
rheolef::continuation_option
see the continuation_option page for the full documentation
Definition continuation_option.h:77
rheolef::continuation_option::ini_delta_parameter
Float ini_delta_parameter
Definition continuation_option.h:85
rheolef::continuation_option::tol
Float tol
Definition continuation_option.h:80
rheolef::continuation_option::max_delta_parameter
Float max_delta_parameter
Definition continuation_option.h:84
rheolef::continuation_option::min_delta_parameter
Float min_delta_parameter
Definition continuation_option.h:83