EpetraExt  Development
Public Member Functions | 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< Epetra_LinearProblem, Epetra_LinearProblem >
virtual ~Transform ()
 
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object. More...
 
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< Epetra_LinearProblem, Epetra_LinearProblem >
typedef Epetra_LinearProblem OriginalType
 
typedef Epetra_LinearProblem * OriginalTypePtr
 
typedef Teuchos::RCP< Epetra_LinearProblem > OriginalTypeRCP
 
typedef Epetra_LinearProblem & OriginalTypeRef
 
typedef Epetra_LinearProblem NewType
 
typedef Epetra_LinearProblem * NewTypePtr
 
typedef Teuchos::RCP< Epetra_LinearProblem > NewTypeRCP
 
typedef Epetra_LinearProblem & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< Epetra_LinearProblem, Epetra_LinearProblem >
 Transform ()
 Default constructor, protected to allow only derived classes to use. More...
 
- Protected Attributes inherited from EpetraExt::Transform< Epetra_LinearProblem, Epetra_LinearProblem >
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

◆ ~LinearProblem_MatrixTrans()

EpetraExt::LinearProblem_MatrixTrans::~LinearProblem_MatrixTrans ( )

Destructor.

Definition at line 58 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

◆ LinearProblem_MatrixTrans()

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

◆ operator()()

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

Transform Operator.

Constructs a Epetra_LinearProblem

Definition at line 70 of file EpetraExt_LPTrans_From_MatrixTrans.cpp.

◆ fwd()

bool EpetraExt::LinearProblem_MatrixTrans::fwd ( )
virtual

◆ rvs()

bool EpetraExt::LinearProblem_MatrixTrans::rvs ( )
virtual

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