EpetraExt Development
Public Member Functions
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]

List of all members.

Public Member Functions

 ~CrsMatrix_Reindex ()
 Destructor.
 CrsMatrix_Reindex (const Epetra_Map &new_row_map)
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Constructs "reindexed" Matrix.

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

EpetraExt::CrsMatrix_Reindex::~CrsMatrix_Reindex ( )

Destructor.

Definition at line 56 of file EpetraExt_Reindex_CrsMatrix.cpp.

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

CrsMatrix_Reindex::NewTypeRef EpetraExt::CrsMatrix_Reindex::operator() ( OriginalTypeRef  orig) [virtual]

Constructs "reindexed" Matrix.

Implements EpetraExt::Transform< T, U >.

Definition at line 64 of file EpetraExt_Reindex_CrsMatrix.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines