20 #ifndef GEOS_LINEARALGEBRA_INTERFACES_TRILINOSSOLVER_HPP_
21 #define GEOS_LINEARALGEBRA_INTERFACES_TRILINOSSOLVER_HPP_
89 std::unique_ptr< AztecOO > m_solver;
Wrapper class for Epetra's CrsMatrix.
Wrapper around Trilinos' Epetra_Vector object.
Simple interface for linear solvers that allows to extract solution results.
LinearSolverResult m_result
Result of most recent solve (status, timings)
LinearSolverParameters m_params
Parameters for the solver.
LinearSolverParameters const & parameters() const
Wrapper around Trilinos-based preconditioners.
This class creates and provides basic support for AztecOO, Amesos and ML libraries.
TrilinosSolver(LinearSolverParameters parameters)
Solver constructor, with parameter list reference.
virtual ~TrilinosSolver() override
Destructor.
virtual void solve(EpetraVector const &rhs, EpetraVector &sol) const override
Solve preconditioned system.
virtual void apply(EpetraVector const &src, EpetraVector &dst) const override
Apply operator to a vector, dst = this(src).
virtual void setup(EpetraMatrix const &mat) override
Compute the preconditioner from a matrix.
Set of parameters for a linear solver or preconditioner.