EpetraExt Development
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EpetraExt::CrsMatrix_Reindex Class Reference

Given an Epetra_CrsMatrix, a "reindexed" version is returned based on the new row map. More...

#include <EpetraExt_Reindex_CrsMatrix.h>

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

Public Member Functions

 ~CrsMatrix_Reindex ()
 Destructor.
 
 CrsMatrix_Reindex (const Epetra_Map &new_row_map)
 Constructor.
 
NewTypeRef operator() (OriginalTypeRef orig)
 Constructs "reindexed" Matrix.
 
- Public Member Functions inherited from EpetraExt::ViewTransform< Epetra_CrsMatrix >
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.
 
virtual ~ViewTransform ()
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< T >
virtual ~SameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::Transform< T, T >
virtual ~Transform ()
 
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
 
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
 
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
 
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< T >
typedef T TransformType
 
typedef T * TransformTypePtr
 
typedef T & TransformTypeRef
 
- Public Types inherited from EpetraExt::Transform< T, T >
typedef T OriginalType
 
typedef T * OriginalTypePtr
 
typedef Teuchos::RCP< T > OriginalTypeRCP
 
typedef T & OriginalTypeRef
 
typedef T NewType
 
typedef T * NewTypePtr
 
typedef Teuchos::RCP< T > NewTypeRCP
 
typedef T & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< T, T >
 Transform ()
 Default constructor, protected to allow only derived classes to use.
 
- Protected Attributes inherited from EpetraExt::Transform< T, T >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

Given an Epetra_CrsMatrix, a "reindexed" version is returned based on the new row map.

The row map must be conformal to the original. The Matrix data will be shared by the new Matrix using the new indexing

Definition at line 57 of file EpetraExt_Reindex_CrsMatrix.h.

Constructor & Destructor Documentation

◆ ~CrsMatrix_Reindex()

EpetraExt::CrsMatrix_Reindex::~CrsMatrix_Reindex ( )

Destructor.

Definition at line 60 of file EpetraExt_Reindex_CrsMatrix.cpp.

◆ CrsMatrix_Reindex()

EpetraExt::CrsMatrix_Reindex::CrsMatrix_Reindex ( const Epetra_Map new_row_map)
inline

Constructor.

Definition at line 72 of file EpetraExt_Reindex_CrsMatrix.h.

Member Function Documentation

◆ operator()()

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

Constructs "reindexed" Matrix.

Definition at line 134 of file EpetraExt_Reindex_CrsMatrix.cpp.


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