|
MueLu Version of the Day
|
Wraps an existing MueLu::Hierarchy as a Tpetra::Operator, with an optional two-level correction. Intended to be used with MueLu::ShiftedLaplacian. More...
#include <MueLu_ShiftedLaplacianOperator_decl.hpp>
Private Types | |
| typedef Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > | Matrix |
| typedef Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > | CrsMatrix |
| typedef Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | MV |
| typedef Tpetra::Operator< Scalar, LocalOrdinal, GlobalOrdinal, Node > | OP |
| typedef MueLu::Utilities< Scalar, LocalOrdinal, GlobalOrdinal, Node > | MUtils |
Constructor/Destructor | |
| RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Hierarchy_ |
| RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | R_ |
| RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | P_ |
| RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | A_ |
| RCP< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Ac_ |
| RCP< Teuchos::ParameterList > | BelosList_ |
| int | cycles_ |
| int | iters_ |
| int | option_ |
| double | tol_ |
| ShiftedLaplacianOperator (const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H) | |
| Constructor. | |
| ShiftedLaplacianOperator (const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H, const RCP< Matrix > A, int cycles, int iters, int option, double tol) | |
| Auxiliary Constructor. | |
| virtual | ~ShiftedLaplacianOperator () |
| Destructor. | |
| Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > | getDomainMap () const |
| Returns the Tpetra::Map object associated with the domain of this operator. | |
| Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > | getRangeMap () const |
| Returns the Tpetra::Map object associated with the range of this operator. | |
| void | apply (const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &X, Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &Y, Teuchos::ETransp mode=Teuchos::NO_TRANS, Scalar alpha=Teuchos::ScalarTraits< Scalar >::one(), Scalar beta=Teuchos::ScalarTraits< Scalar >::one()) const |
| Returns in Y the result of a Tpetra::Operator applied to a Tpetra::MultiVector X. | |
| bool | hasTransposeApply () const |
| Indicates whether this operator supports applying the adjoint operator. | |
Wraps an existing MueLu::Hierarchy as a Tpetra::Operator, with an optional two-level correction. Intended to be used with MueLu::ShiftedLaplacian.
Definition at line 32 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 34 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 35 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 36 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 37 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 38 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
inline |
Constructor.
Definition at line 45 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
inline |
Auxiliary Constructor.
Definition at line 50 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 83 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
| Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::ShiftedLaplacianOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getDomainMap | ( | ) | const |
Returns the Tpetra::Map object associated with the domain of this operator.
Definition at line 31 of file MueLu_ShiftedLaplacianOperator_def.hpp.
| Teuchos::RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::ShiftedLaplacianOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getRangeMap | ( | ) | const |
Returns the Tpetra::Map object associated with the range of this operator.
Definition at line 53 of file MueLu_ShiftedLaplacianOperator_def.hpp.
| void MueLu::ShiftedLaplacianOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::apply | ( | const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | X, |
| Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | Y, | ||
| Teuchos::ETransp | mode = Teuchos::NO_TRANS, |
||
| Scalar | alpha = Teuchos::ScalarTraits<Scalar>::one(), |
||
| Scalar | beta = Teuchos::ScalarTraits<Scalar>::one() |
||
| ) | const |
Returns in Y the result of a Tpetra::Operator applied to a Tpetra::MultiVector X.
| [in] | X | - Tpetra::MultiVector of dimension NumVectors to multiply with matrix. |
| [out] | Y | -Tpetra::MultiVector of dimension NumVectors containing result. |
Definition at line 73 of file MueLu_ShiftedLaplacianOperator_def.hpp.
| bool MueLu::ShiftedLaplacianOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node >::hasTransposeApply | ( | ) | const |
Indicates whether this operator supports applying the adjoint operator.
Definition at line 126 of file MueLu_ShiftedLaplacianOperator_def.hpp.
|
private |
Definition at line 109 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 110 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 110 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 110 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 111 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 112 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 120 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 120 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 120 of file MueLu_ShiftedLaplacianOperator_decl.hpp.
|
private |
Definition at line 121 of file MueLu_ShiftedLaplacianOperator_decl.hpp.