Implements the Epetra_Operator interface with a Thyra LinearOperator. This enables the use of absrtact Thyra operators in AztecOO as preconditioners and operators, without being rendered into concrete Epetra matrices. This is my own modified version that was originally in Thyra. More...
#include <Teko_TpetraOperatorWrapper.hpp>
Public Member Functions | |
const RCP< const Thyra::LinearOpBase< ST > > | getThyraOp () const |
Return the thyra operator associated with this wrapper. More... | |
const RCP< const MappingStrategy > | getMapStrategy () const |
Get the mapping strategy for this wrapper (translate between Thyra and Epetra) More... | |
virtual int | GetBlockRowCount () |
Get the number of block rows in this operator. More... | |
virtual int | GetBlockColCount () |
Get the number of block columns in this operator. More... | |
Teuchos::RCP< const Tpetra::Operator< ST, LO, GO, NT > > | GetBlock (int i, int j) const |
Grab the i,j block. More... | |
Implements the Epetra_Operator interface with a Thyra LinearOperator. This enables the use of absrtact Thyra operators in AztecOO as preconditioners and operators, without being rendered into concrete Epetra matrices. This is my own modified version that was originally in Thyra.
Definition at line 202 of file Teko_TpetraOperatorWrapper.hpp.
|
inline |
Return the thyra operator associated with this wrapper.
Definition at line 248 of file Teko_TpetraOperatorWrapper.hpp.
|
inline |
Get the mapping strategy for this wrapper (translate between Thyra and Epetra)
Definition at line 252 of file Teko_TpetraOperatorWrapper.hpp.
|
virtual |
Get the number of block rows in this operator.
Definition at line 268 of file Teko_TpetraOperatorWrapper.cpp.
|
virtual |
Get the number of block columns in this operator.
Definition at line 276 of file Teko_TpetraOperatorWrapper.cpp.
Teuchos::RCP< const Tpetra::Operator< ST, LO, GO, NT > > Teko::TpetraHelpers::TpetraOperatorWrapper::GetBlock | ( | int | i, |
int | j | ||
) | const |
Grab the i,j block.
Definition at line 284 of file Teko_TpetraOperatorWrapper.cpp.