EpetraExt Package Browser (Single Doxygen Collection)  Development
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< Epetra_RowMatrix, Epetra_RowMatrix >
virtual ~Transform ()
 
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object. More...
 
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< Epetra_RowMatrix, Epetra_RowMatrix >
typedef Epetra_RowMatrix OriginalType
 
typedef Epetra_RowMatrixOriginalTypePtr
 
typedef Teuchos::RCP< Epetra_RowMatrixOriginalTypeRCP
 
typedef Epetra_RowMatrixOriginalTypeRef
 
typedef Epetra_RowMatrix NewType
 
typedef Epetra_RowMatrixNewTypePtr
 
typedef Teuchos::RCP< Epetra_RowMatrixNewTypeRCP
 
typedef Epetra_RowMatrixNewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< Epetra_RowMatrix, Epetra_RowMatrix >
 Transform ()
 Default constructor, protected to allow only derived classes to use. More...
 
- Protected Attributes inherited from EpetraExt::Transform< Epetra_RowMatrix, Epetra_RowMatrix >
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

◆ ~RowMatrix_Transpose()

EpetraExt::RowMatrix_Transpose::~RowMatrix_Transpose ( )

Destructor.

Definition at line 71 of file EpetraExt_Transpose_RowMatrix.cpp.

◆ RowMatrix_Transpose()

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

◆ operator()()

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

Transpose Transform Operator.

Definition at line 209 of file EpetraExt_Transpose_RowMatrix.cpp.

◆ fwd()

bool EpetraExt::RowMatrix_Transpose::fwd ( )
virtual

Foward Data Migration.

Implements EpetraExt::Transform< Epetra_RowMatrix, Epetra_RowMatrix >.

Definition at line 259 of file EpetraExt_Transpose_RowMatrix.cpp.

◆ rvs()

bool EpetraExt::RowMatrix_Transpose::rvs ( )
virtual

Reverse Data Migration.

Implements EpetraExt::Transform< Epetra_RowMatrix, Epetra_RowMatrix >.

Definition at line 281 of file EpetraExt_Transpose_RowMatrix.cpp.

◆ ReleaseTranspose()

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.

◆ CreateTransposeLocal()

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 83 of file EpetraExt_Transpose_RowMatrix.cpp.

Member Data Documentation

◆ TransposeMatrix_

Epetra_CrsMatrix* EpetraExt::RowMatrix_Transpose::TransposeMatrix_
private

Definition at line 100 of file EpetraExt_Transpose_RowMatrix.h.

◆ TransposeRowMap_

Epetra_Map* EpetraExt::RowMatrix_Transpose::TransposeRowMap_
private

Definition at line 102 of file EpetraExt_Transpose_RowMatrix.h.

◆ IgnoreNonLocalCols_

bool EpetraExt::RowMatrix_Transpose::IgnoreNonLocalCols_
private

Definition at line 105 of file EpetraExt_Transpose_RowMatrix.h.

◆ NumMyRows_

int EpetraExt::RowMatrix_Transpose::NumMyRows_
private

Definition at line 107 of file EpetraExt_Transpose_RowMatrix.h.

◆ NumMyCols_

int EpetraExt::RowMatrix_Transpose::NumMyCols_
private

Definition at line 108 of file EpetraExt_Transpose_RowMatrix.h.

◆ MaxNumEntries_

int EpetraExt::RowMatrix_Transpose::MaxNumEntries_
private

Definition at line 109 of file EpetraExt_Transpose_RowMatrix.h.

◆ Indices_

int* EpetraExt::RowMatrix_Transpose::Indices_
private

Definition at line 110 of file EpetraExt_Transpose_RowMatrix.h.

◆ Values_

double* EpetraExt::RowMatrix_Transpose::Values_
private

Definition at line 111 of file EpetraExt_Transpose_RowMatrix.h.

◆ OrigMatrixIsCrsMatrix_

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: