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

default mapping strategy for the basic TpetraOperatorWrapper More...

#include <Teko_TpetraOperatorWrapper.hpp>

Inheritance diagram for Teko::TpetraHelpers::DefaultMappingStrategy:
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
 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

RCP< const
Thyra::VectorSpaceBase< ST > > 
domainSpace_
 Domain space object. More...
 
RCP< const
Thyra::VectorSpaceBase< ST > > 
rangeSpace_
 Range space object. More...
 
RCP< const Tpetra::Map< LO, GO,
NT > > 
domainMap_
 Pointer to the constructed domain map. More...
 
RCP< const Tpetra::Map< LO, GO,
NT > > 
rangeMap_
 Pointer to the constructed range map. More...
 

Detailed Description

default mapping strategy for the basic TpetraOperatorWrapper

Definition at line 116 of file Teko_TpetraOperatorWrapper.hpp.

Member Function Documentation

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

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 45 of file Teko_TpetraOperatorWrapper.cpp.

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

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 51 of file Teko_TpetraOperatorWrapper.cpp.

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

Domain map for this strategy.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 149 of file Teko_TpetraOperatorWrapper.hpp.

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

Range map for this strategy.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 152 of file Teko_TpetraOperatorWrapper.hpp.

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

Identifier string.

Implements Teko::TpetraHelpers::MappingStrategy.

Definition at line 155 of file Teko_TpetraOperatorWrapper.hpp.

Member Data Documentation

RCP<const Thyra::VectorSpaceBase<ST> > Teko::TpetraHelpers::DefaultMappingStrategy::domainSpace_
protected

Domain space object.

Definition at line 158 of file Teko_TpetraOperatorWrapper.hpp.

RCP<const Thyra::VectorSpaceBase<ST> > Teko::TpetraHelpers::DefaultMappingStrategy::rangeSpace_
protected

Range space object.

Definition at line 159 of file Teko_TpetraOperatorWrapper.hpp.

RCP<const Tpetra::Map<LO, GO, NT> > Teko::TpetraHelpers::DefaultMappingStrategy::domainMap_
protected

Pointer to the constructed domain map.

Definition at line 161 of file Teko_TpetraOperatorWrapper.hpp.

RCP<const Tpetra::Map<LO, GO, NT> > Teko::TpetraHelpers::DefaultMappingStrategy::rangeMap_
protected

Pointer to the constructed range map.

Definition at line 162 of file Teko_TpetraOperatorWrapper.hpp.


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