EpetraExt Development
Loading...
Searching...
No Matches
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:

Public Member Functions

 ~RowMatrix_Transpose ()
 Destructor.
 RowMatrix_Transpose (Epetra_Map *TransposeRowMap=0, bool IgnoreNonLocalCols=false)
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Transpose Transform Operator.
bool fwd ()
 Foward Data Migration.
bool rvs ()
 Reverse Data Migration.
void ReleaseTranspose ()
 Release the pointer to TransposeMatrix_ (so you can take the matrix out w/o worring about deallocation).
Epetra_CrsMatrixCreateTransposeLocal (OriginalTypeRef orig)
 Local-only transpose operator. Don't use this unless you're sure you know what you're doing.
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_RowMatrix >
virtual ~SameTypeTransform ()
virtual ~Transform ()
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.

Additional Inherited Members

Public Types inherited from EpetraExt::SameTypeTransform< Epetra_RowMatrix >
typedef Epetra_RowMatrix TransformType
typedef Epetra_RowMatrixTransformTypePtr
typedef Epetra_RowMatrixTransformTypeRef
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
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

Transform to form the explicit transpose of a Epetra_RowMatrix.

Definition at line 61 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 76 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 260 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 282 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 99 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 84 of file EpetraExt_Transpose_RowMatrix.cpp.


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