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:

[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.

Private Attributes

const Epetra_MapNewRowMap_
Epetra_MapNewColMap_

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 44 of file EpetraExt_Reindex_CrsMatrix.h.


Constructor & Destructor Documentation

EpetraExt::CrsMatrix_Reindex::~CrsMatrix_Reindex  ) 
 

Destructor.

Definition at line 43 of file EpetraExt_Reindex_CrsMatrix.cpp.

EpetraExt::CrsMatrix_Reindex::CrsMatrix_Reindex const Epetra_Map new_row_map  )  [inline]
 

Constructor.

Definition at line 59 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 51 of file EpetraExt_Reindex_CrsMatrix.cpp.


Member Data Documentation

const Epetra_Map& EpetraExt::CrsMatrix_Reindex::NewRowMap_ [private]
 

Definition at line 46 of file EpetraExt_Reindex_CrsMatrix.h.

Epetra_Map* EpetraExt::CrsMatrix_Reindex::NewColMap_ [private]
 

Definition at line 47 of file EpetraExt_Reindex_CrsMatrix.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:06 2008 for EpetraExt Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1