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_MatrixTrans Class Reference

Adaptation of an Epetra_CrsMatrix Transform to a Epetra_LinearProblem Transform. More...

#include <EpetraExt_LPTrans_From_MatrixTrans.h>

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

Public Member Functions

 ~LinearProblem_MatrixTrans ()
 Destructor. More...
 
 LinearProblem_MatrixTrans (SameTypeTransform< Epetra_CrsMatrix > &matrix_trans)
 Constructor. More...
 
NewTypeRef operator() (OriginalTypeRef orig)
 Transform Operator. More...
 
bool fwd ()
 Forward Data Migration. More...
 
bool rvs ()
 Reverse Data Migration. 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

SameTypeTransform
< Epetra_CrsMatrix > & 
matrixTrans_
 
Epetra_ImportImporter_
 
Epetra_ExportExporter_
 
Epetra_LinearProblemOldProblem_
 
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

Adaptation of an Epetra_CrsMatrix Transform to a Epetra_LinearProblem Transform.

Definition at line 58 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Constructor & Destructor Documentation

EpetraExt::LinearProblem_MatrixTrans::~LinearProblem_MatrixTrans ( )

Destructor.

Definition at line 58 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

EpetraExt::LinearProblem_MatrixTrans::LinearProblem_MatrixTrans ( SameTypeTransform< Epetra_CrsMatrix > &  matrix_trans)
inline

Constructor.

Definition at line 82 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Member Function Documentation

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

Transform Operator.

Constructs a Epetra_LinearProblem

Implements EpetraExt::Transform< T, U >.

Definition at line 70 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

bool EpetraExt::LinearProblem_MatrixTrans::fwd ( )
virtual

Forward Data Migration.

Implements EpetraExt::Transform< T, U >.

Definition at line 102 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

bool EpetraExt::LinearProblem_MatrixTrans::rvs ( )
virtual

Reverse Data Migration.

Implements EpetraExt::Transform< T, U >.

Definition at line 113 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

Member Data Documentation

SameTypeTransform<Epetra_CrsMatrix>& EpetraExt::LinearProblem_MatrixTrans::matrixTrans_
private

Definition at line 60 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_Import* EpetraExt::LinearProblem_MatrixTrans::Importer_
private

Definition at line 62 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_Export* EpetraExt::LinearProblem_MatrixTrans::Exporter_
private

Definition at line 63 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_MatrixTrans::OldProblem_
private

Definition at line 65 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_CrsMatrix* EpetraExt::LinearProblem_MatrixTrans::OldMatrix_
private

Definition at line 66 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_MatrixTrans::OldLHS_
private

Definition at line 67 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_MatrixTrans::OldRHS_
private

Definition at line 68 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_Map* EpetraExt::LinearProblem_MatrixTrans::OldRowMap_
private

Definition at line 69 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_MatrixTrans::NewProblem_
private

Definition at line 71 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_CrsMatrix* EpetraExt::LinearProblem_MatrixTrans::NewMatrix_
private

Definition at line 72 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_MatrixTrans::NewLHS_
private

Definition at line 73 of file EpetraExt_LPTrans_From_MatrixTrans.h.

Epetra_MultiVector* EpetraExt::LinearProblem_MatrixTrans::NewRHS_
private

Definition at line 74 of file EpetraExt_LPTrans_From_MatrixTrans.h.


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