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

default mapping strategy for the basic EpetraOperatorWrapper More...

#include <Teko_EpetraOperatorWrapper.hpp>

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

Public Member Functions

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

RCP< const
Thyra::VectorSpaceBase< double > > 
domainSpace_
 Domain space object. More...
 
RCP< const
Thyra::VectorSpaceBase< double > > 
rangeSpace_
 Range space object. More...
 
RCP< const Epetra_Map > domainMap_
 Pointer to the constructed domain map. More...
 
RCP< const Epetra_Map > rangeMap_
 Pointer to the constructed range map. More...
 

Detailed Description

default mapping strategy for the basic EpetraOperatorWrapper

Definition at line 150 of file Teko_EpetraOperatorWrapper.hpp.

Member Function Documentation

void Teko::Epetra::DefaultMappingStrategy::copyEpetraIntoThyra ( const Epetra_MultiVector &  epetraX,
const Teuchos::Ptr< Thyra::MultiVectorBase< double > > &  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::Epetra::MappingStrategy.

Definition at line 85 of file Teko_EpetraOperatorWrapper.cpp.

void Teko::Epetra::DefaultMappingStrategy::copyThyraIntoEpetra ( const RCP< const Thyra::MultiVectorBase< double > > &  thyraX,
Epetra_MultiVector &  epetraX 
) 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::Epetra::MappingStrategy.

Definition at line 90 of file Teko_EpetraOperatorWrapper.cpp.

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

Domain map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 184 of file Teko_EpetraOperatorWrapper.hpp.

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

Range map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 187 of file Teko_EpetraOperatorWrapper.hpp.

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

Identifier string.

Implements Teko::Epetra::MappingStrategy.

Definition at line 190 of file Teko_EpetraOperatorWrapper.hpp.

Member Data Documentation

RCP<const Thyra::VectorSpaceBase<double> > Teko::Epetra::DefaultMappingStrategy::domainSpace_
protected

Domain space object.

Definition at line 193 of file Teko_EpetraOperatorWrapper.hpp.

RCP<const Thyra::VectorSpaceBase<double> > Teko::Epetra::DefaultMappingStrategy::rangeSpace_
protected

Range space object.

Definition at line 194 of file Teko_EpetraOperatorWrapper.hpp.

RCP<const Epetra_Map> Teko::Epetra::DefaultMappingStrategy::domainMap_
protected

Pointer to the constructed domain map.

Definition at line 196 of file Teko_EpetraOperatorWrapper.hpp.

RCP<const Epetra_Map> Teko::Epetra::DefaultMappingStrategy::rangeMap_
protected

Pointer to the constructed range map.

Definition at line 197 of file Teko_EpetraOperatorWrapper.hpp.


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