25#include "neml2/solvers/NonlinearSolver.h"
34 options.
set<
Real>(
"abs_tol") = 1
e-10;
35 options.
set(
"abs_tol").doc() =
"Absolute tolerance in the convergence criteria";
38 options.
set(
"rel_tol").doc() =
"Relative tolerance in the convergence criteria";
40 options.
set<
unsigned int>(
"max_its") = 100;
41 options.
set(
"max_its").doc() =
42 "Maximum number of iterations allowed before issuing an error/exception";
49 atol(options.get<
Real>(
"abs_tol")),
50 rtol(options.get<
Real>(
"rel_tol")),
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
NonlinearSolver(const OptionSet &options)
Construct a new NonlinearSolver object.
Definition NonlinearSolver.cxx:47
static OptionSet expected_options()
Definition NonlinearSolver.cxx:30
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
T & set(const std::string &)
Definition OptionSet.h:436
The solver solves a system of equations.
Definition Solver.h:37
static OptionSet expected_options()
Definition Solver.cxx:30
Definition CrossRef.cxx:32