20 #ifndef APPROXIMATEDINVERTIBLEROWMATRIX_H_ 21 #define APPROXIMATEDINVERTIBLEROWMATRIX_H_ 23 #include <lifev/core/linear_algebra/LinearOperatorAlgebra.hpp> 24 #include <lifev/core/linear_algebra/RowMatrixPreconditioner.hpp> 25 #include <lifev/core/linear_algebra/InvertibleOperator.hpp> 121 virtual double NormInf()
const;
128 virtual const char *
Label()
const;
ApproximatedInvertibleRowMatrix()
void SetRowMatrix(const rowMatrixPtr_Type &rowMatrix)
std::shared_ptr< RowMatrixPreconditioner > & Preconditioner()
std::shared_ptr< rowMatrix_Type > rowMatrixPtr_Type
void SetParameterList(const pList_Type pList)
Abstract class which defines the interface of a Linear Operator.
bool usePreconditionerAsApproximatedInverse
void updateInverseJacobian(const UInt &iQuadPt)
virtual double NormInf() const
Returns the infinity norm of the global matrix.
virtual const map_Type & OperatorDomainMap() const
Returns the raw_map object associated with the domain of this operator.
virtual const map_Type & OperatorRangeMap() const
Returns the raw_map object associated with the range of this operator.
virtual const comm_Type & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
virtual int SetUseTranspose(bool UseTranspose)
not fully supported!
virtual bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
virtual int Apply(const vector_Type &X, vector_Type &Y) const
Returns the result of a raw_operator applied to a raw_vector X in Y.
virtual int ApplyInverse(const vector_Type &X, vector_Type &Y) const
Returns the result of a raw_operator inverse applied to an raw_vector X in Y.
Provide the ApplyInverse method for a Epetra_CrsMatrix object.
std::shared_ptr< InvertibleOperator > M_linSolver
Epetra_MultiVector vector_Type
Teuchos::ParameterList pList_Type
std::shared_ptr< RowMatrixPreconditioner > M_prec
virtual ~ApproximatedInvertibleRowMatrix()
virtual const char * Label() const
Returns a character string describing the operator.
Epetra_CrsMatrix rowMatrix_Type
virtual bool UseTranspose() const
Returns the current UseTranspose setting.
rowMatrixPtr_Type M_rowMatrix