PPL Logo

libs/ck-libs/parmetis/METISLib/graph.c File Reference

Go to the source code of this file.

Functions

void SetUpGraph (GraphType *graph, int OpType, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *adjwgt, int wgtflag)
void SetUpGraphKway (GraphType *graph, int nvtxs, idxtype *xadj, idxtype *adjncy)
void SetUpGraph2 (GraphType *graph, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, floattype *nvwgt, idxtype *adjwgt)
void VolSetUpGraph (GraphType *graph, int OpType, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *vsize, int wgtflag)
void RandomizeGraph (GraphType *graph)
int IsConnectedSubdomain (CtrlType *ctrl, GraphType *graph, int pid, int report)
int IsConnected (CtrlType *ctrl, GraphType *graph, int report)
int IsConnected2 (GraphType *graph, int report)
int FindComponents (CtrlType *ctrl, GraphType *graph, idxtype *cptr, idxtype *cind)


Function Documentation

void SetUpGraph ( GraphType graph,
int  OpType,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
idxtype vwgt,
idxtype adjwgt,
int  wgtflag 
)

void SetUpGraphKway ( GraphType graph,
int  nvtxs,
idxtype xadj,
idxtype adjncy 
)

void SetUpGraph2 ( GraphType graph,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
floattype nvwgt,
idxtype adjwgt 
)

void VolSetUpGraph ( GraphType graph,
int  OpType,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
idxtype vwgt,
idxtype vsize,
int  wgtflag 
)

void RandomizeGraph ( GraphType graph  ) 

Definition at line 352 of file graph.c.

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

int IsConnectedSubdomain ( CtrlType ctrl,
GraphType graph,
int  pid,
int  report 
)

int IsConnected ( CtrlType ctrl,
GraphType graph,
int  report 
)

Definition at line 454 of file graph.c.

References graphdef::adjncy, idxmalloc(), idxsmalloc(), graphdef::nvtxs, printf(), and graphdef::xadj.

int IsConnected2 ( GraphType graph,
int  report 
)

int FindComponents ( CtrlType ctrl,
GraphType graph,
idxtype cptr,
idxtype cind 
)


Generated on Sat May 26 08:08:10 2012 for Charm++ by  doxygen 1.5.5