46 #ifndef MUELU_EPETRAOPERATOR_HPP 47 #define MUELU_EPETRAOPERATOR_HPP 51 #include <Epetra_Operator.h> 52 #include "MueLu_Hierarchy.hpp" 65 typedef KokkosClassic::DefaultNode::DefaultNodeType
NO;
67 typedef Xpetra::Matrix<SC,LO,GO,NO>
Matrix;
98 int Apply(
const Epetra_MultiVector& X, Epetra_MultiVector& Y)
const {
return -1; }
112 int ApplyInverse(
const Epetra_MultiVector& X, Epetra_MultiVector& Y)
const;
127 const char *
Label()
const {
return "MueLu::Hierarchy"; }
136 const Epetra_Comm &
Comm()
const;
163 #endif // MUELU_EPETRAOPERATOR_HPP bool HasNormInf() const
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
int SetUseTranspose(bool UseTransposeBool)
virtual ~EpetraOperator()
Destructor.
double NormInf() const
Returns the infinity norm of the global matrix.
EpetraOperator(const RCP< Hierarchy > &H)
Constructor.
const char * Label() const
Returns a character string describing the operator.
MueLu::Hierarchy< SC, LO, GO, NO > Hierarchy
Namespace for MueLu classes and methods.
MueLu::Utils< SC, LO, GO, NO > Utils
const Epetra_Map & OperatorRangeMap() const
Returns the Epetra_Map object associated with the range of this operator.
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator inverse applied to an Epetra_MultiVector X in Y...
const Epetra_Comm & Comm() const
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Turns a MueLu::Hierarchy into a Epetra_Operator. It allows MueLu to be used as a preconditioner for A...
const Epetra_Map & OperatorDomainMap() const
Returns the Epetra_Map object associated with the domain of this operator.
KokkosClassic::DefaultNode::DefaultNodeType NO
Xpetra::Matrix< SC, LO, GO, NO > Matrix
bool UseTranspose() const
Returns the current UseTranspose setting.
RCP< Hierarchy > GetHierarchy() const
Direct access to the underlying MueLu::Hierarchy.
RCP< Hierarchy > Hierarchy_
Provides methods to build a multigrid hierarchy and apply multigrid cycles.
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector X in Y.