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::CrsMatrix_BTF Class Reference

#include <EpetraExt_BTF_CrsMatrix.h>

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

Public Member Functions

 ~CrsMatrix_BTF ()
 
 CrsMatrix_BTF (double thres=0.0, bool verbose=false)
 
NewTypeRef operator() (OriginalTypeRef orig)
 Analysis of transform operation on original object and construction of new object. More...
 
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. More...
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. More...
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
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

Epetra_MapNewRowMap_
 
Epetra_MapNewColMap_
 
Epetra_CrsMatrixNewMatrix_
 
Epetra_CrsGraphNewGraph_
 
Epetra_ImportImporter_
 
const double threshold_
 
const bool verbose_
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
typedef Epetra_CrsMatrix TransformType
 
typedef Epetra_CrsMatrixTransformTypePtr
 
typedef Epetra_CrsMatrixTransformTypeRef
 
- 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

Definition at line 54 of file EpetraExt_BTF_CrsMatrix.h.

Constructor & Destructor Documentation

EpetraExt::CrsMatrix_BTF::~CrsMatrix_BTF ( )

Definition at line 69 of file EpetraExt_BTF_CrsMatrix.cpp.

EpetraExt::CrsMatrix_BTF::CrsMatrix_BTF ( double  thres = 0.0,
bool  verbose = false 
)
inline

Definition at line 60 of file EpetraExt_BTF_CrsMatrix.h.

Member Function Documentation

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

Analysis of transform operation on original object and construction of new object.

Preconditions:

Invariants:

Postconditions:

Returns
Returns a pointer to the newly created object of type NewTypeRef. The Transform object maintains ownership of this new object and deletes as a part of it's destruction.

Implements EpetraExt::Transform< T, U >.

Definition at line 82 of file EpetraExt_BTF_CrsMatrix.cpp.

bool EpetraExt::CrsMatrix_BTF::fwd ( )
virtual

Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.

Returns true is operation is successful.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 323 of file EpetraExt_BTF_CrsMatrix.cpp.

bool EpetraExt::CrsMatrix_BTF::rvs ( )
virtual

Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.

Returns true if operation is successful.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 332 of file EpetraExt_BTF_CrsMatrix.cpp.

Member Data Documentation

Epetra_Map* EpetraExt::CrsMatrix_BTF::NewRowMap_
private

Definition at line 78 of file EpetraExt_BTF_CrsMatrix.h.

Epetra_Map* EpetraExt::CrsMatrix_BTF::NewColMap_
private

Definition at line 79 of file EpetraExt_BTF_CrsMatrix.h.

Epetra_CrsMatrix* EpetraExt::CrsMatrix_BTF::NewMatrix_
private

Definition at line 81 of file EpetraExt_BTF_CrsMatrix.h.

Epetra_CrsGraph* EpetraExt::CrsMatrix_BTF::NewGraph_
private

Definition at line 82 of file EpetraExt_BTF_CrsMatrix.h.

Epetra_Import* EpetraExt::CrsMatrix_BTF::Importer_
private

Definition at line 84 of file EpetraExt_BTF_CrsMatrix.h.

const double EpetraExt::CrsMatrix_BTF::threshold_
private

Definition at line 86 of file EpetraExt_BTF_CrsMatrix.h.

const bool EpetraExt::CrsMatrix_BTF::verbose_
private

Definition at line 88 of file EpetraExt_BTF_CrsMatrix.h.


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