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

Abstract Mapping strategy for an EpetraOperatorWrapper. More...

#include <Teko_EpetraOperatorWrapper.hpp>

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

Public Member Functions

virtual void copyEpetraIntoThyra (const Epetra_MultiVector &epetraX, const Teuchos::Ptr< Thyra::MultiVectorBase< double > > &thyraX) const =0
 Copy an Epetra_MultiVector into a Thyra::MultiVectorBase. More...
 
virtual void copyThyraIntoEpetra (const RCP< const Thyra::MultiVectorBase< double > > &thyraX, Epetra_MultiVector &epetraX) const =0
 Copy an Thyra::MultiVectorBase into a Epetra_MultiVector. More...
 
virtual const RCP< const
Epetra_Map > 
domainMap () const =0
 Domain map for this strategy. More...
 
virtual const RCP< const
Epetra_Map > 
rangeMap () const =0
 Range map for this strategy. More...
 
virtual std::string toString () const =0
 Identifier string. More...
 

Detailed Description

Abstract Mapping strategy for an EpetraOperatorWrapper.

Definition at line 66 of file Teko_EpetraOperatorWrapper.hpp.

Member Function Documentation

virtual void Teko::Epetra::MappingStrategy::copyEpetraIntoThyra ( const Epetra_MultiVector &  epetraX,
const Teuchos::Ptr< Thyra::MultiVectorBase< double > > &  thyraX 
) const
pure virtual

Copy an Epetra_MultiVector into a Thyra::MultiVectorBase.

Copy an Epetra_MultiVector into a Thyra::MultiVectorBase. The exact method for copying is specified by the concrete implementations.

Parameters
[in]epetraXVector to be copied into the Thyra object
[in,out]thyraXDestination Thyra object

Implemented in Teko::Epetra::DefaultMappingStrategy, and Teko::Epetra::InverseMappingStrategy.

virtual void Teko::Epetra::MappingStrategy::copyThyraIntoEpetra ( const RCP< const Thyra::MultiVectorBase< double > > &  thyraX,
Epetra_MultiVector &  epetraX 
) const
pure virtual

Copy an Thyra::MultiVectorBase into a Epetra_MultiVector.

Copy an Thyra::MultiVectorBase into an Epetra_MultiVector. The exact method for copying is specified by the concrete implementations.

Parameters
[in]thyraXSource Thyra object
[in,out]epetraXDestination Epetra object

Implemented in Teko::Epetra::DefaultMappingStrategy, and Teko::Epetra::InverseMappingStrategy.

virtual const RCP<const Epetra_Map> Teko::Epetra::MappingStrategy::domainMap ( ) const
pure virtual

Domain map for this strategy.

Implemented in Teko::Epetra::DefaultMappingStrategy, and Teko::Epetra::InverseMappingStrategy.

virtual const RCP<const Epetra_Map> Teko::Epetra::MappingStrategy::rangeMap ( ) const
pure virtual

Range map for this strategy.

Implemented in Teko::Epetra::DefaultMappingStrategy, and Teko::Epetra::InverseMappingStrategy.

virtual std::string Teko::Epetra::MappingStrategy::toString ( ) const
pure virtual

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