Flip a mapping strategy object around to give the "inverse" mapping strategy. More...
#include <Teko_TpetraOperatorWrapper.hpp>
Public Member Functions | |
InverseMappingStrategy (const RCP< const MappingStrategy > &forward) | |
Constructor to build a inverse MappingStrategy from a forward map. More... | |
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 | |
const RCP< const MappingStrategy > | forwardStrategy_ |
Forward mapping strategy object. More... | |
Flip a mapping strategy object around to give the "inverse" mapping strategy.
Definition at line 105 of file Teko_TpetraOperatorWrapper.hpp.
|
inline |
Constructor to build a inverse MappingStrategy from a forward map.
Definition at line 110 of file Teko_TpetraOperatorWrapper.hpp.
|
inlinevirtual |
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.
[in] | epetraX | Vector to be copied into the Thyra object |
[in,out] | thyraX | Destination Thyra object |
Implements Teko::TpetraHelpers::MappingStrategy.
Definition at line 116 of file Teko_TpetraOperatorWrapper.hpp.
|
inlinevirtual |
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.
[in] | thyraX | Source Thyra object |
[in,out] | epetraX | Destination Epetra object |
Implements Teko::TpetraHelpers::MappingStrategy.
Definition at line 121 of file Teko_TpetraOperatorWrapper.hpp.
|
inlinevirtual |
Domain map for this strategy.
Implements Teko::TpetraHelpers::MappingStrategy.
Definition at line 127 of file Teko_TpetraOperatorWrapper.hpp.
|
inlinevirtual |
Range map for this strategy.
Implements Teko::TpetraHelpers::MappingStrategy.
Definition at line 131 of file Teko_TpetraOperatorWrapper.hpp.
|
inlinevirtual |
Identifier string.
Implements Teko::TpetraHelpers::MappingStrategy.
Definition at line 135 of file Teko_TpetraOperatorWrapper.hpp.
|
protected |
Forward mapping strategy object.
Definition at line 139 of file Teko_TpetraOperatorWrapper.hpp.