EpetraExt Development
Loading...
Searching...
No Matches
EpetraExt::CrsMatrix_SolverMap Class Reference

Given an input Epetra_CrsMatrix, the column map is checked for missing indices associated with the local rows. More...

#include <EpetraExt_SolverMap_CrsMatrix.h>

Inheritance diagram for EpetraExt::CrsMatrix_SolverMap:

Public Member Functions

 ~CrsMatrix_SolverMap ()
 Destructor.
 CrsMatrix_SolverMap ()
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Constructs fixed view of Epetra_CrsMatrix as necessary.
Public Member Functions inherited from EpetraExt::StructuralSameTypeTransform< Epetra_CrsMatrix >
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.
virtual ~StructuralSameTypeTransform ()
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
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_CrsMatrix >
typedef Epetra_CrsMatrix TransformType
typedef Epetra_CrsMatrixTransformTypePtr
typedef Epetra_CrsMatrixTransformTypeRef
typedef Epetra_CrsMatrix OriginalType
typedef Epetra_CrsMatrixOriginalTypePtr
typedef Teuchos::RCP< Epetra_CrsMatrixOriginalTypeRCP
typedef Epetra_CrsMatrixOriginalTypeRef
typedef Epetra_CrsMatrix NewType
typedef Epetra_CrsMatrixNewTypePtr
typedef Teuchos::RCP< Epetra_CrsMatrixNewTypeRCP
typedef Epetra_CrsMatrixNewTypeRef
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

Given an input Epetra_CrsMatrix, the column map is checked for missing indices associated with the local rows.

If found, a view of the Epetra_CrsMatrix is formed using a new Epetra_CrsGraph with a fixed column mapping including all local row indices.

Definition at line 64 of file EpetraExt_SolverMap_CrsMatrix.h.

Constructor & Destructor Documentation

◆ ~CrsMatrix_SolverMap()

EpetraExt::CrsMatrix_SolverMap::~CrsMatrix_SolverMap ( )

Destructor.

Definition at line 53 of file EpetraExt_SolverMap_CrsMatrix.cpp.

◆ CrsMatrix_SolverMap()

EpetraExt::CrsMatrix_SolverMap::CrsMatrix_SolverMap ( )
inline

Constructor.

Definition at line 79 of file EpetraExt_SolverMap_CrsMatrix.h.

Member Function Documentation

◆ operator()()

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

Constructs fixed view of Epetra_CrsMatrix as necessary.

Definition at line 154 of file EpetraExt_SolverMap_CrsMatrix.cpp.


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