EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
EpetraExt::LinearProblem_GraphTrans Class Reference

EpetraExt::LinearProblem_GraphTrans: Adaptation of a Epetra_CrsGraph Transform to a Epetra_LinearProblem Transform. More...

#include <EpetraExt_LPTrans_From_GraphTrans.h>

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

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

Private Attributes

StructuralSameTypeTransform
< Epetra_CrsGraph > & 
graphTrans_
 
Epetra_ImportImporter_
 
Epetra_ExportMatExporter_
 
Epetra_ExportVecExporter_
 
Epetra_LinearProblemOldProblem_
 
Epetra_CrsGraphOldGraph_
 
Epetra_CrsMatrixOldMatrix_
 
Epetra_MultiVectorOldLHS_
 
Epetra_MultiVectorOldRHS_
 
Epetra_MapOldRowMap_
 
Epetra_LinearProblemNewProblem_
 
Epetra_CrsMatrixNewMatrix_
 
Epetra_MultiVectorNewLHS_
 
Epetra_MultiVectorNewRHS_
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem >
typedef Epetra_LinearProblem TransformType
 
typedef Epetra_LinearProblemTransformTypePtr
 
typedef Epetra_LinearProblemTransformTypeRef
 
- 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_
 

Detailed Description

EpetraExt::LinearProblem_GraphTrans: Adaptation of a Epetra_CrsGraph Transform to a Epetra_LinearProblem Transform.

Definition at line 64 of file EpetraExt_LPTrans_From_GraphTrans.h.

Constructor & Destructor Documentation

EpetraExt::LinearProblem_GraphTrans::~LinearProblem_GraphTrans ( )
EpetraExt::LinearProblem_GraphTrans::LinearProblem_GraphTrans ( StructuralSameTypeTransform< Epetra_CrsGraph > &  graph_trans)
inline

EpetraExt::LinearProblem_GraphTrans Constructor.

Constructs a LinearProblem Transform based on the input CrsGraph Transform

Parameters
Ingraph_trans - Base Epetra_CrsGraph Transform from which a consistent Epetra_LinearProblem Transform is generated

Definition at line 94 of file EpetraExt_LPTrans_From_GraphTrans.h.

Member Function Documentation

LinearProblem_GraphTrans::NewTypeRef EpetraExt::LinearProblem_GraphTrans::operator() ( OriginalTypeRef  orig)
virtual

Constructs an Epetra_LinearProblem from the original using the same row transformation given by the Epetra_CrsGraph Transform.

Parameters
Inorig - Original Epetra_LinearProblem to be transformed.
Returns
Epetra_LinearProblem generated by transformation operation

Implements EpetraExt::Transform< T, U >.

Definition at line 72 of file EpetraExt_LPTrans_From_GraphTrans.cpp.

bool EpetraExt::LinearProblem_GraphTrans::fwd ( )
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.

bool EpetraExt::LinearProblem_GraphTrans::rvs ( )
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.

Member Data Documentation

StructuralSameTypeTransform<Epetra_CrsGraph>& EpetraExt::LinearProblem_GraphTrans::graphTrans_
private

Definition at line 66 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_Import* EpetraExt::LinearProblem_GraphTrans::Importer_
private

Definition at line 68 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_Export* EpetraExt::LinearProblem_GraphTrans::MatExporter_
private

Definition at line 69 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_Export* EpetraExt::LinearProblem_GraphTrans::VecExporter_
private

Definition at line 70 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_GraphTrans::OldProblem_
private

Definition at line 72 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_CrsGraph* EpetraExt::LinearProblem_GraphTrans::OldGraph_
private

Definition at line 73 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_CrsMatrix* EpetraExt::LinearProblem_GraphTrans::OldMatrix_
private

Definition at line 74 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_GraphTrans::OldLHS_
private

Definition at line 75 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_GraphTrans::OldRHS_
private

Definition at line 76 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_Map* EpetraExt::LinearProblem_GraphTrans::OldRowMap_
private

Definition at line 77 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_GraphTrans::NewProblem_
private

Definition at line 79 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_CrsMatrix* EpetraExt::LinearProblem_GraphTrans::NewMatrix_
private

Definition at line 80 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_GraphTrans::NewLHS_
private

Definition at line 81 of file EpetraExt_LPTrans_From_GraphTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_GraphTrans::NewRHS_
private

Definition at line 82 of file EpetraExt_LPTrans_From_GraphTrans.h.


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