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

#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...
 
std::vector< Epetra_IntVector > & operator() (Epetra_CrsGraph &orig)
 Analysis of transform operation on original object and construction of new object. More...
 
- Public Member Functions inherited from EpetraExt::TCrsGraph_MapColoringIndex< int >
NewTypeRef operator() (OriginalTypeRef orig)
 
- Public Member Functions inherited from EpetraExt::StructuralTransform< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int >::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. 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_GIDTypeVector< int >::impl > >
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::TCrsGraph_MapColoringIndex< int >
typedef StructuralTransform< Epetra_CrsGraph, std::vector< typename Epetra_GIDTypeVector< int >::impl > > Base
 
typedef Base::NewTypeRef NewTypeRef
 Generates a std::vector<Epetra_IntVector> from the input Epetra_CrsGraph. More...
 
typedef Base::OriginalTypeRef OriginalTypeRef
 
- Public Types inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int >::impl > >
typedef Epetra_CrsGraph OriginalType
 
typedef Epetra_CrsGraph * OriginalTypePtr
 
typedef Teuchos::RCP< Epetra_CrsGraph > OriginalTypeRCP
 
typedef Epetra_CrsGraph & OriginalTypeRef
 
typedef std::vector< Epetra_GIDTypeVector< int >::impl > NewType
 
typedef std::vector< Epetra_GIDTypeVector< int >::impl > * NewTypePtr
 
typedef Teuchos::RCP< std::vector< Epetra_GIDTypeVector< int >::impl > > NewTypeRCP
 
typedef std::vector< Epetra_GIDTypeVector< int >::impl > & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::TCrsGraph_MapColoringIndex< int >
 ~TCrsGraph_MapColoringIndex ()
 Destructor. More...
 
 TCrsGraph_MapColoringIndex (const Epetra_MapColoring &ColorMap)
 Constructor input param ColorMap defines the perturbation coloring. More...
 
- Protected Member Functions inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int >::impl > >
 Transform ()
 Default constructor, protected to allow only derived classes to use. More...
 
- Protected Attributes inherited from EpetraExt::Transform< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int >::impl > >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

Definition at line 51 of file EpetraExt_MapColoringIndex.h.

Constructor & Destructor Documentation

◆ ~CrsGraph_MapColoringIndex()

EpetraExt::CrsGraph_MapColoringIndex::~CrsGraph_MapColoringIndex ( )
inline

Destructor.

Definition at line 59 of file EpetraExt_MapColoringIndex.h.

◆ CrsGraph_MapColoringIndex()

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

Constructor input param ColorMap defines the perturbation coloring.

Definition at line 65 of file EpetraExt_MapColoringIndex.h.

Member Function Documentation

◆ operator()()

std::vector< Epetra_IntVector > & EpetraExt::CrsGraph_MapColoringIndex::operator() ( Epetra_CrsGraph &  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< Epetra_CrsGraph, std::vector< Epetra_GIDTypeVector< int >::impl > >.

Definition at line 101 of file EpetraExt_MapColoringIndex.cpp.


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