#include <MEDSPLITTER_Graph.hxx>

Public Types | |
| enum | splitter_type { METIS, SCOTCH } |
Public Member Functions | |
| Graph () | |
| Graph (MEDMEM::MEDSKYLINEARRAY *graph, int *edgeweight=0) | |
| virtual | ~Graph () |
| Destructor. | |
| void | setEdgesWeights (int *edgeweight) |
| void | setVerticesWeights (int *cellweight) |
| virtual void | partGraph (int ndomain, const string &, ParaDomainSelector *sel=0)=0 |
| const int * | getPart () const |
| returns the partitioning | |
| int | nbVertices () const |
| returns the number of graph vertices (which can correspond to the cells in the mesh!) | |
| const MEDMEM::MEDSKYLINEARRAY * | getGraph () const |
Protected Attributes | |
| MEDMEM::MEDSKYLINEARRAY * | m_graph |
| MEDMEM::MEDSKYLINEARRAY * | m_partition |
| int * | m_edgeweight |
| int * | m_cellweight |
| MEDSPLITTER.Graph.Graph | ( | ) |
| Graph::Graph | ( | MEDMEM::MEDSKYLINEARRAY * | graph, |
| int * | edgeweight = 0 |
||
| ) |
| Graph::~Graph | ( | ) | [virtual] |
Destructor.
References MEDSPLITTER.Graph.m_graph, and MEDSPLITTER.Graph.m_partition.
| void MEDSPLITTER.Graph.setEdgesWeights | ( | int * | edgeweight | ) |
| void MEDSPLITTER.Graph.setVerticesWeights | ( | int * | cellweight | ) |
| virtual void MEDSPLITTER.Graph.partGraph | ( | int | ndomain, |
| const string & | , | ||
| ParaDomainSelector * | sel = 0 |
||
| ) | [pure virtual] |
Implemented in MEDSPLITTER.METISGraph, MEDSPLITTER.SCOTCHGraph, and MEDSPLITTER.UserGraph.
| const int* MEDSPLITTER.Graph.getPart | ( | ) | const |
returns the partitioning
| int MEDSPLITTER.Graph.nbVertices | ( | ) | const |
returns the number of graph vertices (which can correspond to the cells in the mesh!)
| const MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER.Graph.getGraph | ( | ) | const |
MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER.Graph.m_graph [protected] |
MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER.Graph.m_partition [protected] |
int* MEDSPLITTER.Graph.m_edgeweight [protected] |
int* MEDSPLITTER.Graph.m_cellweight [protected] |