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

#include <kinsol_newton_non_linear_solver_strategy.h>

Inheritance diagram for KinsolNewtonNonLinearSolverStrategy< VectorType >:
[legend]

Public Member Functions

 KinsolNewtonNonLinearSolverStrategy (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 KinsolNewtonNonLinearSolverStrategy< VectorType >

Non-linear Newton solver for non-linear systems of equations implemented in the SUNDIALS suite, specifically the KINSOL package. This solver has internal algorithms to determine the time step and decide whether to reassemble the Jacobian matrix or not.

Definition at line 19 of file kinsol_newton_non_linear_solver_strategy.h.

Constructor & Destructor Documentation

◆ KinsolNewtonNonLinearSolverStrategy()

template<typename VectorType>
KinsolNewtonNonLinearSolverStrategy< VectorType >::KinsolNewtonNonLinearSolverStrategy ( 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 45 of file kinsol_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: