PPL Logo

libs/ck-libs/metis/libmetis/meshpart.c File Reference

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)


Function Documentation

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 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:09:33 2020 for Charm++ by  doxygen 1.5.5