EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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:
Inheritance graph
[legend]

Public Member Functions

 ~CrsMatrix_SolverMap ()
 Destructor. More...
 
 CrsMatrix_SolverMap ()
 Constructor. More...
 
NewTypeRef operator() (OriginalTypeRef orig)
 Constructs fixed view of Epetra_CrsMatrix as necessary. More...
 
- 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. More...
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. More...
 
virtual ~StructuralSameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
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 Member Functions

template<typename int_type >
NewTypeRef construct (OriginalTypeRef orig)
 

Private Attributes

Epetra_MapNewColMap_
 
Epetra_CrsGraphNewGraph_
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
typedef Epetra_CrsMatrix TransformType
 
typedef Epetra_CrsMatrixTransformTypePtr
 
typedef Epetra_CrsMatrixTransformTypeRef
 
- 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

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 58 of file EpetraExt_SolverMap_CrsMatrix.h.

Constructor & Destructor Documentation

EpetraExt::CrsMatrix_SolverMap::~CrsMatrix_SolverMap ( )

Destructor.

Definition at line 54 of file EpetraExt_SolverMap_CrsMatrix.cpp.

EpetraExt::CrsMatrix_SolverMap::CrsMatrix_SolverMap ( )
inline

Constructor.

Definition at line 73 of file EpetraExt_SolverMap_CrsMatrix.h.

Member Function Documentation

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

Constructs fixed view of Epetra_CrsMatrix as necessary.

Implements EpetraExt::Transform< T, U >.

Definition at line 155 of file EpetraExt_SolverMap_CrsMatrix.cpp.

template<typename int_type >
CrsMatrix_SolverMap::NewTypeRef EpetraExt::CrsMatrix_SolverMap::construct ( OriginalTypeRef  orig)
private

Definition at line 64 of file EpetraExt_SolverMap_CrsMatrix.cpp.

Member Data Documentation

Epetra_Map* EpetraExt::CrsMatrix_SolverMap::NewColMap_
private

Definition at line 60 of file EpetraExt_SolverMap_CrsMatrix.h.

Epetra_CrsGraph* EpetraExt::CrsMatrix_SolverMap::NewGraph_
private

Definition at line 61 of file EpetraExt_SolverMap_CrsMatrix.h.


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