Teko Version of the Day
Public Member Functions | Protected Attributes
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]

List of all members.

Public Member Functions

 DefaultMappingStrategy (const RCP< const Thyra::LinearOpBase< double > > &thyraOp, const Epetra_Comm &comm)
virtual void copyEpetraIntoThyra (const Epetra_MultiVector &epetraX, const Teuchos::Ptr< Thyra::MultiVectorBase< double > > &thyraX) const
 Copy an Epetra_MultiVector into a Thyra::MultiVectorBase.
virtual void copyThyraIntoEpetra (const RCP< const Thyra::MultiVectorBase< double > > &thyraX, Epetra_MultiVector &epetraX) const
 Copy an Thyra::MultiVectorBase into a Epetra_MultiVector.
virtual const RCP< const
Epetra_Map > 
domainMap () const
 Domain map for this strategy.
virtual const RCP< const
Epetra_Map > 
rangeMap () const
 Range map for this strategy.
virtual std::string toString () const
 Identifier string.

Protected Attributes

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

Detailed Description

default mapping strategy for the basic EpetraOperatorWrapper

Definition at line 147 of file Teko_EpetraOperatorWrapper.hpp.


Constructor & Destructor Documentation

Teko::Epetra::DefaultMappingStrategy::DefaultMappingStrategy ( const RCP< const Thyra::LinearOpBase< double > > &  thyraOp,
const Epetra_Comm &  comm 
)

Definition at line 76 of file Teko_EpetraOperatorWrapper.cpp.


Member Function Documentation

virtual 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.

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 93 of file Teko_EpetraOperatorWrapper.cpp.

virtual const RCP<const Epetra_Map> Teko::Epetra::DefaultMappingStrategy::domainMap ( ) const [inline, virtual]

Domain map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 179 of file Teko_EpetraOperatorWrapper.hpp.

virtual const RCP<const Epetra_Map> Teko::Epetra::DefaultMappingStrategy::rangeMap ( ) const [inline, virtual]

Range map for this strategy.

Implements Teko::Epetra::MappingStrategy.

Definition at line 182 of file Teko_EpetraOperatorWrapper.hpp.

virtual std::string Teko::Epetra::DefaultMappingStrategy::toString ( ) const [inline, virtual]

Identifier string.

Implements Teko::Epetra::MappingStrategy.

Definition at line 185 of file Teko_EpetraOperatorWrapper.hpp.


Member Data Documentation

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

Domain space object.

Definition at line 189 of file Teko_EpetraOperatorWrapper.hpp.

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

Range space object.

Definition at line 190 of file Teko_EpetraOperatorWrapper.hpp.

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

Pointer to the constructed domain map.

Definition at line 192 of file Teko_EpetraOperatorWrapper.hpp.

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

Pointer to the constructed range map.

Definition at line 193 of file Teko_EpetraOperatorWrapper.hpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables