19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSAMG_HPP_ 20 #define GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSAMG_HPP_ 22 #include "linearAlgebra/solvers/PreconditionerBase.hpp" 28 class Epetra_Operator;
80 virtual void compute(
Matrix const & mat )
override;
89 virtual void apply(
Vector const & src,
Vector & dst )
const override;
91 virtual void clear()
override;
97 Epetra_Operator
const & unwrapped()
const;
102 Epetra_Operator & unwrapped();
110 std::unique_ptr< Epetra_Operator > m_precond;
118 #endif //GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSAMG_HPP_ Common interface for preconditioning operators.
typename Base::Matrix Matrix
Alias for matrix type.
Set of parameters for a linear solver or preconditioner.
Wrapper around Trilinos-based preconditioners.
typename TrilinosInterface ::ParallelMatrix Matrix
Alias for matrix type.
typename Base::Vector Vector
Alias for vector type.
typename Base::Vector Vector
Alias for vector type.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...