32int main(
int argc,
char**argv) {
34 Float eps = numeric_limits<Float>::epsilon();
36 string approx = (argc > 2) ? argv[2] :
"P1d";
37 Float Re = (argc > 3) ? atof(argv[3]) : 100;
38 Float tol = (argc > 4) ? atof(argv[4]) : eps;
39 size_t max_iter = (argc > 5) ? atoi(argv[5]) : 100;
40 string restart = (argc > 6) ? argv[6] :
"";
see the Float page for the full documentation
see the geo page for the full documentation
see the catchmark page for the full documentation
see the environment page for the full documentation
The inertia term of the Navier-Stokes equation with the discontinuous Galerkin method – di Pietro & E...
This file is part of Rheolef.
int damped_newton(const Problem &P, const Preconditioner &T, Field &u, Real &tol, Size &max_iter, odiststream *p_derr=0)
see the damped_newton page for the full documentation
The Navier-Stokes equations with the discontinuous Galerkin method – class header.
rheolef - reference manual
The Stokes problem with Dirichlet boundary condition by the discontinuous Galerkin method – solver fu...
value_type initial(string restart) const
Eigen::Matrix< field, 2, 1 > value_type
The Taylor benchmark – right-hand-side and boundary condition.