67 #include "solution/graph/partitioner/GraphPartitioner.h" 68 #include "solution/graph/numberer/GraphNumberer.h" 136 class Metis :
public GraphPartitioner,
public GraphNumberer
139 bool checkOptions(
void);
179 Metis(
int numParts =1);
194 int partitionHexMesh(
int* elmnts,
int* epart,
int* npart,
int ne,
int nn,
int nparts,
bool whichToUse);
195 int partition(Graph &theGraph,
int numPart);
196 int partitionGraph(
int *nvtxs,
int *xadj,
int *adjncy,
int *vwgt,
197 int *adjwgt,
int *wgtflag,
int *numflag,
int *nparts,
198 int *options,
int *edgecut,
int *part,
bool whichToUse);
201 const ID &
number(Graph &theGraph,
int lastVertex = -1);
202 const ID &
number(Graph &theGraph,
const ID &lastVertices);
205 int recvSelf(
const CommParameters &);
bool setOptions(int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype)
Sets the options for the partitioning to those passed as arguments.
Definition: MetisNumberer.cpp:122
int recvSelf(const CommParameters &)
Receive the object.
Definition: Metis.cpp:523
int sendSelf(CommParameters &)
Send the object.
Definition: Metis.cpp:520
int partition(Graph &theGraph, int numPart)
Method to partition the graph.
Definition: MetisNumberer.cpp:221
bool setDefaultOptions(void)
Sets the default options.
Definition: MetisNumberer.cpp:209
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
const ID & number(Graph &theGraph, int lastVertex=-1)
Graph numbering.
Definition: Metis.cpp:393