Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
NewtonNonLinearSolverStrategy< VectorType > Class Template Reference

#include <newton_non_linear_solver_strategy.h>

Inheritance diagram for NewtonNonLinearSolverStrategy< VectorType >:
[legend]

Public Member Functions

 NewtonNonLinearSolverStrategy (PhysicsSolver< VectorType > *physics_solver, const Parameters::NonLinearSolver &param)
void solve () override
Public Member Functions inherited from PhysicsSolverStrategy< VectorType >
 PhysicsSolverStrategy (PhysicsSolver< VectorType > *physics_solver, const Parameters::NonLinearSolver &params)
 PhysicsSolverStrategy (PhysicsSolver< VectorType > *physics_solver)
virtual ~PhysicsSolverStrategy ()=default
unsigned int get_current_newton_iteration () const

Additional Inherited Members

Protected Member Functions inherited from PhysicsSolverStrategy< VectorType >
bool skip_linear_solve_if_fresh_rhs_is_already_converged (const bool rhs_was_assembled_this_iteration, const double rescale_metric, double &current_res, double &last_res, double &global_res)
Protected Attributes inherited from PhysicsSolverStrategy< VectorType >
PhysicsSolver< VectorType > * physics_solver
Parameters::NonLinearSolver params
unsigned int outer_iteration

Detailed Description

template<typename VectorType>
class NewtonNonLinearSolverStrategy< VectorType >

Non-linear solver for non-linear systems of equations which uses a Newton method with \(\alpha\) relaxation to ensure that the residual is monotonically decreasing.

Definition at line 15 of file newton_non_linear_solver_strategy.h.

Constructor & Destructor Documentation

◆ NewtonNonLinearSolverStrategy()

template<typename VectorType>
NewtonNonLinearSolverStrategy< VectorType >::NewtonNonLinearSolverStrategy ( PhysicsSolver< VectorType > * physics_solver,
const Parameters::NonLinearSolver & param )

Constructor.

Parameters
[in]physics_solverA pointer to the physics solver to which the non-linear solver is attached.
[in]paramNon-linear solver parameters as specified in the simulation parameter file.

Definition at line 41 of file newton_non_linear_solver_strategy.h.

References PhysicsSolverStrategy< VectorType >::params, PhysicsSolverStrategy< VectorType >::physics_solver, and PhysicsSolverStrategy< VectorType >::PhysicsSolverStrategy().

Member Function Documentation

◆ solve()


The documentation for this class was generated from the following file: