LifeV
GraphCutterBase< MeshType > Class Template Referenceabstract

Graph cutter base class (abstract) More...

#include <GraphCutterBase.hpp>

+ Inheritance diagram for GraphCutterBase< MeshType >:

Public Types

typedef Teuchos::ParameterList pList_Type
 

Constructor & Destructor

 GraphCutterBase ()
 Default constructor. More...
 
virtual ~GraphCutterBase ()
 Destructor. More...
 

Public methods

virtual Int run ()=0
 Performs the graph partitioning. More...
 

Get Methods

virtual const idListPtr_TypegetPart (const UInt i) const =0
 Get a pointer to one of the partitions. More...
 
virtual idListPtr_TypegetPart (const UInt i)=0
 
virtual const idTablePtr_Type getGraph () const =0
 Get the entire partitioned graph, wrapped in a smart pointer. More...
 
virtual const UInt numParts () const =0
 Return the number of parts. More...
 

Private methods

virtual void setParameters (pList_Type &parameters)=0
 Set values for all the parameters, with default values where needed. More...
 

Detailed Description

template<typename MeshType>
class LifeV::GraphCutterBase< MeshType >

Graph cutter base class (abstract)

Author
Radu Popescu radu..nosp@m.pope.nosp@m.scu@e.nosp@m.pfl..nosp@m.ch

Definition at line 54 of file GraphCutterBase.hpp.

Member Typedef Documentation

◆ pList_Type

typedef Teuchos::ParameterList pList_Type

Definition at line 59 of file GraphCutterBase.hpp.

Constructor & Destructor Documentation

◆ GraphCutterBase()

GraphCutterBase ( )
inline

Default constructor.

Definition at line 65 of file GraphCutterBase.hpp.

◆ ~GraphCutterBase()

virtual ~GraphCutterBase ( )
inlinevirtual

Destructor.

Definition at line 70 of file GraphCutterBase.hpp.

Member Function Documentation

◆ run()

virtual Int run ( )
pure virtual

Performs the graph partitioning.

Implemented in GraphCutterZoltan< MeshType >, and GraphCutterParMETIS< MeshType >.

◆ getPart() [1/2]

virtual const idListPtr_Type& getPart ( const UInt  i) const
pure virtual

Get a pointer to one of the partitions.

Implemented in GraphCutterZoltan< MeshType >, and GraphCutterParMETIS< MeshType >.

◆ getPart() [2/2]

virtual idListPtr_Type& getPart ( const UInt  i)
pure virtual

◆ getGraph()

virtual const idTablePtr_Type getGraph ( ) const
pure virtual

Get the entire partitioned graph, wrapped in a smart pointer.

Implemented in GraphCutterZoltan< MeshType >, and GraphCutterParMETIS< MeshType >.

◆ numParts()

virtual const UInt numParts ( ) const
pure virtual

Return the number of parts.

Implemented in GraphCutterZoltan< MeshType >, and GraphCutterParMETIS< MeshType >.

◆ setParameters()

virtual void setParameters ( pList_Type parameters)
privatepure virtual

Set values for all the parameters, with default values where needed.

Implemented in GraphCutterZoltan< MeshType >, and GraphCutterParMETIS< MeshType >.


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