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_EpetraOperatorWrapper.hpp>
Public Member Functions | |
const RCP< const Thyra::LinearOpBase< double > > | 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 Epetra_Operator > | 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 169 of file Teko_EpetraOperatorWrapper.hpp.
|
inline |
Return the thyra operator associated with this wrapper.
Definition at line 214 of file Teko_EpetraOperatorWrapper.hpp.
|
inline |
Get the mapping strategy for this wrapper (translate between Thyra and Epetra)
Definition at line 217 of file Teko_EpetraOperatorWrapper.hpp.
|
virtual |
Get the number of block rows in this operator.
Definition at line 230 of file Teko_EpetraOperatorWrapper.cpp.
|
virtual |
Get the number of block columns in this operator.
Definition at line 237 of file Teko_EpetraOperatorWrapper.cpp.
Teuchos::RCP< const Epetra_Operator > Teko::Epetra::EpetraOperatorWrapper::GetBlock | ( | int | i, |
int | j | ||
) | const |
Grab the i,j block.
Definition at line 244 of file Teko_EpetraOperatorWrapper.cpp.