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

Flip a mapping strategy object around to give the "inverse" mapping strategy. More...

#include <Teko_EpetraOperatorWrapper.hpp>

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

Public Member Functions

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

Protected Attributes

const RCP< const MappingStrategyforwardStrategy_
 Forward mapping strategy object. More...
 

Detailed Description

Flip a mapping strategy object around to give the "inverse" mapping strategy.

Definition at line 68 of file Teko_EpetraOperatorWrapper.hpp.

Constructor & Destructor Documentation

Teko::Epetra::InverseMappingStrategy::InverseMappingStrategy ( const RCP< const MappingStrategy > &  forward)
inline

Constructor to build a inverse MappingStrategy from a forward map.

Definition at line 73 of file Teko_EpetraOperatorWrapper.hpp.

Member Function Documentation

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

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

Implements Teko::Epetra::MappingStrategy.

Definition at line 77 of file Teko_EpetraOperatorWrapper.hpp.

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

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

Implements Teko::Epetra::MappingStrategy.

Definition at line 85 of file Teko_EpetraOperatorWrapper.hpp.

virtual const RCP<const Epetra_Map> Teko::Epetra::InverseMappingStrategy::domainMap ( ) const
inlinevirtual

Domain map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 93 of file Teko_EpetraOperatorWrapper.hpp.

virtual const RCP<const Epetra_Map> Teko::Epetra::InverseMappingStrategy::rangeMap ( ) const
inlinevirtual

Range map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 96 of file Teko_EpetraOperatorWrapper.hpp.

virtual std::string Teko::Epetra::InverseMappingStrategy::toString ( ) const
inlinevirtual

Identifier string.

Implements Teko::Epetra::MappingStrategy.

Definition at line 99 of file Teko_EpetraOperatorWrapper.hpp.

Member Data Documentation

const RCP<const MappingStrategy> Teko::Epetra::InverseMappingStrategy::forwardStrategy_
protected

Forward mapping strategy object.

Definition at line 105 of file Teko_EpetraOperatorWrapper.hpp.


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