EpetraExt Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
EpetraExt::LinearProblem_Reindex Class Reference

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

#include <EpetraExt_Reindex_LinearProblem.h>

Inheritance diagram for EpetraExt::LinearProblem_Reindex:

Public Member Functions

 ~LinearProblem_Reindex ()
 Destructor.
 LinearProblem_Reindex (Epetra_Map *NewRowMap)
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Constructs a new view the original LP, "reindexed" using the given NewRowMap.
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< Epetra_LinearProblem >
virtual ~SameTypeTransform ()
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.

Private Attributes

CrsMatrix_ReindexMatTrans_
MultiVector_ReindexLHSTrans_
MultiVector_ReindexRHSTrans_
Epetra_MapNewRowMap_
bool NewRowMapOwned_

Additional Inherited Members

Public Types inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem >
typedef Epetra_LinearProblem TransformType
typedef Epetra_LinearProblemTransformTypePtr
typedef Epetra_LinearProblemTransformTypeRef
typedef Epetra_LinearProblem OriginalType
typedef Epetra_LinearProblemOriginalTypePtr
typedef Teuchos::RCP< Epetra_LinearProblemOriginalTypeRCP
typedef Epetra_LinearProblemOriginalTypeRef
typedef Epetra_LinearProblem NewType
typedef Epetra_LinearProblemNewTypePtr
typedef Teuchos::RCP< Epetra_LinearProblemNewTypeRCP
typedef Epetra_LinearProblemNewTypeRef
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

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_LinearProblem.h.

Constructor & Destructor Documentation

◆ ~LinearProblem_Reindex()

EpetraExt::LinearProblem_Reindex::~LinearProblem_Reindex ( )

Destructor.

Definition at line 54 of file EpetraExt_Reindex_LinearProblem.cpp.

◆ LinearProblem_Reindex()

EpetraExt::LinearProblem_Reindex::LinearProblem_Reindex ( Epetra_Map * NewRowMap)
inline

Constructor.

Definition at line 81 of file EpetraExt_Reindex_LinearProblem.h.

Member Function Documentation

◆ operator()()

LinearProblem_Reindex::NewTypeRef EpetraExt::LinearProblem_Reindex::operator() ( OriginalTypeRef orig)

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

Definition at line 67 of file EpetraExt_Reindex_LinearProblem.cpp.

Member Data Documentation

◆ MatTrans_

CrsMatrix_Reindex* EpetraExt::LinearProblem_Reindex::MatTrans_
private

Definition at line 63 of file EpetraExt_Reindex_LinearProblem.h.

◆ LHSTrans_

MultiVector_Reindex* EpetraExt::LinearProblem_Reindex::LHSTrans_
private

Definition at line 64 of file EpetraExt_Reindex_LinearProblem.h.

◆ RHSTrans_

MultiVector_Reindex* EpetraExt::LinearProblem_Reindex::RHSTrans_
private

Definition at line 65 of file EpetraExt_Reindex_LinearProblem.h.

◆ NewRowMap_

Epetra_Map* EpetraExt::LinearProblem_Reindex::NewRowMap_
private

Definition at line 67 of file EpetraExt_Reindex_LinearProblem.h.

◆ NewRowMapOwned_

bool EpetraExt::LinearProblem_Reindex::NewRowMapOwned_
private

Definition at line 69 of file EpetraExt_Reindex_LinearProblem.h.


The documentation for this class was generated from the following files: