EpetraExt Development
Loading...
Searching...
No Matches
EpetraExt::TCrsGraph_MapColoringIndex< int_type > Class Template 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_TCrsGraph_MapColoringIndex.h>

Inheritance diagram for EpetraExt::TCrsGraph_MapColoringIndex< int_type >:

Public Types

typedef StructuralTransform< Epetra_CrsGraph, std::vector< typename Epetra_GIDTypeVector< int_type >::impl > > Base
typedef Base::NewTypeRef NewTypeRef
 Generates a std::vector<Epetra_IntVector> from the input Epetra_CrsGraph.
typedef Base::OriginalTypeRef OriginalTypeRef
typedef Epetra_CrsGraph OriginalType
typedef Epetra_CrsGraphOriginalTypePtr
typedef Teuchos::RCP< Epetra_CrsGraphOriginalTypeRCP
typedef Epetra_CrsGraphOriginalTypeRef
typedef std::vector< Epetra_GIDTypeVector< int_type >::impl > NewType
typedef std::vector< Epetra_GIDTypeVector< int_type >::impl > * NewTypePtr
typedef Teuchos::RCP< std::vector< Epetra_GIDTypeVector< int_type >::impl > > NewTypeRCP
typedef std::vector< Epetra_GIDTypeVector< int_type >::impl > & NewTypeRef

Public Member Functions

NewTypeRef operator() (OriginalTypeRef orig)
Public Member Functions inherited from EpetraExt::StructuralTransform< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int_type >::impl > >
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 ~StructuralTransform ()
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.

Protected Member Functions

 ~TCrsGraph_MapColoringIndex ()
 Destructor.
 TCrsGraph_MapColoringIndex (const Epetra_MapColoring &ColorMap)
 Constructor input param ColorMap defines the perturbation coloring.
 Transform ()
 Default constructor, protected to allow only derived classes to use.

Additional Inherited Members

OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

template<typename int_type>
class EpetraExt::TCrsGraph_MapColoringIndex< int_type >

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 69 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

Member Typedef Documentation

◆ Base

template<typename int_type>
typedef StructuralTransform< Epetra_CrsGraph,std::vector<typename Epetra_GIDTypeVector<int_type>::impl> > EpetraExt::TCrsGraph_MapColoringIndex< int_type >::Base

Definition at line 89 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

◆ NewTypeRef

template<typename int_type>
typedef Base::NewTypeRef EpetraExt::TCrsGraph_MapColoringIndex< int_type >::NewTypeRef

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

Definition at line 93 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

◆ OriginalTypeRef

template<typename int_type>
typedef Base::OriginalTypeRef EpetraExt::TCrsGraph_MapColoringIndex< int_type >::OriginalTypeRef

Definition at line 94 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

Constructor & Destructor Documentation

◆ ~TCrsGraph_MapColoringIndex()

template<typename int_type>
EpetraExt::TCrsGraph_MapColoringIndex< int_type >::~TCrsGraph_MapColoringIndex ( )
inlineprotected

Destructor.

Definition at line 79 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

◆ TCrsGraph_MapColoringIndex()

template<typename int_type>
EpetraExt::TCrsGraph_MapColoringIndex< int_type >::TCrsGraph_MapColoringIndex ( const Epetra_MapColoring & ColorMap)
inlineprotected

Constructor input param ColorMap defines the perturbation coloring.

Definition at line 85 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

Member Function Documentation

◆ operator()()

template<typename int_type>
TCrsGraph_MapColoringIndex< int_type >::NewTypeRef EpetraExt::TCrsGraph_MapColoringIndex< int_type >::operator() ( OriginalTypeRef orig)

Definition at line 102 of file EpetraExt_TCrsGraph_MapColoringIndex.h.


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