20 #ifndef LIBMESH_NEWTON_SOLVER_H 21 #define LIBMESH_NEWTON_SOLVER_H 67 virtual void init ()
override;
73 virtual void reinit ()
override;
79 virtual unsigned int solve ()
override;
164 Real & current_residual,
173 Real current_residual,
175 bool linear_solve_finished);
183 bool linear_solve_finished);
190 #endif // LIBMESH_NEWTON_SOLVER_H virtual void init() override
NewtonSolver(sys_type &system)
LinearSolver< Number > & get_linear_solver()
std::unique_ptr< LinearSolver< Number > > _linear_solver
virtual unsigned int solve() override
bool require_finite_residual
const sys_type & system() const
bool track_linear_convergence
Real linear_tolerance_multiplier
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void reinit() override
bool test_convergence(Real current_residual, Real step_norm, bool linear_solve_finished)
bool require_residual_reduction
const LinearSolver< Number > & get_linear_solver() const
Real line_search(Real tol, Real last_residual, Real ¤t_residual, NumericVector< Number > &newton_iterate, const NumericVector< Number > &linear_solution)
void print_convergence(unsigned int step_num, Real current_residual, Real step_norm, bool linear_solve_finished)
Manages consistently variables, degrees of freedom, coefficient vectors, and matrices for implicit sy...