![]() |
XC Open source finite element analysis program
|
type of GraphPartitioner which uses 'METIS - Unstructured Graph Partitioning And Sparse Matrix Ordering System', developed by G. Karypis and V. Kumar at the University of Minnesota. The metis files are found in metis-2.0 which were downloaded. More...
#include <MetisNumberer.h>
Public Member Functions | |
| bool | setOptions (int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype) |
| bool | setDefaultOptions (void) |
| int | partition (Graph &theGraph, int numPart) |
| Method to partition the graph. It first creates the arrays needed by the metis lib and then invokes a function from the metis lib to partition the graph. The solors of the vertices of the graph are set to colors 0 through numPart-1 to indicate which partition the vertices are in. Returns -1 if options are not set, -2 if metis failed. | |
| bool | setOptions (int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype) |
| bool | setDefaultOptions (void) |
| int | partitionHexMesh (int *elmnts, int *epart, int *npart, int ne, int nn, int nparts, bool whichToUse) |
| int | partition (Graph &theGraph, int numPart) |
| int | partitionGraph (int *nvtxs, int *xadj, int *adjncy, int *vwgt, int *adjwgt, int *wgtflag, int *numflag, int *nparts, int *options, int *edgecut, int *part, bool whichToUse) |
| const ID & | number (Graph &theGraph, int lastVertex=-1) |
| const ID & | number (Graph &theGraph, const ID &lastVertices) |
| int | sendSelf (CommParameters &) |
| int | recvSelf (const CommParameters &) |
Public Member Functions inherited from XC::MovableObject | |
| MovableObject (int classTag, int dbTag) | |
| Constructor. | |
| MovableObject (int classTag) | |
| Constructor. | |
| MovableObject (const MovableObject &otro) | |
| Copy constructor. | |
| MovableObject & | operator= (const MovableObject &otro) |
| Operacdor asignación. | |
| int | getClassTag (void) const |
| Returns the tag de la clase. | |
| int | getDbTag (void) const |
| Returns the tag para la database. | |
| int | getDbTag (CommParameters &) |
| Returns the tag para la database. | |
| void | setDbTag (int dbTag) |
| Asigna el tag para la database. | |
| void | setDbTag (CommParameters &) |
| Asigna, sólo si es preciso, el tag para la database. | |
| virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
| virtual int | updateParameter (int parameterID, Information &info) |
| virtual int | activateParameter (int parameterID) |
| virtual int | setVariable (const std::string &variable, Information &) |
| Returns the identificador de la variable cuyo nombre being passed as parameter. | |
| virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
| DistributedBase (void) | |
| Constructor. | |
| virtual DbTagData & | getDbTagData (void) const |
| Returns a vector to store class dbTags. | |
| const int & | getDbTagDataPos (const int &i) const |
| Returns the data at the i-th position. | |
| void | setDbTagDataPos (const int &i, const int &v) |
| Sets the data at the i-th position. | |
| void | inicComm (const int &dataSize) const |
| Initializes communication. | |
Protected Member Functions | |
| Metis (int Ptype, int Mtype, int coarsenTo, int Rtype, int IPtype) | |
| GraphNumberer * | getCopy (void) const |
Protected Member Functions inherited from XC::GraphNumberer | |
| GraphNumberer (int classTag) | |
Friends | |
| class | DOF_Numberer |
type of GraphPartitioner which uses 'METIS - Unstructured Graph Partitioning And Sparse Matrix Ordering System', developed by G. Karypis and V. Kumar at the University of Minnesota. The metis files are found in metis-2.0 which were downloaded.
Metis is a type of GraphPartitioner which uses 'METIS - Unstructured Graph Partitioning And Sparse Matrix Ordering System', developed by G. Karypis and V. Kumar at the University of Minnesota. The metis files are found in metis-2.0 which were downloaded.
1.8.11