MueLu
Version of the Day
|
MueLuOp derives from Belos::OperatorT and administrates a MueLu::Hierarchy. It implements the apply call which represents the effect of the multigrid preconditioner on a given vector. Note, in contrast to Belos::XpetraOp this operator has the multigrid hierarchy. More...
#include <BelosMueLuAdapter.hpp>
Private Attributes | |
RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Hierarchy_ |
RCP< MueLu::AMGXOperator < Scalar, LocalOrdinal, GlobalOrdinal, Node > > | AMGX_ |
Constructor/Destructor | |
MueLuOp (const RCP< MueLu::Hierarchy< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &H) | |
Default constructor. More... | |
MueLuOp (const RCP< MueLu::AMGXOperator< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &A) | |
virtual | ~MueLuOp () |
Destructor. More... | |
Operator application method | |
void | Apply (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &x, Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &y, ETrans trans=NOTRANS) const |
This routine takes the Xpetra::MultiVector x and applies the operator to it resulting in the Xpetra::MultiVector y , which is returned. More... | |
MueLuOp derives from Belos::OperatorT and administrates a MueLu::Hierarchy. It implements the apply call which represents the effect of the multigrid preconditioner on a given vector. Note, in contrast to Belos::XpetraOp this operator has the multigrid hierarchy.
The Belos::OperatorT class is a generalization of the Belos::Operator<> class, which deals with any kind of vector (not only Belos::MultiVec as the Belos::Operator<> interface does).
This is the general implementation for Tpetra only.
Definition at line 65 of file BelosMueLuAdapter.hpp.
|
inline |
Default constructor.
Definition at line 76 of file BelosMueLuAdapter.hpp.
|
inline |
Definition at line 79 of file BelosMueLuAdapter.hpp.
|
inlinevirtual |
Destructor.
Definition at line 83 of file BelosMueLuAdapter.hpp.
|
inline |
This routine takes the Xpetra::MultiVector x
and applies the operator to it resulting in the Xpetra::MultiVector y
, which is returned.
x
will be indicated by an std::exception being thrown. Definition at line 94 of file BelosMueLuAdapter.hpp.
|
private |
Definition at line 144 of file BelosMueLuAdapter.hpp.
|
private |
Definition at line 146 of file BelosMueLuAdapter.hpp.