EpetraExt
Development
|
EpetraExt::LinearProblem_GraphTrans: Adaptation of a Epetra_CrsGraph Transform to a Epetra_LinearProblem Transform. More...
#include <EpetraExt_LPTrans_From_GraphTrans.h>
Public Member Functions | |
~LinearProblem_GraphTrans () | |
EpetraExt::LinearProblem_GraphTrans Destructor. More... | |
LinearProblem_GraphTrans (StructuralSameTypeTransform< Epetra_CrsGraph > &graph_trans) | |
EpetraExt::LinearProblem_GraphTrans Constructor. More... | |
NewTypeRef | operator() (OriginalTypeRef orig) |
Constructs an Epetra_LinearProblem from the original using the same row transformation given by the Epetra_CrsGraph Transform. More... | |
bool | fwd () |
Forward migration of data from original to transformed object. More... | |
bool | rvs () |
Reverse migration of data from transformed to original object. More... | |
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem > | |
virtual | ~SameTypeTransform () |
Public Member Functions inherited from EpetraExt::Transform< T, U > | |
virtual | ~Transform () |
virtual bool | analyze (OriginalTypeRef orig) |
Initial analysis phase of transform. More... | |
virtual NewTypeRef | construct () |
Construction of new object as a result of the transform. More... | |
virtual bool | isConstructed () |
Check for whether transformed object has been constructed. More... | |
Additional Inherited Members | |
Public Types inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem > | |
typedef Epetra_LinearProblem | TransformType |
typedef Epetra_LinearProblem * | TransformTypePtr |
typedef Epetra_LinearProblem & | TransformTypeRef |
Public Types inherited from EpetraExt::Transform< T, U > | |
typedef T | OriginalType |
typedef T * | OriginalTypePtr |
typedef Teuchos::RCP< T > | OriginalTypeRCP |
typedef T & | OriginalTypeRef |
typedef U | NewType |
typedef U * | NewTypePtr |
typedef Teuchos::RCP< U > | NewTypeRCP |
typedef U & | NewTypeRef |
Protected Member Functions inherited from EpetraExt::Transform< T, U > | |
Transform () | |
Default constructor, protected to allow only derived classes to use. More... | |
Protected Attributes inherited from EpetraExt::Transform< T, U > | |
OriginalTypePtr | origObj_ |
NewTypePtr | newObj_ |
EpetraExt::LinearProblem_GraphTrans: Adaptation of a Epetra_CrsGraph Transform to a Epetra_LinearProblem Transform.
Definition at line 58 of file EpetraExt_LPTrans_From_GraphTrans.h.
EpetraExt::LinearProblem_GraphTrans::~LinearProblem_GraphTrans | ( | ) |
EpetraExt::LinearProblem_GraphTrans Destructor.
Definition at line 58 of file EpetraExt_LPTrans_From_GraphTrans.cpp.
|
inline |
EpetraExt::LinearProblem_GraphTrans Constructor.
Constructs a LinearProblem Transform based on the input CrsGraph Transform
In | graph_trans - Base Epetra_CrsGraph Transform from which a consistent Epetra_LinearProblem Transform is generated |
Definition at line 88 of file EpetraExt_LPTrans_From_GraphTrans.h.
|
virtual |
Constructs an Epetra_LinearProblem from the original using the same row transformation given by the Epetra_CrsGraph Transform.
In | orig - Original Epetra_LinearProblem to be transformed. |
Implements EpetraExt::Transform< T, U >.
Definition at line 72 of file EpetraExt_LPTrans_From_GraphTrans.cpp.
|
virtual |
Forward migration of data from original to transformed object.
Implements EpetraExt::Transform< T, U >.
Definition at line 107 of file EpetraExt_LPTrans_From_GraphTrans.cpp.
|
virtual |
Reverse migration of data from transformed to original object.
Implements EpetraExt::Transform< T, U >.
Definition at line 118 of file EpetraExt_LPTrans_From_GraphTrans.cpp.