|
MueLu Version of the Day
|
Wraps an existing MueLu::Hierarchy as a Xpetra::Operator. More...
#include <MueLu_XpetraOperator_decl.hpp>
Protected Member Functions | |
| XpetraOperator () | |
MueLu specific | |
| RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Hierarchy_ |
| RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | GetHierarchy () const |
| Direct access to the underlying MueLu::Hierarchy. | |
Constructor/Destructor | |
| XpetraOperator (const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H) | |
| Constructor. | |
| virtual | ~XpetraOperator () |
| Destructor. | |
| Teuchos::RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > | getDomainMap () const |
| Returns the Tpetra::Map object associated with the domain of this operator. | |
| Teuchos::RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > | getRangeMap () const |
| Returns the Tpetra::Map object associated with the range of this operator. | |
| void | apply (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &X, Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, Scalar=Teuchos::ScalarTraits< Scalar >::one(), Scalar=Teuchos::ScalarTraits< Scalar >::one()) const |
| Returns in Y the result of a Xpetra::Operator applied to a Xpetra::MultiVector X. | |
| bool | hasTransposeApply () const |
| Indicates whether this operator supports applying the adjoint operator. | |
| void | residual (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &X, const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &R) const |
| Compute a residual R = B - (*this) * X. | |
Wraps an existing MueLu::Hierarchy as a Xpetra::Operator.
Definition at line 64 of file MueLu_XpetraOperator_decl.hpp.
|
inlineprotected |
Definition at line 66 of file MueLu_XpetraOperator_decl.hpp.
|
inline |
Constructor.
Definition at line 73 of file MueLu_XpetraOperator_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 76 of file MueLu_XpetraOperator_decl.hpp.
| Teuchos::RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::XpetraOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getDomainMap |
Returns the Tpetra::Map object associated with the domain of this operator.
Definition at line 57 of file MueLu_XpetraOperator_def.hpp.
| Teuchos::RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::XpetraOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getRangeMap |
Returns the Tpetra::Map object associated with the range of this operator.
Definition at line 67 of file MueLu_XpetraOperator_def.hpp.
| void MueLu::XpetraOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::apply | ( | const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | X, |
| Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | Y, | ||
| Teuchos::ETransp | mode = Teuchos::NO_TRANS, |
||
| Scalar | = Teuchos::ScalarTraits<Scalar>::one(), |
||
| Scalar | = Teuchos::ScalarTraits<Scalar>::one() |
||
| ) | const |
Returns in Y the result of a Xpetra::Operator applied to a Xpetra::MultiVector X.
| [in] | X | - Xpetra::MultiVector of dimension NumVectors to multiply with matrix. |
| [out] | Y | - Xpetra::MultiVector of dimension NumVectors containing result. |
Definition at line 77 of file MueLu_XpetraOperator_def.hpp.
|
inline |
Indicates whether this operator supports applying the adjoint operator.
Definition at line 98 of file MueLu_XpetraOperator_decl.hpp.
| void MueLu::XpetraOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::residual | ( | const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | X, |
| const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | B, | ||
| Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | R | ||
| ) | const |
Compute a residual R = B - (*this) * X.
Definition at line 109 of file MueLu_XpetraOperator_def.hpp.
|
inline |
Direct access to the underlying MueLu::Hierarchy.
Definition at line 109 of file MueLu_XpetraOperator_decl.hpp.
|
private |
Definition at line 114 of file MueLu_XpetraOperator_decl.hpp.