18 #ifndef BELOS_OPERATOR_ALGEBRA_HPP_ 19 #define BELOS_OPERATOR_ALGEBRA_HPP_ 21 #include <BelosEpetraAdapter.hpp> 22 #include <BelosSolverManager.hpp> 23 #include <Teuchos_ParameterList.hpp> 25 #include <lifev/core/linear_algebra/InvertibleOperator.hpp> 26 #include <lifev/core/util/LifeChrono.hpp>
std::map< std::string, PreconditionerSide > precSideMap_Type
virtual int doApplyInverse(const vector_Type &X, vector_Type &Y) const
static precSideMap_Type * singletonPrecSideMap()
InvertibleOperator * createBelosOperatorAlgebra()
LinearProblem_ptr M_linProblem
The linearProblem.
Teuchos::RCP< LinearProblem > LinearProblem_ptr
Belos::SolverManager< double, MV, OP > SolverType
virtual void doSetPreconditioner()
static bool registerBelosAlgebra
static solverManagerMap_Type * singletonSolverManagerMap()
Teuchos::RCP< SolverType > SolverType_ptr
std::map< std::string, SolverManagerType > solverManagerMap_Type
void updateInverseJacobian(const UInt &iQuadPt)
static const LifeV::UInt elm_nodes_num[]
virtual void doSetParameterList()
InvertibleOperator interface to Belos in Trilinos. BelosOperator requires the operator to be solved a...
Teuchos::RCP< Belos::EpetraPrecOp > M_belosPrec
Cast to a Belos Preconditioner.
Abstract class which defines the interface of an Invertible Linear Operator Algebra.
static std::unique_ptr< precSideMap_Type > S_precSideMap
static std::unique_ptr< solverManagerMap_Type > S_solverManagerMap
void allocateSolver(const SolverManagerType &solverManagerType)
virtual void doSetOperator()
BelosOperatorAlgebra()
null constructor and destructor
Epetra_MultiVector vector_Type
Belos::LinearProblem< double, MV, OP > LinearProblem
SolverType_ptr M_solverManager
The linearSolver.