EpetraExt
Development
|
Given an input Epetra_MultiVector, a "reindexed" view is returned. More...
#include <EpetraExt_Reindex_MultiVector.h>
Public Member Functions | |
~MultiVector_Reindex () | |
Destructor. More... | |
MultiVector_Reindex (const Epetra_Map &new_row_map) | |
Constructor. More... | |
NewTypeRef | operator() (OriginalTypeRef orig) |
Constructs a "reindexed" view of the original using the given NewRowMap. More... | |
NewTypeRCP | transform (OriginalTypeRef orig) |
Public Member Functions inherited from EpetraExt::ViewTransform< Epetra_MultiVector > | |
bool | fwd () |
Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. More... | |
bool | rvs () |
Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. More... | |
virtual | ~ViewTransform () |
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_MultiVector > | |
virtual | ~SameTypeTransform () |
Public Member Functions inherited from EpetraExt::Transform< T, U > | |
virtual | ~Transform () |
virtual bool | analyze (OriginalTypeRef orig) |
Initial analysis phase of transform. More... | |
virtual NewTypeRef | construct () |
Construction of new object as a result of the transform. More... | |
virtual bool | isConstructed () |
Check for whether transformed object has been constructed. More... | |
Additional Inherited Members | |
Public Types inherited from EpetraExt::SameTypeTransform< Epetra_MultiVector > | |
typedef Epetra_MultiVector | TransformType |
typedef Epetra_MultiVector * | TransformTypePtr |
typedef Epetra_MultiVector & | TransformTypeRef |
Public Types inherited from EpetraExt::Transform< T, U > | |
typedef T | OriginalType |
typedef T * | OriginalTypePtr |
typedef Teuchos::RCP< T > | OriginalTypeRCP |
typedef T & | OriginalTypeRef |
typedef U | NewType |
typedef U * | NewTypePtr |
typedef Teuchos::RCP< U > | NewTypeRCP |
typedef U & | NewTypeRef |
Protected Member Functions inherited from EpetraExt::Transform< T, U > | |
Transform () | |
Default constructor, protected to allow only derived classes to use. More... | |
Protected Attributes inherited from EpetraExt::Transform< T, U > | |
OriginalTypePtr | origObj_ |
NewTypePtr | newObj_ |
Given an input Epetra_MultiVector, a "reindexed" view is returned.
Definition at line 55 of file EpetraExt_Reindex_MultiVector.h.
EpetraExt::MultiVector_Reindex::~MultiVector_Reindex | ( | ) |
Destructor.
Definition at line 52 of file EpetraExt_Reindex_MultiVector.cpp.
|
inline |
Constructor.
Definition at line 69 of file EpetraExt_Reindex_MultiVector.h.
|
virtual |
Constructs a "reindexed" view of the original using the given NewRowMap.
Implements EpetraExt::Transform< T, U >.
Definition at line 59 of file EpetraExt_Reindex_MultiVector.cpp.
MultiVector_Reindex::NewTypeRCP EpetraExt::MultiVector_Reindex::transform | ( | OriginalTypeRef | orig | ) |
Definition at line 79 of file EpetraExt_Reindex_MultiVector.cpp.