EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | 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...
 

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


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