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

Go to the source code of this file.

Functions

void Balance_Partition (CtrlType *ctrl, GraphType *graph, WorkSpaceType *wspace)
GraphTypeMoc_AssembleAdaptiveGraph (CtrlType *ctrl, GraphType *graph, WorkSpaceType *wspace)


Function Documentation

void Balance_Partition ( CtrlType ctrl,
GraphType graph,
WorkSpaceType wspace 
)

Definition at line 22 of file initbalance.c.

References graphdef::adjncy, graphdef::adjwgt, controldef::comm, ComputeSerialEdgeCut(), controldef::dbglvl, fsmalloc(), controldef::gcomm, GKfree(), graph, idxmalloc(), idxset(), imalloc(), controldef::InitPartTmr, controldef::ipc_factor, graphdef::label, Mc_ComputeSerialTotalV(), METIS_mCPartGraphRecursive2(), METIS_WPartGraphKway2(), Moc_AssembleAdaptiveGraph(), Moc_ComputeSerialBalance(), Moc_Diffusion(), Moc_KeepPart(), MPI_Allgatherv(), MPI_Allreduce(), MPI_Bcast(), MPI_Comm_free(), MPI_Comm_rank(), MPI_Comm_size(), MPI_Comm_split(), MPI_DOUBLE, MPI_DOUBLE_INT, MPI_INT, MPI_MAX, MPI_MIN, MPI_MINLOC, MPI_Recv(), MPI_Send(), MPI_SUM, MPI_UNDEFINED, controldef::mype, graphdef::ncon, graphdef::nedges, controldef::nparts, controldef::npes, graphdef::nvtxs, graphdef::nvwgt, controldef::partType, printf(), controldef::ps_relation, controldef::redist_base, controldef::redist_factor, rprintf(), controldef::seed, SerialRemap(), sscale(), ssum(), starttimer, status(), controldef::sync, controldef::tpwgts, controldef::tvwgts, controldef::ubvec, graphdef::vsize, graphdef::vwgt, WavefrontDiffusion(), graphdef::where, and graphdef::xadj.

Referenced by Adaptive_Partition().

GraphType* Moc_AssembleAdaptiveGraph ( CtrlType ctrl,
GraphType graph,
WorkSpaceType wspace 
)

Definition at line 366 of file initbalance.c.

References graphdef::adjncy, graphdef::adjwgt, controldef::comm, workspacedef::core, CreateGraph(), fmalloc(), free(), GKfree(), graph, idxmalloc(), imalloc(), graphdef::label, workspacedef::maxcore, MPI_Allgather(), MPI_Allgatherv(), MPI_INT, graphdef::ncon, graphdef::nedges, controldef::npes, graphdef::nvtxs, graphdef::nvwgt, controldef::partType, printf(), controldef::tvwgts, graphdef::vsize, graphdef::vwgt, and graphdef::xadj.

Referenced by Balance_Partition(), Moc_InitPartition_RB(), and PartitionSmallGraph().


Generated on Sun Jun 29 13:29:36 2008 for Charm++ by  doxygen 1.5.1