19 #include "libmesh/libmesh_common.h" 20 #include "libmesh/diff_solver.h" 21 #include "libmesh/newton_solver.h" 22 #include "libmesh/implicit_system.h" 32 max_linear_iterations(1000),
33 max_nonlinear_iterations(100),
36 continue_after_max_iterations(true),
37 continue_after_backtrack_failure(false),
38 absolute_residual_tolerance(0.),
39 relative_residual_tolerance(0.),
40 absolute_step_tolerance(0.),
41 relative_step_tolerance(0.),
42 initial_linear_tolerance(1e-12),
44 _exact_constraint_enforcement(true),
45 max_solution_norm(0.),
46 max_residual_norm(0.),
50 _solve_result(INVALID_SOLVE_RESULT)
58 return std::make_unique<NewtonSolver>(s);
static constexpr Real TOLERANCE
Real max_solution_norm
The largest solution norm which the DiffSolver has yet seen will be stored here, to be used for stopp...
Real max_residual_norm
The largest nonlinear residual which the DiffSolver has yet seen will be stored here, to be used for stopping criteria based on relative_residual_tolerance.
virtual void reinit()
The reinitialization function.
The libMesh namespace provides an interface to certain functionality in the library.
static std::unique_ptr< DiffSolver > build(sys_type &s)
Factory method.
virtual void init()
The initialization function.
An object whose state is distributed along a set of processors.
DiffSolver(sys_type &s)
Constructor.
Manages consistently variables, degrees of freedom, coefficient vectors, and matrices for implicit sy...