MueLu
Version of the Day
|
Implementation of the Belos::XpetraOp. It derives from the Belos::OperatorT templated on the Xpetra::MultiVector and the Tpetra::MultiVector (if Teptra is enabled) Note, in contrast to Belos::MueLuOp this operator administrates an Xpetra::Matrix<> object and implements the effect of a vector applied to the stored matrix. More...
#include <BelosXpetraAdapterOperator.hpp>
Constructor/Destructor | |
XpetraOp (const RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &Op) | |
Default constructor. More... | |
virtual | ~XpetraOp () |
Destructor. More... | |
Operator application method | |
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Op_ |
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... | |
RCP< const Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getOperator () const |
Additional Inherited Members | |
![]() | |
OperatorT () | |
Default constructor. More... | |
virtual | ~OperatorT () |
Destructor. More... | |
Implementation of the Belos::XpetraOp. It derives from the Belos::OperatorT templated on the Xpetra::MultiVector and the Tpetra::MultiVector (if Teptra is enabled) Note, in contrast to Belos::MueLuOp this operator administrates an Xpetra::Matrix<> object and implements the effect of a vector applied to the stored matrix.
Implementation of the Belos::XpetraOp. It derives from the Belos::OperatorT templated on the Xpetra::MultiVector and/or the Tpetra::MultiVector (if Teptra is enabled) and/or the EpetraMultiVector (if Epetra64 is enabled). Please be aware that Epetra64 is not supported by MueLu. Don't expect it to work or produce reasonable results.
Implementation of the Belos::XpetraOp. It derives from the Belos::OperatorT templated on the Xpetra::MultiVector and/or the Tpetra::MultiVector (if Teptra is enabled) and/or the EpetraMultiVector (if Epetra is enabled)
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.
This is the specialization for <double,int,int,Xpetra::EpetraNode>
This is the specialization for <double,int,long long,Xpetra::EpetraNode>
Definition at line 96 of file BelosXpetraAdapterOperator.hpp.
|
inline |
Default constructor.
Definition at line 109 of file BelosXpetraAdapterOperator.hpp.
|
inlinevirtual |
Destructor.
Definition at line 112 of file BelosXpetraAdapterOperator.hpp.
|
inlinevirtual |
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. Implements Belos::OperatorT< Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > >.
Definition at line 123 of file BelosXpetraAdapterOperator.hpp.
|
inline |
Definition at line 157 of file BelosXpetraAdapterOperator.hpp.
|
private |
Definition at line 161 of file BelosXpetraAdapterOperator.hpp.