Teko Version of the Day
Loading...
Searching...
No Matches
Teko::TpetraHelpers::DefaultMappingStrategy Class Reference

default mapping strategy for the basic TpetraOperatorWrapper More...

#include <Teko_TpetraOperatorWrapper.hpp>

Inheritance diagram for Teko::TpetraHelpers::DefaultMappingStrategy:

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.
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.
virtual const RCP< const Tpetra::Map< LO, GO, NT > > domainMap () const
 Domain map for this strategy.
virtual const RCP< const Tpetra::Map< LO, GO, NT > > rangeMap () const
 Range map for this strategy.
virtual std::string toString () const
 Identifier string.

Protected Attributes

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

Detailed Description

default mapping strategy for the basic TpetraOperatorWrapper

Definition at line 116 of file Teko_TpetraOperatorWrapper.hpp.

Member Function Documentation

◆ copyTpetraIntoThyra()

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.

◆ copyThyraIntoTpetra()

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.

◆ domainMap()

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.

◆ rangeMap()

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.

◆ toString()

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

◆ domainSpace_

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

Domain space object.

Definition at line 158 of file Teko_TpetraOperatorWrapper.hpp.

◆ rangeSpace_

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

Range space object.

Definition at line 159 of file Teko_TpetraOperatorWrapper.hpp.

◆ domainMap_

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.

◆ rangeMap_

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: