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

#include <linear_solver_strategy.h>

Inheritance diagram for LinearSolverStrategy< VectorType >:
[legend]

Public Member Functions

 LinearSolverStrategy (PhysicsSolver< VectorType > *physics_solver)
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 LinearSolverStrategy< VectorType >

The linear solver strategy class is used to solve the physics as a linear problem.

Definition at line 13 of file linear_solver_strategy.h.

Constructor & Destructor Documentation

◆ LinearSolverStrategy()

template<typename VectorType>
LinearSolverStrategy< VectorType >::LinearSolverStrategy ( PhysicsSolver< VectorType > * physics_solver)

Constructor for the linear solver strategy.

Parameters
[in]physics_solverA pointer to the physics solver to which the solving strategy is attached.

Definition at line 34 of file linear_solver_strategy.h.

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

Member Function Documentation

◆ solve()


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