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

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

#include <Teko_TpetraOperatorWrapper.hpp>

Inheritance diagram for Teko::TpetraHelpers::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 copyTpetraIntoThyra (const Tpetra::MultiVector< ST, LO, GO, NT > &tpetraX, const Teuchos::Ptr< Thyra::MultiVectorBase< ST > > &thyraX) const
 Copy an Epetra_MultiVector into a Thyra::MultiVectorBase. More...
 
virtual void copyThyraIntoTpetra (const RCP< const Thyra::MultiVectorBase< ST > > &thyraX, Tpetra::MultiVector< ST, LO, GO, NT > &tpetraX) const
 Copy an Thyra::MultiVectorBase into a Epetra_MultiVector. More...
 
virtual const RCP< const
Tpetra::Map< LO, GO, NT > > 
domainMap () const
 Domain map for this strategy. More...
 
virtual const RCP< const
Tpetra::Map< LO, GO, NT > > 
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_TpetraOperatorWrapper.hpp.

Constructor & Destructor Documentation

Teko::TpetraHelpers::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_TpetraOperatorWrapper.hpp.

Member Function Documentation

virtual void Teko::TpetraHelpers::InverseMappingStrategy::copyTpetraIntoThyra ( const Tpetra::MultiVector< ST, LO, GO, NT > &  tpetraX,
const Teuchos::Ptr< Thyra::MultiVectorBase< ST > > &  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::TpetraHelpers::MappingStrategy.

Definition at line 77 of file Teko_TpetraOperatorWrapper.hpp.

virtual void Teko::TpetraHelpers::InverseMappingStrategy::copyThyraIntoTpetra ( const RCP< const Thyra::MultiVectorBase< ST > > &  thyraX,
Tpetra::MultiVector< ST, LO, GO, NT > &  tpetraX 
) 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::TpetraHelpers::MappingStrategy.

Definition at line 84 of file Teko_TpetraOperatorWrapper.hpp.

virtual const RCP<const Tpetra::Map<LO, GO, NT> > Teko::TpetraHelpers::InverseMappingStrategy::domainMap ( ) const
inlinevirtual

Domain map for this strategy.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 92 of file Teko_TpetraOperatorWrapper.hpp.

virtual const RCP<const Tpetra::Map<LO, GO, NT> > Teko::TpetraHelpers::InverseMappingStrategy::rangeMap ( ) const
inlinevirtual

Range map for this strategy.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 97 of file Teko_TpetraOperatorWrapper.hpp.

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

Identifier string.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 102 of file Teko_TpetraOperatorWrapper.hpp.

Member Data Documentation

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

Forward mapping strategy object.

Definition at line 108 of file Teko_TpetraOperatorWrapper.hpp.


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