EpetraExt Development
Public Member Functions
EpetraExt::LinearProblem_Reindex2 Class Reference

Given and input Epetra_LinearProblem, a "reindexed" version will be returned using the given NewRowMap. More...

#include <EpetraExt_Reindex_LinearProblem2.h>

Inheritance diagram for EpetraExt::LinearProblem_Reindex2:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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 61 of file EpetraExt_Reindex_LinearProblem2.h.


Constructor & Destructor Documentation

EpetraExt::LinearProblem_Reindex2::~LinearProblem_Reindex2 ( )

Destructor.

Definition at line 55 of file EpetraExt_Reindex_LinearProblem2.cpp.

EpetraExt::LinearProblem_Reindex2::LinearProblem_Reindex2 ( Epetra_Map NewRowMap) [inline]

Constructor.

Definition at line 81 of file EpetraExt_Reindex_LinearProblem2.h.


Member Function Documentation

LinearProblem_Reindex2::NewTypeRef EpetraExt::LinearProblem_Reindex2::operator() ( OriginalTypeRef  orig) [virtual]

Constructs a new view the original LP, "reindexed" using the given NewRowMap.

Implements EpetraExt::Transform< T, U >.

Definition at line 68 of file EpetraExt_Reindex_LinearProblem2.cpp.

bool EpetraExt::LinearProblem_Reindex2::fwd ( ) [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:

Reimplemented from EpetraExt::ViewTransform< Epetra_LinearProblem >.

Definition at line 115 of file EpetraExt_Reindex_LinearProblem2.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines