EpetraExt::CrsMatrix_SubCopy Class Reference

Generates a sub-block view of a Epetra_CrsMatrix. More...

#include <EpetraExt_SubCopy_CrsMatrix.h>

Inheritance diagram for EpetraExt::CrsMatrix_SubCopy:

[legend]
List of all members.

Public Member Functions

 ~CrsMatrix_SubCopy ()
 Destructor.
 CrsMatrix_SubCopy (const Epetra_Map &newMap)
 Constructor.
 CrsMatrix_SubCopy (const Epetra_Map &newRangeAndRowMap, const Epetra_Map &newDomainMap)
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Transformation Operator.
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.

Private Attributes

Epetra_Map newRowMap_
Epetra_Map newColMap_
Epetra_Map newDomainMap_
Epetra_Map newRangeMap_
Epetra_Importimporter_

Detailed Description

Generates a sub-block view of a Epetra_CrsMatrix.

Definition at line 41 of file EpetraExt_SubCopy_CrsMatrix.h.


Constructor & Destructor Documentation

EpetraExt::CrsMatrix_SubCopy::~CrsMatrix_SubCopy  ) 
 

Destructor.

Definition at line 41 of file EpetraExt_SubCopy_CrsMatrix.cpp.

EpetraExt::CrsMatrix_SubCopy::CrsMatrix_SubCopy const Epetra_Map newMap  )  [inline]
 

Constructor.

Definition at line 56 of file EpetraExt_SubCopy_CrsMatrix.h.

EpetraExt::CrsMatrix_SubCopy::CrsMatrix_SubCopy const Epetra_Map newRangeAndRowMap,
const Epetra_Map newDomainMap
[inline]
 

Constructor.

Definition at line 64 of file EpetraExt_SubCopy_CrsMatrix.h.


Member Function Documentation

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

Transformation Operator.

Implements EpetraExt::Transform< T, U >.

Definition at line 48 of file EpetraExt_SubCopy_CrsMatrix.cpp.

bool EpetraExt::CrsMatrix_SubCopy::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 110 of file EpetraExt_SubCopy_CrsMatrix.cpp.

bool EpetraExt::CrsMatrix_SubCopy::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 124 of file EpetraExt_SubCopy_CrsMatrix.cpp.


Member Data Documentation

Epetra_Map EpetraExt::CrsMatrix_SubCopy::newRowMap_ [private]
 

Definition at line 43 of file EpetraExt_SubCopy_CrsMatrix.h.

Epetra_Map EpetraExt::CrsMatrix_SubCopy::newColMap_ [private]
 

Definition at line 44 of file EpetraExt_SubCopy_CrsMatrix.h.

Epetra_Map EpetraExt::CrsMatrix_SubCopy::newDomainMap_ [private]
 

Definition at line 45 of file EpetraExt_SubCopy_CrsMatrix.h.

Epetra_Map EpetraExt::CrsMatrix_SubCopy::newRangeMap_ [private]
 

Definition at line 46 of file EpetraExt_SubCopy_CrsMatrix.h.

Epetra_Import* EpetraExt::CrsMatrix_SubCopy::importer_ [private]
 

Definition at line 47 of file EpetraExt_SubCopy_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