EpetraExt  Development
Public Member Functions | List of all members
EpetraExt::CrsGraph_MapColoringIndex Class Reference

Generates a std::vector of Epetra_IntVector's to be used to map perturbation contributions to a CrsGraph/CrsMatrix from a perturbed vector. More...

#include <EpetraExt_MapColoringIndex.h>

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

Public Member Functions

 ~CrsGraph_MapColoringIndex ()
 Destructor. More...
 
 CrsGraph_MapColoringIndex (const Epetra_MapColoring &ColorMap)
 Constructor input param ColorMap defines the perturbation coloring. More...
 
NewTypeRef operator() (OriginalTypeRef orig)
 Generates a std::vector<Epetra_IntVector> from the input Epetra_CrsGraph. More...
 
- Public Member Functions inherited from EpetraExt::StructuralTransform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >
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 ~StructuralTransform ()
 
- Public Member Functions inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >
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...
 

Additional Inherited Members

- Public Types inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >
typedef Epetra_CrsGraph OriginalType
 
typedef Epetra_CrsGraph * OriginalTypePtr
 
typedef Teuchos::RCP< Epetra_CrsGraph > OriginalTypeRCP
 
typedef Epetra_CrsGraph & OriginalTypeRef
 
typedef std::vector< Epetra_IntVector > NewType
 
typedef std::vector< Epetra_IntVector > * NewTypePtr
 
typedef Teuchos::RCP< std::vector< Epetra_IntVector > > NewTypeRCP
 
typedef std::vector< Epetra_IntVector > & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >
 Transform ()
 Default constructor, protected to allow only derived classes to use. More...
 
- Protected Attributes inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

Generates a std::vector of Epetra_IntVector's to be used to map perturbation contributions to a CrsGraph/CrsMatrix from a perturbed vector.

Definition at line 60 of file EpetraExt_MapColoringIndex.h.

Constructor & Destructor Documentation

EpetraExt::CrsGraph_MapColoringIndex::~CrsGraph_MapColoringIndex ( )
inline

Destructor.

Definition at line 70 of file EpetraExt_MapColoringIndex.h.

EpetraExt::CrsGraph_MapColoringIndex::CrsGraph_MapColoringIndex ( const Epetra_MapColoring &  ColorMap)
inline

Constructor input param ColorMap defines the perturbation coloring.

Definition at line 76 of file EpetraExt_MapColoringIndex.h.

Member Function Documentation

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

Generates a std::vector<Epetra_IntVector> from the input Epetra_CrsGraph.

Implements EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_IntVector > >.

Definition at line 59 of file EpetraExt_MapColoringIndex.cpp.


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