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

Abstract Mapping strategy for an TpetraOperatorWrapper. More...

#include <Teko_TpetraOperatorWrapper.hpp>

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

Public Member Functions

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

Definition at line 66 of file Teko_TpetraOperatorWrapper.hpp.

Member Function Documentation

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

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

virtual const RCP<const Tpetra::Map<LO,GO,NT> > Teko::TpetraHelpers::MappingStrategy::domainMap ( ) const
pure virtual
virtual const RCP<const Tpetra::Map<LO,GO,NT> > Teko::TpetraHelpers::MappingStrategy::rangeMap ( ) const
pure virtual
virtual std::string Teko::TpetraHelpers::MappingStrategy::toString ( ) const
pure virtual

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