EpetraExt
Development
|
Given an Epetra_CrsMatrix, a "reindexed" version is returned based on the new row map. More...
#include <EpetraExt_Reindex_CrsMatrix.h>
Public Member Functions | |
~CrsMatrix_Reindex () | |
Destructor. More... | |
CrsMatrix_Reindex (const Epetra_Map &new_row_map) | |
Constructor. More... | |
NewTypeRef | operator() (OriginalTypeRef orig) |
Constructs "reindexed" Matrix. More... | |
![]() | |
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 () |
![]() | |
virtual | ~SameTypeTransform () |
![]() | |
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 | |
![]() | |
typedef Epetra_CrsMatrix | TransformType |
typedef Epetra_CrsMatrix * | TransformTypePtr |
typedef Epetra_CrsMatrix & | TransformTypeRef |
![]() | |
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 |
![]() | |
Transform () | |
Default constructor, protected to allow only derived classes to use. More... | |
![]() | |
OriginalTypePtr | origObj_ |
NewTypePtr | newObj_ |
Given an Epetra_CrsMatrix, a "reindexed" version is returned based on the new row map.
The row map must be conformal to the original. The Matrix data will be shared by the new Matrix using the new indexing
Definition at line 57 of file EpetraExt_Reindex_CrsMatrix.h.
EpetraExt::CrsMatrix_Reindex::~CrsMatrix_Reindex | ( | ) |
Destructor.
Definition at line 61 of file EpetraExt_Reindex_CrsMatrix.cpp.
|
inline |
Constructor.
Definition at line 72 of file EpetraExt_Reindex_CrsMatrix.h.
|
virtual |
Constructs "reindexed" Matrix.
Implements EpetraExt::Transform< T, U >.
Definition at line 135 of file EpetraExt_Reindex_CrsMatrix.cpp.