Version: 6.3.1
Public Types | Public Member Functions | Protected Attributes

MEDSPLITTER.Graph Class Reference

#include <MEDSPLITTER_Graph.hxx>

Inheritance diagram for MEDSPLITTER.Graph:
Inheritance graph

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 intgetPart () const
 returns the partitioning
int nbVertices () const
 returns the number of graph vertices (which can correspond to the cells in the mesh!)
const MEDMEM::MEDSKYLINEARRAYgetGraph () const

Protected Attributes

MEDMEM::MEDSKYLINEARRAYm_graph
MEDMEM::MEDSKYLINEARRAYm_partition
intm_edgeweight
intm_cellweight

Member Enumeration Documentation

Enumerator:
METIS 
SCOTCH 

Constructor & Destructor Documentation

MEDSPLITTER.Graph.Graph ( )
Graph::Graph ( MEDMEM::MEDSKYLINEARRAY graph,
int edgeweight = 0 
)
Graph::~Graph ( ) [virtual]

Member Function Documentation

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]
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

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS