/dports/math/ipopt/Ipopt-3.12.13/ThirdParty/Metis/metis-4.0/Lib/ |
H A D | graph.c | 35 graph->nvtxs = nvtxs; in SetUpGraph() 71 gsize += nvtxs; in SetUpGraph() 81 gsize += nvtxs; in SetUpGraph() 148 graph->nvtxs = nvtxs; in SetUpGraphKway() 178 graph->nvtxs = nvtxs; in SetUpGraph2() 221 graph->nvtxs = nvtxs; in VolSetUpGraph() 357 nvtxs = graph->nvtxs; in RandomizeGraph() 382 nvtxs = graph->nvtxs; in IsConnectedSubdomain() 459 nvtxs = graph->nvtxs; in IsConnected() 497 nvtxs = graph->nvtxs; in IsConnected2() [all …]
|
H A D | match.c | 30 nvtxs = graph->nvtxs; in Match_RM() 37 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_RM() 83 nvtxs = graph->nvtxs; in Match_RM_NVW() 88 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_RM_NVW() 135 nvtxs = graph->nvtxs; in Match_HEM() 142 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_HEM() 191 nvtxs = graph->nvtxs; in Match_SHEM() 198 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_SHEM() 205 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in Match_SHEM() 206 for (i=0; i<nvtxs; i++) in Match_SHEM() [all …]
|
H A D | mmatch.c | 31 nvtxs = graph->nvtxs; in MCMatch_RM() 39 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_RM() 88 nvtxs = graph->nvtxs; in MCMatch_HEM() 96 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_HEM() 147 nvtxs = graph->nvtxs; in MCMatch_SHEM() 155 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_SHEM() 162 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEM() 241 nvtxs = graph->nvtxs; in MCMatch_SHEBM() 256 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEBM() 342 nvtxs = graph->nvtxs; in MCMatch_SBHEM() [all …]
|
H A D | initpart.c | 89 nvtxs = graph->nvtxs; in GrowBisection() 112 idxset(nvtxs, 0, touched); in GrowBisection() 117 idxset(nvtxs, 1, where); in GrowBisection() 122 nleft = nvtxs-1; in GrowBisection() 171 i = RandomInRange(nvtxs); in GrowBisection() 216 nvtxs = graph->nvtxs; in GrowBisectionNode() 251 idxset(nvtxs, 0, touched); in GrowBisectionNode() 256 idxset(nvtxs, 1, where); in GrowBisectionNode() 261 nleft = nvtxs-1; in GrowBisectionNode() 352 nvtxs = graph->nvtxs; in RandomBisection() [all …]
|
H A D | frename.c | 95 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_EDGEND() 99 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend() 103 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend_() 107 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend__() 114 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_NODEND() 118 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend() 122 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend_() 126 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend__() 224 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in METIS_ESTIMATEMEMORY() 228 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in metis_estimatememory() [all …]
|
H A D | ometis.c | 136 if (graph.nvtxs >= COMPRESSION_FRACTION*(*nvtxs)) { in METIS_NodeND() 140 else if (2*graph.nvtxs < *nvtxs && ctrl.nseps == 1) in METIS_NodeND() 162 if (graph.nvtxs < *nvtxs) { in METIS_NodeND() 166 for (i=graph.nvtxs; i<*nvtxs; i++) in METIS_NodeND() 173 if (graph.nvtxs < COMPRESSION_FRACTION*(*nvtxs)) { in METIS_NodeND() 269 nvtxs = graph->nvtxs; in MlevelNestedDissection() 330 nvtxs = graph->nvtxs; in MlevelNestedDissectionCC() 397 nvtxs = graph->nvtxs; in MlevelNodeBisectionMultiple() 518 nvtxs = graph->nvtxs; in SplitGraphOrder() 623 nvtxs = graph->nvtxs; in MMDOrder() [all …]
|
/dports/science/siconos/siconos-4.4.0/externals/lbl/metis4/ |
H A D | graph.c | 35 graph->nvtxs = nvtxs; in SetUpGraph() 71 gsize += nvtxs; in SetUpGraph() 81 gsize += nvtxs; in SetUpGraph() 148 graph->nvtxs = nvtxs; in SetUpGraphKway() 178 graph->nvtxs = nvtxs; in SetUpGraph2() 221 graph->nvtxs = nvtxs; in VolSetUpGraph() 357 nvtxs = graph->nvtxs; in RandomizeGraph() 382 nvtxs = graph->nvtxs; in IsConnectedSubdomain() 459 nvtxs = graph->nvtxs; in IsConnected() 497 nvtxs = graph->nvtxs; in IsConnected2() [all …]
|
H A D | match.c | 30 nvtxs = graph->nvtxs; in Match_RM() 37 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_RM() 83 nvtxs = graph->nvtxs; in Match_RM_NVW() 88 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_RM_NVW() 135 nvtxs = graph->nvtxs; in Match_HEM() 142 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_HEM() 191 nvtxs = graph->nvtxs; in Match_SHEM() 198 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_SHEM() 205 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in Match_SHEM() 206 for (i=0; i<nvtxs; i++) in Match_SHEM() [all …]
|
H A D | mmatch.c | 31 nvtxs = graph->nvtxs; in MCMatch_RM() 39 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_RM() 88 nvtxs = graph->nvtxs; in MCMatch_HEM() 96 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_HEM() 147 nvtxs = graph->nvtxs; in MCMatch_SHEM() 155 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_SHEM() 162 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEM() 241 nvtxs = graph->nvtxs; in MCMatch_SHEBM() 256 avgdegree = 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEBM() 342 nvtxs = graph->nvtxs; in MCMatch_SBHEM() [all …]
|
H A D | initpart.c | 89 nvtxs = graph->nvtxs; in GrowBisection() 112 idxset(nvtxs, 0, touched); in GrowBisection() 117 idxset(nvtxs, 1, where); in GrowBisection() 122 nleft = nvtxs-1; in GrowBisection() 171 i = RandomInRange(nvtxs); in GrowBisection() 216 nvtxs = graph->nvtxs; in GrowBisectionNode() 251 idxset(nvtxs, 0, touched); in GrowBisectionNode() 256 idxset(nvtxs, 1, where); in GrowBisectionNode() 261 nleft = nvtxs-1; in GrowBisectionNode() 352 nvtxs = graph->nvtxs; in RandomBisection() [all …]
|
H A D | frename.c | 95 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_EDGEND() 99 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend() 103 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend_() 107 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend__() 114 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_NODEND() 118 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend() 122 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend_() 126 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend__() 224 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in METIS_ESTIMATEMEMORY() 228 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in metis_estimatememory() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/Graclus/metisLib/ |
H A D | graph.c | 35 graph->nvtxs = nvtxs; in SetUpGraph() 71 gsize += nvtxs; in SetUpGraph() 81 gsize += nvtxs; in SetUpGraph() 148 graph->nvtxs = nvtxs; in SetUpGraphKway() 178 graph->nvtxs = nvtxs; in SetUpGraph2() 221 graph->nvtxs = nvtxs; in VolSetUpGraph() 357 nvtxs = graph->nvtxs; in RandomizeGraph() 382 nvtxs = graph->nvtxs; in IsConnectedSubdomain() 459 nvtxs = graph->nvtxs; in IsConnected() 497 nvtxs = graph->nvtxs; in IsConnected2() [all …]
|
H A D | match.c | 30 nvtxs = graph->nvtxs; in Match_SHEMN() 38 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_SHEMN() 45 avgdegree = (int) 0.7*(xadj[nvtxs]/nvtxs); in Match_SHEMN() 125 nvtxs = graph->nvtxs; in Match_HEMN() 133 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_HEMN() 183 nvtxs = graph->nvtxs; in Match_RM() 190 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in Match_RM() 236 nvtxs = graph->nvtxs; in Match_RM_NVW() 289 nvtxs = graph->nvtxs; in Match_HEM() 345 nvtxs = graph->nvtxs; in Match_SHEM() [all …]
|
H A D | mmatch.c | 31 nvtxs = graph->nvtxs; in MCMatch_RM() 39 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_RM() 88 nvtxs = graph->nvtxs; in MCMatch_HEM() 96 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_HEM() 147 nvtxs = graph->nvtxs; in MCMatch_SHEM() 155 match = idxset(nvtxs, UNMATCHED, idxwspacemalloc(ctrl, nvtxs)); in MCMatch_SHEM() 162 avgdegree = (int) 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEM() 241 nvtxs = graph->nvtxs; in MCMatch_SHEBM() 256 avgdegree = (int) 0.7*(xadj[nvtxs]/nvtxs); in MCMatch_SHEBM() 342 nvtxs = graph->nvtxs; in MCMatch_SBHEM() [all …]
|
H A D | initpart.c | 89 nvtxs = graph->nvtxs; in GrowBisection() 112 idxset(nvtxs, 0, touched); in GrowBisection() 117 idxset(nvtxs, 1, where); in GrowBisection() 122 nleft = nvtxs-1; in GrowBisection() 171 i = RandomInRange(nvtxs); in GrowBisection() 216 nvtxs = graph->nvtxs; in GrowBisectionNode() 251 idxset(nvtxs, 0, touched); in GrowBisectionNode() 256 idxset(nvtxs, 1, where); in GrowBisectionNode() 261 nleft = nvtxs-1; in GrowBisectionNode() 352 nvtxs = graph->nvtxs; in RandomBisection() [all …]
|
H A D | frename.c | 95 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_EDGEND() 99 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend() 103 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend_() 107 METIS_EdgeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_edgend__() 114 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in METIS_NODEND() 118 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend() 122 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend_() 126 METIS_NodeND(nvtxs, xadj, adjncy, numflag, options, perm, iperm); in metis_nodend__() 224 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in METIS_ESTIMATEMEMORY() 228 METIS_EstimateMemory(nvtxs, xadj, adjncy, numflag, optype, nbytes); in metis_estimatememory() [all …]
|
/dports/math/parmetis/parmetis-4.0.3/metis/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; in RandomBisection() 139 iset(nvtxs, 1, where); in RandomBisection() 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in RandomBisection() 200 nvtxs = graph->nvtxs; in GrowBisection() 229 nleft = nvtxs-1; in GrowBisection() 334 nvtxs = graph->nvtxs; in McRandomBisection() 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in McRandomBisection() 393 nvtxs = graph->nvtxs; in McGrowBisection() 443 nvtxs = graph->nvtxs; in GrowBisectionNode() 479 nleft = nvtxs-1; in GrowBisectionNode() [all …]
|
/dports/math/py-PyMetis/PyMetis-2020.1/src/metis/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; 139 iset(nvtxs, 1, where); 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); 200 nvtxs = graph->nvtxs; 229 nleft = nvtxs-1; 334 nvtxs = graph->nvtxs; 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); 393 nvtxs = graph->nvtxs; 443 nvtxs = graph->nvtxs; 479 nleft = nvtxs-1; [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/metis/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; in RandomBisection() 139 iset(nvtxs, 1, where); in RandomBisection() 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in RandomBisection() 200 nvtxs = graph->nvtxs; in GrowBisection() 229 nleft = nvtxs-1; in GrowBisection() 334 nvtxs = graph->nvtxs; in McRandomBisection() 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in McRandomBisection() 393 nvtxs = graph->nvtxs; in McGrowBisection() 443 nvtxs = graph->nvtxs; in GrowBisectionNode() 479 nleft = nvtxs-1; in GrowBisectionNode() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/contrib/metis/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; in RandomBisection() 139 iset(nvtxs, 1, where); in RandomBisection() 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in RandomBisection() 200 nvtxs = graph->nvtxs; in GrowBisection() 229 nleft = nvtxs-1; in GrowBisection() 334 nvtxs = graph->nvtxs; in McRandomBisection() 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in McRandomBisection() 393 nvtxs = graph->nvtxs; in McGrowBisection() 443 nvtxs = graph->nvtxs; in GrowBisectionNode() 479 nleft = nvtxs-1; in GrowBisectionNode() [all …]
|
/dports/science/octopus/octopus-10.5/external_libs/metis-5.1/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; in RandomBisection() 139 iset(nvtxs, 1, where); in RandomBisection() 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in RandomBisection() 200 nvtxs = graph->nvtxs; in GrowBisection() 229 nleft = nvtxs-1; in GrowBisection() 334 nvtxs = graph->nvtxs; in McRandomBisection() 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in McRandomBisection() 393 nvtxs = graph->nvtxs; in McGrowBisection() 443 nvtxs = graph->nvtxs; in GrowBisectionNode() 479 nleft = nvtxs-1; in GrowBisectionNode() [all …]
|
/dports/math/metis/metis-5.1.0/libmetis/ |
H A D | initpart.c | 124 nvtxs = graph->nvtxs; in RandomBisection() 139 iset(nvtxs, 1, where); in RandomBisection() 142 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in RandomBisection() 200 nvtxs = graph->nvtxs; in GrowBisection() 229 nleft = nvtxs-1; in GrowBisection() 334 nvtxs = graph->nvtxs; in McRandomBisection() 346 irandArrayPermute(nvtxs, perm, nvtxs/2, 1); in McRandomBisection() 393 nvtxs = graph->nvtxs; in McGrowBisection() 443 nvtxs = graph->nvtxs; in GrowBisectionNode() 479 nleft = nvtxs-1; in GrowBisectionNode() [all …]
|
/dports/math/parmgridgen/ParMGridGen-1.0/MGridGen/Lib/ |
H A D | match.c | 23 nvtxs = graph->nvtxs; in Match_RM() 32 RandomPermute(nvtxs, perm, 1); in Match_RM() 35 for (ii=0; ii<nvtxs; ii++) { in Match_RM() 74 nvtxs = graph->nvtxs; in Match_HEM() 90 BucketSortKeysInc(nvtxs, vwgt[iamax(nvtxs, vwgt)], vwgt, tperm, perm); in Match_HEM() 139 nvtxs = graph->nvtxs; in Match_HEM_Slow() 155 BucketSortKeysInc(nvtxs, vwgt[iamax(nvtxs, vwgt)], vwgt, tperm, perm); in Match_HEM_Slow() 209 nvtxs = graph->nvtxs; in Match_HEM_Slow_Restricted() 278 nvtxs = graph->nvtxs; in Match_HEM_True() 314 idxset(nvtxs, -1, perm); in Match_HEM_True() [all …]
|
/dports/math/chaco/Chaco-2.2/code/coarsen/ |
H A D | coarsen.c | 109 total_vwgt = nvtxs; 123 twptr += nvtxs + 1; 171 nvtxs, cnvtxs); 176 nvtxs, cnvtxs); 243 r2 = &r1[nvtxs + 1]; 244 v = &r1[2 * (nvtxs + 1)]; 245 w = &r1[3 * (nvtxs + 1)]; 246 x = &r1[4 * (nvtxs + 1)]; 247 y = &r1[5 * (nvtxs + 1)]; 248 work = &r1[6 * (nvtxs + 1)]; [all …]
|
/dports/math/ipopt/Ipopt-3.12.13/ThirdParty/Metis/metis-4.0/Test/ |
H A D | mtest.c | 71 vwgt = idxmalloc(nvtxs, "vwgt"); in Test_PartGraph() 72 for (i=0; i<nvtxs; i++) in Test_PartGraph() 76 for (i=0; i<nvtxs; i++) { in Test_PartGraph() 92 part = idxmalloc(nvtxs, "part"); in Test_PartGraph() 614 for (i=0; i<nvtxs; i++) in Test_PartGraphV() 618 for (i=0; i<nvtxs; i++) in Test_PartGraphV() 962 for (i=0; i<ncon*nvtxs; i++) in Test_PartGraphmC() 966 for (i=0; i<nvtxs; i++) { in Test_PartGraphmC() 1443 for (i=0; i<nvtxs; i++) in Test_ND() 1761 for (i=0; i<nvtxs; i++) { in VerifyND() [all …]
|