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

Transform to form the explicit transpose of a Epetra_RowMatrix. More...

#include <EpetraExt_Transpose_RowMatrix.h>

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

Public Member Functions

 ~RowMatrix_Transpose ()
 Destructor. More...
 
 RowMatrix_Transpose (Epetra_Map *TransposeRowMap=0, bool IgnoreNonLocalCols=false)
 Constructor. More...
 
NewTypeRef operator() (OriginalTypeRef orig)
 Transpose Transform Operator. More...
 
bool fwd ()
 Foward Data Migration. More...
 
bool rvs ()
 Reverse Data Migration. More...
 
void ReleaseTranspose ()
 Release the pointer to TransposeMatrix_ (so you can take the matrix out w/o worring about deallocation) More...
 
Epetra_CrsMatrixCreateTransposeLocal (OriginalTypeRef orig)
 Local-only transpose operator. Don't use this unless you're sure you know what you're doing. More...
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_RowMatrix >
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_CrsMatrixTransposeMatrix_
 
Epetra_MapTransposeRowMap_
 
bool IgnoreNonLocalCols_
 
int NumMyRows_
 
int NumMyCols_
 
int MaxNumEntries_
 
int * Indices_
 
double * Values_
 
bool OrigMatrixIsCrsMatrix_
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< Epetra_RowMatrix >
typedef Epetra_RowMatrix TransformType
 
typedef Epetra_RowMatrixTransformTypePtr
 
typedef Epetra_RowMatrixTransformTypeRef
 
- 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

Transform to form the explicit transpose of a Epetra_RowMatrix.

Definition at line 55 of file EpetraExt_Transpose_RowMatrix.h.

Constructor & Destructor Documentation

EpetraExt::RowMatrix_Transpose::~RowMatrix_Transpose ( )

Destructor.

Definition at line 72 of file EpetraExt_Transpose_RowMatrix.cpp.

EpetraExt::RowMatrix_Transpose::RowMatrix_Transpose ( Epetra_Map TransposeRowMap = 0,
bool  IgnoreNonLocalCols = false 
)
inline

Constructor.

Parameters
InTransposeRowMap - Map to be used for row mapping of transpose matrix
InIgnoreNonLocalCols - Whether to ignore non-local columns for the transpose

Definition at line 70 of file EpetraExt_Transpose_RowMatrix.h.

Member Function Documentation

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

Transpose Transform Operator.

Implements EpetraExt::Transform< T, U >.

Definition at line 210 of file EpetraExt_Transpose_RowMatrix.cpp.

bool EpetraExt::RowMatrix_Transpose::fwd ( )
virtual

Foward Data Migration.

Implements EpetraExt::Transform< T, U >.

Definition at line 260 of file EpetraExt_Transpose_RowMatrix.cpp.

bool EpetraExt::RowMatrix_Transpose::rvs ( )
virtual

Reverse Data Migration.

Implements EpetraExt::Transform< T, U >.

Definition at line 282 of file EpetraExt_Transpose_RowMatrix.cpp.

void EpetraExt::RowMatrix_Transpose::ReleaseTranspose ( )
inline

Release the pointer to TransposeMatrix_ (so you can take the matrix out w/o worring about deallocation)

Definition at line 93 of file EpetraExt_Transpose_RowMatrix.h.

Epetra_CrsMatrix * EpetraExt::RowMatrix_Transpose::CreateTransposeLocal ( OriginalTypeRef  orig)

Local-only transpose operator. Don't use this unless you're sure you know what you're doing.

This pointer is not kept by the RowMatrix_Transpose object

Definition at line 84 of file EpetraExt_Transpose_RowMatrix.cpp.

Member Data Documentation

Epetra_CrsMatrix* EpetraExt::RowMatrix_Transpose::TransposeMatrix_
private

Definition at line 100 of file EpetraExt_Transpose_RowMatrix.h.

Epetra_Map* EpetraExt::RowMatrix_Transpose::TransposeRowMap_
private

Definition at line 102 of file EpetraExt_Transpose_RowMatrix.h.

bool EpetraExt::RowMatrix_Transpose::IgnoreNonLocalCols_
private

Definition at line 105 of file EpetraExt_Transpose_RowMatrix.h.

int EpetraExt::RowMatrix_Transpose::NumMyRows_
private

Definition at line 107 of file EpetraExt_Transpose_RowMatrix.h.

int EpetraExt::RowMatrix_Transpose::NumMyCols_
private

Definition at line 108 of file EpetraExt_Transpose_RowMatrix.h.

int EpetraExt::RowMatrix_Transpose::MaxNumEntries_
private

Definition at line 109 of file EpetraExt_Transpose_RowMatrix.h.

int* EpetraExt::RowMatrix_Transpose::Indices_
private

Definition at line 110 of file EpetraExt_Transpose_RowMatrix.h.

double* EpetraExt::RowMatrix_Transpose::Values_
private

Definition at line 111 of file EpetraExt_Transpose_RowMatrix.h.

bool EpetraExt::RowMatrix_Transpose::OrigMatrixIsCrsMatrix_
private

Definition at line 113 of file EpetraExt_Transpose_RowMatrix.h.


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