/dports/math/ipopt/Ipopt-3.12.13/ThirdParty/Metis/metis-4.0/Lib/ |
H A D | ccgraph.c | 547 idxcopy(cgraph->nedges, cgraph->adjwgt, cgraph->adjncy+cgraph->nedges); in ReAdjustMemory() 555 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 558 cgraph->cmap = cgraph->gdata + 4*cgraph->nvtxs+1; in ReAdjustMemory() 560 cgraph->adjwgt = cgraph->gdata + 5*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 567 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 569 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 571 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 580 cgraph->vsize = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 582 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 584 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() [all …]
|
H A D | mcoarsen.c | 22 GraphType *cgraph; in MCCoarsen2Way() local 26 cgraph = graph; in MCCoarsen2Way() 31 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 32 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 34 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() 88 cgraph = cgraph->coarser; in MCCoarsen2Way() 91 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in MCCoarsen2Way() 94 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 95 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 97 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() [all …]
|
H A D | coarsen.c | 22 GraphType *cgraph; in Coarsen2Way() local 26 cgraph = graph; in Coarsen2Way() 39 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 40 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() 42 if (cgraph->adjwgt) { in Coarsen2Way() 45 Match_RM(ctrl, cgraph); in Coarsen2Way() 70 cgraph = cgraph->coarser; in Coarsen2Way() 73 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in Coarsen2Way() 76 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 77 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() [all …]
|
H A D | mkmetis.c | 80 GraphType *cgraph; in MCMlevelKWayPartitioning() local 83 cgraph = MCCoarsen2Way(ctrl, graph); in MCMlevelKWayPartitioning() 86 MocAllocateKWayPartitionMemory(ctrl, cgraph, nparts); in MCMlevelKWayPartitioning() 100 METIS_mCPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 101 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 102 options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 104 METIS_mCHPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 105 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 106 rubvec, options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 112 IFSET(ctrl->dbglvl, DBG_KWAYPINFO, ComputePartitionInfo(cgraph, nparts, cgraph->where)); in MCMlevelKWayPartitioning() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/Graclus/metisLib/ |
H A D | ccgraph.c | 547 idxcopy(cgraph->nedges, cgraph->adjwgt, cgraph->adjncy+cgraph->nedges); in ReAdjustMemory() 555 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 558 cgraph->cmap = cgraph->gdata + 4*cgraph->nvtxs+1; in ReAdjustMemory() 560 cgraph->adjwgt = cgraph->gdata + 5*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 567 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 569 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 571 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 580 cgraph->vsize = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 582 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 584 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() [all …]
|
H A D | coarsen.c | 22 GraphType *cgraph; in Coarsen2Way() local 26 cgraph = graph; in Coarsen2Way() 39 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 40 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() 42 if (cgraph->adjwgt) { in Coarsen2Way() 45 Match_RM(ctrl, cgraph); in Coarsen2Way() 82 cgraph = cgraph->coarser; in Coarsen2Way() 85 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in Coarsen2Way() 89 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 90 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() [all …]
|
H A D | mcoarsen.c | 22 GraphType *cgraph; in MCCoarsen2Way() local 26 cgraph = graph; in MCCoarsen2Way() 31 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 32 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 34 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() 73 cgraph = cgraph->coarser; in MCCoarsen2Way() 76 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in MCCoarsen2Way() 79 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 80 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 82 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() [all …]
|
H A D | mkmetis.c | 80 GraphType *cgraph; in MCMlevelKWayPartitioning() local 83 cgraph = MCCoarsen2Way(ctrl, graph); in MCMlevelKWayPartitioning() 86 MocAllocateKWayPartitionMemory(ctrl, cgraph, nparts); in MCMlevelKWayPartitioning() 100 METIS_mCPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 101 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 102 options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 104 METIS_mCHPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 105 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 106 rubvec, options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 112 IFSET(ctrl->dbglvl, DBG_KWAYPINFO, ComputePartitionInfo(cgraph, nparts, cgraph->where)); in MCMlevelKWayPartitioning() [all …]
|
/dports/science/siconos/siconos-4.4.0/externals/lbl/metis4/ |
H A D | ccgraph.c | 547 idxcopy(cgraph->nedges, cgraph->adjwgt, cgraph->adjncy+cgraph->nedges); in ReAdjustMemory() 555 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 558 cgraph->cmap = cgraph->gdata + 4*cgraph->nvtxs+1; in ReAdjustMemory() 560 cgraph->adjwgt = cgraph->gdata + 5*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 567 cgraph->vwgt = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 569 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 571 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() 580 cgraph->vsize = cgraph->gdata + cgraph->nvtxs+1; in ReAdjustMemory() 582 cgraph->cmap = cgraph->gdata + 3*cgraph->nvtxs+1; in ReAdjustMemory() 584 cgraph->adjwgt = cgraph->gdata + 4*cgraph->nvtxs+1 + cgraph->nedges; in ReAdjustMemory() [all …]
|
H A D | mcoarsen.c | 22 GraphType *cgraph; in MCCoarsen2Way() local 26 cgraph = graph; in MCCoarsen2Way() 31 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 32 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 34 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() 88 cgraph = cgraph->coarser; in MCCoarsen2Way() 91 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in MCCoarsen2Way() 94 printf("%6d %7d %10d [%d] [%6.4f", cgraph->nvtxs, cgraph->nedges, in MCCoarsen2Way() 95 idxsum(cgraph->nvtxs, cgraph->adjwgtsum), ctrl->CoarsenTo, ctrl->nmaxvwgt); in MCCoarsen2Way() 97 printf(" %5.3f", ssum_strd(cgraph->nvtxs, cgraph->nvwgt+i, cgraph->ncon)); in MCCoarsen2Way() [all …]
|
H A D | coarsen.c | 22 GraphType *cgraph; in Coarsen2Way() local 26 cgraph = graph; in Coarsen2Way() 39 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 40 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() 42 if (cgraph->adjwgt) { in Coarsen2Way() 45 Match_RM(ctrl, cgraph); in Coarsen2Way() 70 cgraph = cgraph->coarser; in Coarsen2Way() 73 …} while (cgraph->nvtxs > ctrl->CoarsenTo && cgraph->nvtxs < COARSEN_FRACTION2*cgraph->finer->nvtxs… in Coarsen2Way() 76 cgraph->nvtxs, cgraph->nedges, ctrl->CoarsenTo, ctrl->maxvwgt, in Coarsen2Way() 77 (cgraph->vwgt ? idxsum(cgraph->nvtxs, cgraph->vwgt) : cgraph->nvtxs))); in Coarsen2Way() [all …]
|
H A D | mkmetis.c | 80 GraphType *cgraph; in MCMlevelKWayPartitioning() local 83 cgraph = MCCoarsen2Way(ctrl, graph); in MCMlevelKWayPartitioning() 86 MocAllocateKWayPartitionMemory(ctrl, cgraph, nparts); in MCMlevelKWayPartitioning() 100 METIS_mCPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 101 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 102 options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 104 METIS_mCHPartGraphRecursiveInternal(&cgraph->nvtxs, &cgraph->ncon, in MCMlevelKWayPartitioning() 105 cgraph->xadj, cgraph->adjncy, cgraph->nvwgt, cgraph->adjwgt, &nparts, in MCMlevelKWayPartitioning() 106 rubvec, options, &edgecut, cgraph->where); in MCMlevelKWayPartitioning() 112 IFSET(ctrl->dbglvl, DBG_KWAYPINFO, ComputePartitionInfo(cgraph, nparts, cgraph->where)); in MCMlevelKWayPartitioning() [all …]
|
/dports/math/parmgridgen/ParMGridGen-1.0/MGridGen/Lib/ |
H A D | coarsen.c | 22 cgraph = graph; in Coarsen() 26 cgraph->xadj[cgraph->nvtxs])); in Coarsen() 46 cgraph = cgraph->coarser; in Coarsen() 48 } while (cgraph->nvtxs < cgraph->finer->nvtxs); in Coarsen() 51 cgraph->nvtxs, cgraph->finer->nvtxs)); in Coarsen() 69 cgraph->xadj[cgraph->nvtxs])); in Coarsen_Restricted() 77 cgraph = cgraph->coarser; in Coarsen_Restricted() 85 } while (cgraph->nvtxs < cgraph->finer->nvtxs); in Coarsen_Restricted() 98 cgraph->xadj[cgraph->nvtxs])); in Coarsen_Restricted() 101 cgraph = cgraph->coarser; in Coarsen_Restricted() [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/ |
H A D | commit_graph.c | 46 git_commit_graph_file *cgraph, in commit_graph_parse_oid_fanout() argument 66 cgraph->num_commits = nr; in commit_graph_parse_oid_fanout() 142 GIT_ASSERT_ARG(cgraph); in git_commit_graph_parse() 278 *cgraph_out = cgraph; in git_commit_graph_open() 290 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_get_byindex() 381 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_find() 431 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_parent() 443 cgraph, in git_commit_graph_entry_parent() 454 GIT_ASSERT_ARG(cgraph); in git_commit_graph_close() 464 if (!cgraph) in git_commit_graph_free() [all …]
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libgit2-sys-0.12.22+1.1.0/libgit2/src/ |
H A D | commit_graph.c | 46 git_commit_graph_file *cgraph, in commit_graph_parse_oid_fanout() argument 66 cgraph->num_commits = nr; in commit_graph_parse_oid_fanout() 142 GIT_ASSERT_ARG(cgraph); in git_commit_graph_parse() 278 *cgraph_out = cgraph; in git_commit_graph_open() 290 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_get_byindex() 381 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_find() 431 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_parent() 443 cgraph, in git_commit_graph_entry_parent() 454 GIT_ASSERT_ARG(cgraph); in git_commit_graph_close() 464 if (!cgraph) in git_commit_graph_free() [all …]
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/ |
H A D | commit_graph.c | 46 git_commit_graph_file *cgraph, in commit_graph_parse_oid_fanout() argument 66 cgraph->num_commits = nr; in commit_graph_parse_oid_fanout() 142 GIT_ASSERT_ARG(cgraph); in git_commit_graph_parse() 278 *cgraph_out = cgraph; in git_commit_graph_open() 290 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_get_byindex() 381 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_find() 431 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_parent() 443 cgraph, in git_commit_graph_entry_parent() 454 GIT_ASSERT_ARG(cgraph); in git_commit_graph_close() 464 if (!cgraph) in git_commit_graph_free() [all …]
|
/dports/textproc/bat/bat-0.18.3/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/ |
H A D | commit_graph.c | 46 git_commit_graph_file *cgraph, in commit_graph_parse_oid_fanout() argument 66 cgraph->num_commits = nr; in commit_graph_parse_oid_fanout() 142 GIT_ASSERT_ARG(cgraph); in git_commit_graph_parse() 278 *cgraph_out = cgraph; in git_commit_graph_open() 290 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_get_byindex() 381 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_find() 431 GIT_ASSERT_ARG(cgraph); in git_commit_graph_entry_parent() 443 cgraph, in git_commit_graph_entry_parent() 454 GIT_ASSERT_ARG(cgraph); in git_commit_graph_close() 464 if (!cgraph) in git_commit_graph_free() [all …]
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/cgraph/ |
H A D | Makefile.am | 14 pkginclude_HEADERS = cgraph.h 19 man_MANS = cgraph.3 20 pdf_DATA = cgraph.3.pdf 32 scan.c: $(top_srcdir)/lib/cgraph/scan.l 33 @LEX@ -i $(top_srcdir)/lib/cgraph/scan.l 49 y.output: $(top_srcdir)/lib/cgraph/grammar.y 50 @YACC@ -dv $(top_srcdir)/lib/cgraph/grammar.y 52 cgraph.3.pdf: cgraph.3.ps 55 cgraph.3.ps: $(srcdir)/cgraph.3 60 y.tab.c y.tab.h y.output cgraph.vcxproj* [all …]
|
/dports/math/parmetis/parmetis-4.0.3/metis/libmetis/ |
H A D | coarsen.c | 629 graph_t *cgraph; in CreateCoarseGraph() local 781 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 782 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 807 graph_t *cgraph; in CreateCoarseGraphNoMask() local 912 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 913 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1076 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1077 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1117 return cgraph; in SetupCoarseGraph() 1129 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/math/py-PyMetis/PyMetis-2020.1/src/metis/libmetis/ |
H A D | coarsen.c | 629 graph_t *cgraph; in CreateCoarseGraph() local 781 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 782 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 807 graph_t *cgraph; in CreateCoarseGraphNoMask() local 912 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 913 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1076 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1077 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1117 return cgraph; in SetupCoarseGraph() 1129 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/metis/libmetis/ |
H A D | coarsen.c | 629 graph_t *cgraph; in CreateCoarseGraph() local 781 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 782 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 807 graph_t *cgraph; in CreateCoarseGraphNoMask() local 912 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 913 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1076 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1077 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1117 return cgraph; in SetupCoarseGraph() 1129 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/contrib/metis/libmetis/ |
H A D | coarsen.c | 629 graph_t *cgraph; in CreateCoarseGraph() local 781 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 782 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 807 graph_t *cgraph; in CreateCoarseGraphNoMask() local 912 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 913 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1076 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1077 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1117 return cgraph; in SetupCoarseGraph() 1129 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/science/octopus/octopus-10.5/external_libs/metis-5.1/libmetis/ |
H A D | coarsen.c | 628 graph_t *cgraph; in CreateCoarseGraph() local 780 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 781 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 806 graph_t *cgraph; in CreateCoarseGraphNoMask() local 911 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 912 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1075 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1076 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1116 return cgraph; in SetupCoarseGraph() 1128 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/math/metis/metis-5.1.0/libmetis/ |
H A D | coarsen.c | 629 graph_t *cgraph; in CreateCoarseGraph() local 781 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraph() 782 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraph() 807 graph_t *cgraph; in CreateCoarseGraphNoMask() local 912 cgraph->tvwgt[j] = isum(cgraph->nvtxs, cgraph->vwgt+j, ncon); in CreateCoarseGraphNoMask() 913 cgraph->invtvwgt[j] = 1.0/(cgraph->tvwgt[j] > 0 ? cgraph->tvwgt[j] : 1); in CreateCoarseGraphNoMask() 1076 cgraph->tvwgt[i] = isum(cgraph->nvtxs, cgraph->vwgt+i, ncon); in CreateCoarseGraphPerm() 1077 cgraph->invtvwgt[i] = 1.0/(cgraph->tvwgt[i] > 0 ? cgraph->tvwgt[i] : 1); in CreateCoarseGraphPerm() 1117 return cgraph; in SetupCoarseGraph() 1129 cgraph->adjncy = irealloc(cgraph->adjncy, cgraph->nedges, "ReAdjustMemory: adjncy"); in ReAdjustMemory() [all …]
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/topfish/ |
H A D | hierarchy.c | 554 cgraph[cv].ewgts[0] += in make_coarse_graph() 578 *cgp = cgraph; in make_coarse_graph() 614 cgraph[cv].edges = edges; in make_coarse_ex_graph() 644 cgraph[cv].x_coord = in make_coarse_ex_graph() 645 (cgraph[cv].size * cgraph[cv].x_coord + in make_coarse_ex_graph() 648 cgraph[cv].y_coord = in make_coarse_ex_graph() 649 (cgraph[cv].size * cgraph[cv].y_coord + in make_coarse_ex_graph() 655 cgraph[cv].edges[0] = cv; in make_coarse_ex_graph() 662 *cgp = cgraph; in make_coarse_ex_graph() 926 ex_vtx_data *cgraph; in set_active_levels() local [all …]
|