
Go to the source code of this file.
Functions | |
| void | SetUpConnectGraph (GraphType *graph, MatrixType *matrix, idxtype *workspace) |
| void | Mc_ComputeMoveStatistics (CtrlType *ctrl, GraphType *graph, int *nmoved, int *maxin, int *maxout) |
| int | Mc_ComputeSerialTotalV (GraphType *graph, idxtype *home) |
| void | ComputeLoad (GraphType *graph, int nparts, floattype *load, floattype *tpwgts, int index) |
| void | ConjGrad2 (MatrixType *A, floattype *b, floattype *x, floattype tol, floattype *workspace) |
| void | mvMult2 (MatrixType *A, floattype *v, floattype *w) |
| void | ComputeTransferVector (int ncon, MatrixType *matrix, floattype *solution, floattype *transfer, int index) |
| void SetUpConnectGraph | ( | GraphType * | graph, | |
| MatrixType * | matrix, | |||
| idxtype * | workspace | |||
| ) |
Definition at line 21 of file diffutil.c.
References graphdef::adjncy, matrixdef::colind, idxset(), matrixdef::nnzs, matrixdef::nrows, graphdef::nvtxs, matrixdef::rowptr, matrixdef::values, values, graphdef::where, and graphdef::xadj.
Referenced by Moc_Diffusion(), and WavefrontDiffusion().
| void Mc_ComputeMoveStatistics | ( | CtrlType * | ctrl, | |
| GraphType * | graph, | |||
| int * | nmoved, | |||
| int * | maxin, | |||
| int * | maxout | |||
| ) |
Definition at line 87 of file diffutil.c.
References controldef::comm, GKfree(), graphdef::home, idxamax(), idxsmalloc(), idxsum(), MPI_Allreduce(), MPI_SUM, controldef::mype, controldef::nparts, graphdef::nvtxs, controldef::ps_relation, graphdef::vsize, graphdef::vwgt, and graphdef::where.
Referenced by ParMETIS_V3_AdaptiveRepart(), and ParMETIS_V3_RefineKway().
Definition at line 131 of file diffutil.c.
References graphdef::ncon, graphdef::nvtxs, graphdef::vsize, graphdef::vwgt, and graphdef::where.
Referenced by Balance_Partition(), and WavefrontDiffusion().
Definition at line 149 of file diffutil.c.
References graphdef::ncon, meshdef::ncon, graphdef::nvtxs, graphdef::nvwgt, sset(), ssum(), and graphdef::where.
Referenced by Moc_Diffusion(), and WavefrontDiffusion().
| void ConjGrad2 | ( | MatrixType * | A, | |
| floattype * | b, | |||
| floattype * | x, | |||
| floattype | tol, | |||
| floattype * | workspace | |||
| ) |
Definition at line 179 of file diffutil.c.
References alpha, beta, matrixdef::colind, mvMult2(), n, matrixdef::nrows, p, matrixdef::rowptr, saxpy(), sdot(), snorm2(), matrixdef::values, and values.
Referenced by Moc_Diffusion(), and WavefrontDiffusion().
| void mvMult2 | ( | MatrixType * | A, | |
| floattype * | v, | |||
| floattype * | w | |||
| ) |
Definition at line 258 of file diffutil.c.
References matrixdef::colind, matrixdef::nrows, matrixdef::rowptr, and matrixdef::values.
Referenced by ConjGrad2().
| void ComputeTransferVector | ( | int | ncon, | |
| MatrixType * | matrix, | |||
| floattype * | solution, | |||
| floattype * | transfer, | |||
| int | index | |||
| ) |
Definition at line 276 of file diffutil.c.
References matrixdef::colind, matrixdef::nrows, and matrixdef::rowptr.
Referenced by Moc_Diffusion(), and WavefrontDiffusion().
1.5.5