4#ifndef lethe_linear_solver_strategy_h
5#define lethe_linear_solver_strategy_h
12template <
typename VectorType>
33template <
typename VectorType>
39template <
typename VectorType>
LinearSolverStrategy(PhysicsSolver< VectorType > *physics_solver)
Constructor for the linear solver strategy.
void solve() override
Solve the linear system of equations.
PhysicsSolver< VectorType > * physics_solver
Physics solver for which we need a non-linear solver.
PhysicsSolverStrategy(PhysicsSolver< VectorType > *physics_solver, const Parameters::NonLinearSolver ¶ms)
Constructor for the non-linear solver strategies.
Contain all the common elements of a physics solver. It creates the non-linear solver as specified by...
virtual void solve_linear_system()=0
Solve the linear system of equations.
virtual void setup_preconditioner()=0
Set up the preconditioner.
virtual void assemble_system_matrix()=0
Assemble the matrix.
virtual void assemble_system_rhs()=0
Assemble the right-hand side (rhs).
GlobalVectorType VectorType