Teko  Version of the Day
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
Teko::TpetraHelpers::TpetraOperatorWrapper 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_TpetraOperatorWrapper.hpp>

Inheritance diagram for Teko::TpetraHelpers::TpetraOperatorWrapper:
Inheritance graph
[legend]

Public Member Functions

const RCP< const
Thyra::LinearOpBase< ST > > 
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
Tpetra::Operator< ST, LO, GO,
NT > > 
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 202 of file Teko_TpetraOperatorWrapper.hpp.

Member Function Documentation

const RCP<const Thyra::LinearOpBase<ST> > Teko::TpetraHelpers::TpetraOperatorWrapper::getThyraOp ( ) const
inline

Return the thyra operator associated with this wrapper.

Definition at line 248 of file Teko_TpetraOperatorWrapper.hpp.

const RCP<const MappingStrategy> Teko::TpetraHelpers::TpetraOperatorWrapper::getMapStrategy ( ) const
inline

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

Definition at line 252 of file Teko_TpetraOperatorWrapper.hpp.

int Teko::TpetraHelpers::TpetraOperatorWrapper::GetBlockRowCount ( )
virtual

Get the number of block rows in this operator.

Definition at line 268 of file Teko_TpetraOperatorWrapper.cpp.

int Teko::TpetraHelpers::TpetraOperatorWrapper::GetBlockColCount ( )
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.


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