class Metis : public GraphPartitioner, public GraphNumberer


Inheritance:


Public Methods

Metis(int numParts =1)
Metis(int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype, int numParts =1)
~Metis()
bool setOptions(int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype)
bool setDefaultOptions(void)
int partition(Graph &theGraph, int numPart)
const ID& number(Graph &theGraph, int lastVertex = -1)
const ID& number(Graph &theGraph, const ID &lastVertices)
int sendSelf(int commitTag, Channel &theChannel)
int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Inherited from GraphPartitioner:


Inherited from GraphNumberer:


Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)

Documentation

Metis is a GraphPartitioner. The Metis graph partitioner calls procedures defined in the METIS library to partition the graph. METIS is currently being developed by G.~Karypis and V.~Kumar at the University of Minnesota. At the present time the Graph to be partitioned MUST have the vertices labeled 0 through numVertex-1.

Metis(int numParts =1)

To construct a Metis object which will use the default settings when partitioning

Metis(int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype, int numParts =1)

To construct a Metis object which will use the setting passed into the constructor as options to metis's PMETIS() routine. checkOptions() is invoked to ensure the settings are valid.

~Metis()

Public Methods

bool setOptions(int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype)

Sets the options for the partitioning to those passed as arguments. Then invokes checkOptions() to see if the options are valid. HOW ABOUT REFERRINGR TO MANUAL TO SEE WHAT OPTIONS MEAN.

bool setDefaultOptions(void)

int partition(Graph &theGraph, int numPart)

const ID& number(Graph &theGraph, int lastVertex = -1)

const ID& number(Graph &theGraph, const ID &lastVertices)

int sendSelf(int commitTag, Channel &theChannel)

int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)


This class has no child classes.

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us