Teko Version of the Day
Public Member Functions
Teko::Epetra::MappingStrategy Class Reference

Abstract Mapping strategy for an EpetraOperatorWrapper. More...

#include <Teko_EpetraOperatorWrapper.hpp>

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

List of all members.

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.
virtual void copyThyraIntoEpetra (const RCP< const Thyra::MultiVectorBase< double > > &thyraX, Epetra_MultiVector &epetraX) const =0
 Copy an Thyra::MultiVectorBase into a Epetra_MultiVector.
virtual const RCP< const
Epetra_Map > 
domainMap () const =0
 Domain map for this strategy.
virtual const RCP< const
Epetra_Map > 
rangeMap () const =0
 Range map for this strategy.
virtual std::string toString () const =0
 Identifier string.

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::InverseMappingStrategy, and Teko::Epetra::DefaultMappingStrategy.

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::InverseMappingStrategy, and Teko::Epetra::DefaultMappingStrategy.

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

Domain map for this strategy.

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

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

Range map for this strategy.

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

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

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables