Lines Matching refs:indgrafptr

84 Hdgraph * restrict const    indgrafptr)  in hdgraphInduceList()  argument
117 memSet (indgrafptr, 0, sizeof (Hdgraph)); /* Pre-initialize graph fields */ in hdgraphInduceList()
119 indgrafptr->s.proccomm = orggrafptr->s.proccomm; in hdgraphInduceList()
120 indgrafptr->s.procglbnbr = orggrafptr->s.procglbnbr; in hdgraphInduceList()
121 indgrafptr->s.proclocnum = orggrafptr->s.proclocnum; in hdgraphInduceList()
122indgrafptr->s.flagval = (DGRAPHFREEALL ^ DGRAPHFREECOMM) | DGRAPHVERTGROUP | DGRAPHEDGEGROUP; /… in hdgraphInduceList()
140 … &indgrafptr->s.procdsptab, (size_t) ((orggrafptr->s.procglbnbr + 1) * sizeof (Gnum)), in hdgraphInduceList()
141 … &indgrafptr->s.proccnttab, (size_t) (orggrafptr->s.procglbnbr * sizeof (Gnum)), in hdgraphInduceList()
142 … &indgrafptr->s.procngbtab, (size_t) (orggrafptr->s.procglbnbr * sizeof (int)), in hdgraphInduceList()
143 … &indgrafptr->s.procrcvtab, (size_t) (orggrafptr->s.procglbnbr * sizeof (int)), in hdgraphInduceList()
144 …&indgrafptr->s.procsndtab, (size_t) (orggrafptr->s.procglbnbr * sizeof (int)), NULL) == NULL… in hdgraphInduceList()
149 …&indgrafptr->s.vertloctax, (size_t) ((indlistnbr + 1) * sizeof (Gnum)), /* Compact vertex arrays … in hdgraphInduceList()
150 …&indgrafptr->s.vendloctax, (size_t) (indlistnbr * sizeof (Gnum)), /* Vertex end array for no… in hdgraphInduceList()
151 &indgrafptr->s.vnumloctax, (size_t) (indlistnbr * sizeof (Gnum)), in hdgraphInduceList()
152 … &indgrafptr->s.veloloctax, (size_t) (indvelolocnbr * sizeof (Gnum)), NULL) == NULL) { in hdgraphInduceList()
156 else if (indgrafptr->s.vertloctax -= orggrafptr->s.baseval, in hdgraphInduceList()
157 indgrafptr->s.vendloctax -= orggrafptr->s.baseval, in hdgraphInduceList()
158 indgrafptr->s.vnumloctax -= orggrafptr->s.baseval, in hdgraphInduceList()
159indgrafptr->s.veloloctax = ((orggrafptr->s.veloloctax != NULL) ? indgrafptr->s.veloloctax - orggr… in hdgraphInduceList()
161 …&indgrafptr->s.edgeloctax, (size_t) (indedgelocmax * sizeof (Gnum)), /* Pre-allocate sp… in hdgraphInduceList()
168 indgrafptr->s.edgeloctax -= orggrafptr->s.baseval; in hdgraphInduceList()
177 … orggrafptr->s.proccnttab, 1, GNUM_MPI, indgrafptr->s.proccomm) != MPI_SUCCESS) in hdgraphInduceList()
184 indgrafptr->s.procvrttab = indgrafptr->s.procdsptab; /* Graph does not have holes */ in hdgraphInduceList()
185 indgrafptr->s.procdsptab[0] = indlistnbr; in hdgraphInduceList()
186 if (MPI_Allgather (&indgrafptr->s.procdsptab[0], 1, GNUM_MPI, in hdgraphInduceList()
187 … &indgrafptr->s.proccnttab[0], 1, GNUM_MPI, indgrafptr->s.proccomm) != MPI_SUCCESS) { in hdgraphInduceList()
194indgrafptr->s.procdsptab[0] = orggrafptr->s.baseval; /* Build vertex-to-process array … in hdgraphInduceList()
195 …for (procngbnum = 0; procngbnum < indgrafptr->s.procglbnbr; procngbnum ++) { /* Process potential … in hdgraphInduceList()
196 …if (indgrafptr->s.proccnttab[procngbnum] < 0) { /* If error notified by another process … in hdgraphInduceList()
200indgrafptr->s.procdsptab[procngbnum + 1] = indgrafptr->s.procdsptab[procngbnum] + indgrafptr->s.pr… in hdgraphInduceList()
205 hdgraphExit (indgrafptr); in hdgraphInduceList()
216 …for (indvertlocnum = orggrafptr->s.baseval, indvertglbnum = indgrafptr->s.procdsptab[indgrafptr->s… in hdgraphInduceList()
222 hdgraphExit (indgrafptr); in hdgraphInduceList()
231 indvertloctax = indgrafptr->s.vertloctax; in hdgraphInduceList()
232 indvendloctax = indgrafptr->s.vendloctax; in hdgraphInduceList()
233 indveloloctax = indgrafptr->s.veloloctax; in hdgraphInduceList()
234 indedgeloctax = indgrafptr->s.edgeloctax; in hdgraphInduceList()
301 hdgraphExit (indgrafptr); in hdgraphInduceList()
312 indgrafptr->s.edgeloctax[indedgelocnum ++] = indvhallocend; in hdgraphInduceList()
318 indgrafptr->s.edgeloctax = memRealloc (indgrafptr->s.edgeloctax + orggrafptr->s.baseval, in hdgraphInduceList()
320 indgrafptr->s.edgeloctax -= orggrafptr->s.baseval; in hdgraphInduceList()
324 indgrafptr->s.vnumloctax[indvertlocnum] = orggrafptr->s.vnumloctax[indlisttax[indvertlocnum]]; in hdgraphInduceList()
331 indgrafptr->s.vnumloctax[indvertlocnum] = indlisttax[indvertlocnum] + orgvertglbadj; in hdgraphInduceList()
333 indgrafptr->vhallocnbr = indvhallocnum - orggrafptr->s.baseval; in hdgraphInduceList()
334indgrafptr->vhndloctax = indgrafptr->s.vertloctax + 1; /* Compact edge array with halo vertices … in hdgraphInduceList()
335indgrafptr->ehallocnbr = indedgelocsiz - indedgelocnbr; /* Get number of halo edges by difference … in hdgraphInduceList()
336indgrafptr->levlnum = orggrafptr->levlnum + 1; /* Induced subgraph is one level below … in hdgraphInduceList()
338 indgrafptr->s.baseval = orggrafptr->s.baseval; in hdgraphInduceList()
339 indgrafptr->s.vertlocnbr = indlistnbr; in hdgraphInduceList()
340 indgrafptr->s.vertlocnnd = indlistnbr + orggrafptr->s.baseval; in hdgraphInduceList()
341 indgrafptr->s.velolocsum = indvelolocsum; in hdgraphInduceList()
342 indgrafptr->s.edgelocnbr = indedgelocnbr; in hdgraphInduceList()
343 indgrafptr->s.edgelocsiz = indedgelocsiz; in hdgraphInduceList()
344 indgrafptr->s.degrglbmax = orggrafptr->s.degrglbmax; in hdgraphInduceList()
345 if (dgraphBuild4 (&indgrafptr->s) != 0) { in hdgraphInduceList()
350 if (hdgraphCheck (indgrafptr) != 0) { /* Check graph consistency */ in hdgraphInduceList()
352 hdgraphExit (indgrafptr); in hdgraphInduceList()