PPL Logo

libs/ck-libs/parmetis/ParMETISLib/grsetup.c File Reference

Go to the source code of this file.

Functions

GraphTypeMoc_SetUpGraph (CtrlType *ctrl, int ncon, idxtype *vtxdist, idxtype *xadj, idxtype *vwgt, idxtype *adjncy, idxtype *adjwgt, int *wgtflag)
void SetUpCtrl (CtrlType *ctrl, int nparts, int dbglvl, MPI_Comm comm)
void ChangeNumbering (idxtype *vtxdist, idxtype *xadj, idxtype *adjncy, idxtype *part, int npes, int mype, int from)
void ChangeNumberingMesh (idxtype *elmdist, idxtype *elements, idxtype *xadj, idxtype *adjncy, idxtype *part, int npes, int mype, int elmntlen, int from)
void ChangeNumberingMesh2 (idxtype *elmdist, idxtype *eptr, idxtype *eind, idxtype *xadj, idxtype *adjncy, idxtype *part, int npes, int mype, int from)
void GraphRandomPermute (GraphType *graph)
void ComputeMoveStatistics (CtrlType *ctrl, GraphType *graph, int *nmoved, int *maxin, int *maxout)


Function Documentation

GraphType* Moc_SetUpGraph ( CtrlType ctrl,
int  ncon,
idxtype vtxdist,
idxtype xadj,
idxtype vwgt,
idxtype adjncy,
idxtype adjwgt,
int wgtflag 
)

void SetUpCtrl ( CtrlType ctrl,
int  nparts,
int  dbglvl,
MPI_Comm  comm 
)

void ChangeNumbering ( idxtype vtxdist,
idxtype xadj,
idxtype adjncy,
idxtype part,
int  npes,
int  mype,
int  from 
)

void ChangeNumberingMesh ( idxtype elmdist,
idxtype elements,
idxtype xadj,
idxtype adjncy,
idxtype part,
int  npes,
int  mype,
int  elmntlen,
int  from 
)

Definition at line 143 of file grsetup.c.

References meshdef::nelms.

void ChangeNumberingMesh2 ( idxtype elmdist,
idxtype eptr,
idxtype eind,
idxtype xadj,
idxtype adjncy,
idxtype part,
int  npes,
int  mype,
int  from 
)

Definition at line 182 of file grsetup.c.

References meshdef::nelms.

Referenced by ParMETIS_V3_Mesh2Dual().

void GraphRandomPermute ( GraphType graph  ) 

Definition at line 228 of file grsetup.c.

References graphdef::adjncy, graphdef::adjwgt, graphdef::nvtxs, and graphdef::xadj.

void ComputeMoveStatistics ( CtrlType ctrl,
GraphType graph,
int nmoved,
int maxin,
int maxout 
)


Generated on Fri May 25 08:00:48 2012 for Charm++ by  doxygen 1.5.5