|
Tpetra parallel linear algebra Version of the Day
|
#include <Tpetra_Reindex_LinearProblem_decl.hpp>
Inherits Tpetra::ViewTransform< T >.
Public Member Functions | |
| Reindex_LinearProblem (Teuchos::RCP< Map< LocalOrdinal, GlobalOrdinal, Node > const > newRowMap) | |
| ~Reindex_LinearProblem () | |
| NewType | operator() (OriginalType const &origProblem) |
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 and input Tpetra LinearProblem, a "reindexed" version will be returned using the given NewRowMap. If a null map is given, a lexigraphically indexed LP will be returned. The data in the new T_LP is a "reindexed" view of the original.
Definition at line 33 of file Tpetra_Reindex_LinearProblem_decl.hpp.
| Tpetra::Reindex_LinearProblem< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Reindex_LinearProblem | ( | Teuchos::RCP< Map< LocalOrdinal, GlobalOrdinal, Node > const > | newRowMap | ) |
Constructor
Definition at line 31 of file Tpetra_Reindex_LinearProblem_def.hpp.
| Tpetra::Reindex_LinearProblem< Scalar, LocalOrdinal, GlobalOrdinal, Node >::~Reindex_LinearProblem | ( | ) |
Destructor
Definition at line 45 of file Tpetra_Reindex_LinearProblem_def.hpp.
| Reindex_LinearProblem< Scalar, LocalOrdinal, GlobalOrdinal, Node >::NewType Tpetra::Reindex_LinearProblem< Scalar, LocalOrdinal, GlobalOrdinal, Node >::operator() | ( | OriginalType const & | origProblem | ) |
Constructs a new view the original LP, "reindexed" using the given NewRowMap.
Definition at line 54 of file Tpetra_Reindex_LinearProblem_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.