|
Tpetra parallel linear algebra Version of the Day
|
#include <Tpetra_Reindex_CrsMatrix_decl.hpp>
Inherits Tpetra::ViewTransform< T >.
Public Member Functions | |
| Reindex_CrsMatrix (Teuchos::RCP< Map< LocalOrdinal, GlobalOrdinal, Node > const > newRowMap) | |
| ~Reindex_CrsMatrix () | |
| NewType | operator() (OriginalType const &origMatrix) |
Pure Virtual Methods which must be implemented by subclasses | |
| virtual NewType | operator() (const OriginalType &orig)=0 |
| Analysis of transform operation on original object and construction of new object. | |
Virtual functions with default implements allowing for optional | |
implementation by the Transform developer | |
| virtual void | analyze (const OriginalType &orig) |
| Initial analysis phase of transform. | |
| virtual NewType | construct () |
| Construction of new object as a result of the transform. | |
| virtual bool | isConstructed () |
| Check if transformed object has been constructed. | |
Given a Tpetra 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 30 of file Tpetra_Reindex_CrsMatrix_decl.hpp.
| Tpetra::Reindex_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Reindex_CrsMatrix | ( | Teuchos::RCP< Map< LocalOrdinal, GlobalOrdinal, Node > const > | newRowMap | ) |
Constructor
Definition at line 35 of file Tpetra_Reindex_CrsMatrix_def.hpp.
| Tpetra::Reindex_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~Reindex_CrsMatrix | ( | ) |
Destructor
Definition at line 47 of file Tpetra_Reindex_CrsMatrix_def.hpp.
| Reindex_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::NewType Tpetra::Reindex_CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::operator() | ( | OriginalType const & | origMatrix | ) |
Constructs "reindexed" Matrix
Definition at line 56 of file Tpetra_Reindex_CrsMatrix_def.hpp.
|
pure virtualinherited |
Analysis of transform operation on original object and construction of new object.
|
virtualinherited |
Initial analysis phase of transform.
Initial analysis phase of transform to confirm the transform is possible allowing methods construct(), fwd() and rvs() to be successfully utilized.
The default implementation calls method operator() and stores the resulting object in an internal attribute newObj_.
Definition at line 83 of file Tpetra_Transform.hpp.
Construction of new object as a result of the transform.
The default implementation returns internal attribute newObj_.
Definition at line 88 of file Tpetra_Transform.hpp.
|
virtualinherited |
Check if transformed object has been constructed.
The default implementation returns true if newObj_ != 0.
Definition at line 94 of file Tpetra_Transform.hpp.