|
EpetraExt Development
|
Given and input Epetra_LinearProblem, a "reindexed" version will be returned using the given NewRowMap. More...
#include <EpetraExt_Reindex_LinearProblem2.h>

Public Member Functions | |
| ~LinearProblem_Reindex2 () | |
| Destructor. | |
| LinearProblem_Reindex2 (Epetra_Map *NewRowMap) | |
| Constructor. | |
| NewTypeRef | operator() (OriginalTypeRef orig) |
| Constructs a new view the original LP, "reindexed" using the given NewRowMap. | |
| bool | fwd () |
Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. | |
Public Member Functions inherited from EpetraExt::ViewTransform< Epetra_LinearProblem > | |
| bool | fwd () |
Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. | |
| bool | rvs () |
Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. | |
| virtual | ~ViewTransform () |
Public Member Functions inherited from EpetraExt::SameTypeTransform< T > | |
| virtual | ~SameTypeTransform () |
Public Member Functions inherited from EpetraExt::Transform< T, T > | |
| virtual | ~Transform () |
| virtual bool | analyze (OriginalTypeRef orig) |
| Initial analysis phase of transform. | |
| virtual NewTypeRef | construct () |
| Construction of new object as a result of the transform. | |
| virtual bool | isConstructed () |
| Check for whether transformed object has been constructed. | |
| virtual NewTypeRef | operator() (OriginalTypeRef orig)=0 |
| Analysis of transform operation on original object and construction of new object. | |
Additional Inherited Members | |
Public Types inherited from EpetraExt::SameTypeTransform< T > | |
| typedef T | TransformType |
| typedef T * | TransformTypePtr |
| typedef T & | TransformTypeRef |
Public Types inherited from EpetraExt::Transform< T, T > | |
| typedef T | OriginalType |
| typedef T * | OriginalTypePtr |
| typedef Teuchos::RCP< T > | OriginalTypeRCP |
| typedef T & | OriginalTypeRef |
| typedef T | NewType |
| typedef T * | NewTypePtr |
| typedef Teuchos::RCP< T > | NewTypeRCP |
| typedef T & | NewTypeRef |
Protected Member Functions inherited from EpetraExt::Transform< T, T > | |
| Transform () | |
| Default constructor, protected to allow only derived classes to use. | |
Protected Attributes inherited from EpetraExt::Transform< T, T > | |
| OriginalTypePtr | origObj_ |
| NewTypePtr | newObj_ |
Given and input Epetra_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 E_LP is a "reindexed" view of the original.
Definition at line 67 of file EpetraExt_Reindex_LinearProblem2.h.
| EpetraExt::LinearProblem_Reindex2::~LinearProblem_Reindex2 | ( | ) |
Destructor.
Definition at line 54 of file EpetraExt_Reindex_LinearProblem2.cpp.
|
inline |
Constructor.
Definition at line 87 of file EpetraExt_Reindex_LinearProblem2.h.
| LinearProblem_Reindex2::NewTypeRef EpetraExt::LinearProblem_Reindex2::operator() | ( | OriginalTypeRef | orig | ) |
Constructs a new view the original LP, "reindexed" using the given NewRowMap.
Definition at line 67 of file EpetraExt_Reindex_LinearProblem2.cpp.
|
virtual |
Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.
Returns true is operation is successful.
Preconditions:
Invariants:
Postconditions:
Implements EpetraExt::Transform< T, T >.
Definition at line 114 of file EpetraExt_Reindex_LinearProblem2.cpp.