Teko  Version of the Day
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
Teko::Epetra::EpetraOperatorWrapper Class Reference

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>

Inheritance diagram for Teko::Epetra::EpetraOperatorWrapper:
Inheritance graph
[legend]

Public Member Functions

const RCP< const
Thyra::LinearOpBase< double > > 
getThyraOp () const
 Return the thyra operator associated with this wrapper. More...
 
const RCP< const MappingStrategygetMapStrategy () 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...
 

Detailed Description

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 206 of file Teko_EpetraOperatorWrapper.hpp.

Member Function Documentation

const RCP<const Thyra::LinearOpBase<double> > Teko::Epetra::EpetraOperatorWrapper::getThyraOp ( ) const
inline

Return the thyra operator associated with this wrapper.

Definition at line 251 of file Teko_EpetraOperatorWrapper.hpp.

const RCP<const MappingStrategy> Teko::Epetra::EpetraOperatorWrapper::getMapStrategy ( ) const
inline

Get the mapping strategy for this wrapper (translate between Thyra and Epetra)

Definition at line 254 of file Teko_EpetraOperatorWrapper.hpp.

int Teko::Epetra::EpetraOperatorWrapper::GetBlockRowCount ( )
virtual

Get the number of block rows in this operator.

Definition at line 264 of file Teko_EpetraOperatorWrapper.cpp.

int Teko::Epetra::EpetraOperatorWrapper::GetBlockColCount ( )
virtual

Get the number of block columns in this operator.

Definition at line 271 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 278 of file Teko_EpetraOperatorWrapper.cpp.


The documentation for this class was generated from the following files: