EpetraExt  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Member Functions
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 >:
Inheritance graph
[legend]

List of all members.

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

Public Member Functions

NewTypeRef operator() (OriginalTypeRef orig)
 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.

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


Member Typedef Documentation

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

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

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

Reimplemented from EpetraExt::Transform< T, U >.

Definition at line 87 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

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

Reimplemented from EpetraExt::Transform< T, U >.

Definition at line 88 of file EpetraExt_TCrsGraph_MapColoringIndex.h.


Constructor & Destructor Documentation

template<typename int_type>
EpetraExt::TCrsGraph_MapColoringIndex< int_type >::~TCrsGraph_MapColoringIndex ( ) [inline, protected]

Destructor.

Definition at line 73 of file EpetraExt_TCrsGraph_MapColoringIndex.h.

template<typename int_type>
EpetraExt::TCrsGraph_MapColoringIndex< int_type >::TCrsGraph_MapColoringIndex ( const Epetra_MapColoring &  ColorMap) [inline, protected]

Constructor input param ColorMap defines the perturbation coloring.

Definition at line 79 of file EpetraExt_TCrsGraph_MapColoringIndex.h.


Member Function Documentation

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

Analysis of transform operation on original object and construction of new object.

Preconditions:

Invariants:

Postconditions:

Returns:
Returns a pointer to the newly created object of type NewTypeRef. The Transform object maintains ownership of this new object and deletes as a part of it's destruction.

Implements EpetraExt::Transform< T, U >.

Definition at line 97 of file EpetraExt_TCrsGraph_MapColoringIndex.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines