Go to the source code of this file.
Functions | |
int | METIS_PartMeshNodal (idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize, idx_t *nparts, real_t *tpwgts, idx_t *options, idx_t *objval, idx_t *epart, idx_t *npart) |
int | METIS_PartMeshDual (idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *vwgt, idx_t *vsize, idx_t *ncommon, idx_t *nparts, real_t *tpwgts, idx_t *options, idx_t *objval, idx_t *epart, idx_t *npart) |
void | InduceRowPartFromColumnPart (idx_t nrows, idx_t *rowptr, idx_t *rowind, idx_t *rpart, idx_t *cpart, idx_t nparts, real_t *tpwgts) |
int METIS_PartMeshNodal | ( | idx_t * | ne, | |
idx_t * | nn, | |||
idx_t * | eptr, | |||
idx_t * | eind, | |||
idx_t * | vwgt, | |||
idx_t * | vsize, | |||
idx_t * | nparts, | |||
real_t * | tpwgts, | |||
idx_t * | options, | |||
idx_t * | objval, | |||
idx_t * | epart, | |||
idx_t * | npart | |||
) |
Definition at line 22 of file meshpart.c.
References adjncy, ChangeMesh2CNumbering(), ChangeMesh2FNumbering2(), gk_malloc_cleanup(), gk_malloc_init(), gk_sigtrap(), gk_siguntrap(), InduceRowPartFromColumnPart(), METIS_ERROR_MEMORY, METIS_Free(), METIS_MeshToNodal(), METIS_OK, METIS_OPTION_NUMBERING, METIS_OPTION_PTYPE, METIS_PartGraphKway(), METIS_PartGraphRecursive(), METIS_PTYPE_KWAY, metis_rcode(), ncon, and xadj.
Referenced by main().
int METIS_PartMeshDual | ( | idx_t * | ne, | |
idx_t * | nn, | |||
idx_t * | eptr, | |||
idx_t * | eind, | |||
idx_t * | vwgt, | |||
idx_t * | vsize, | |||
idx_t * | ncommon, | |||
idx_t * | nparts, | |||
real_t * | tpwgts, | |||
idx_t * | options, | |||
idx_t * | objval, | |||
idx_t * | epart, | |||
idx_t * | npart | |||
) |
Definition at line 90 of file meshpart.c.
References adjncy, ChangeMesh2CNumbering(), ChangeMesh2FNumbering2(), gk_free(), gk_malloc_cleanup(), gk_malloc_init(), gk_sigtrap(), gk_siguntrap(), InduceRowPartFromColumnPart(), METIS_ERROR_MEMORY, METIS_Free(), METIS_MeshToDual(), METIS_OK, METIS_OPTION_NUMBERING, METIS_OPTION_PTYPE, METIS_PartGraphKway(), METIS_PartGraphRecursive(), METIS_PTYPE_KWAY, metis_rcode(), ncon, and xadj.
Referenced by main().
void InduceRowPartFromColumnPart | ( | idx_t | nrows, | |
idx_t * | rowptr, | |||
idx_t * | rowind, | |||
idx_t * | rpart, | |||
idx_t * | cpart, | |||
idx_t | nparts, | |||
real_t * | tpwgts | |||
) |
Induces a partitioning of the rows based on a a partitioning of the columns. It is used by both the Nodal and Dual routines.
Definition at line 179 of file meshpart.c.
References gk_free().
Referenced by METIS_PartMeshDual(), and METIS_PartMeshNodal().