Home
last modified time | relevance | path

Searched refs:vnumtax (Results 1 – 25 of 40) sorted by relevance

12

/dports/cad/scotch/scotch-6.0.4/src/libscotch/
H A Dgraph_band.c87 Gnum * restrict vnumtax; /* Index array for vertices kept in band graph */ in graphBand() local
100 if ((vnumtax = memAlloc (grafptr->vertnbr * sizeof (Gnum))) == NULL) { in graphBand()
109 memSet (vnumtax, ~0, grafptr->vertnbr * sizeof (Gnum)); /* Reset part array */ in graphBand()
110 vnumtax -= grafptr->baseval; in graphBand()
117 vnumtax[vertnum] = -2; /* Set vertex as fixed */ in graphBand()
121 vnumtax[vertnum] = bandvertnum ++; /* Keep frontier vertex in band */ in graphBand()
142 if (vnumtax[vertend] != ~0) /* If end vertex has already been processed */ in graphBand()
146 vnumtax[vertend] = -2; /* Set vertex as fixed */ in graphBand()
150 vnumtax[vertend] = bandvertnum ++; /* Enqueue vertex label */ in graphBand()
160 *vnumptr = vnumtax; in graphBand()
H A Dhdgraph_order_sq.c110 Gnum * restrict vnumtax; in hdgraphOrderSq2() local
119vnumtax = grafptr->s.vnumtax; /* Save number array of subgraph to order … in hdgraphOrderSq2()
120 …grafptr->s.vnumtax = NULL; /* Assume graph does not have one (fake original g… in hdgraphOrderSq2()
136 if (vnumtax != NULL) { in hdgraphOrderSq2()
139 grafptr->s.vnumtax = vnumtax; /* Restore vertex number array */ in hdgraphOrderSq2()
141 peritab[perinum] = vnumtax[peritab[perinum]]; in hdgraphOrderSq2()
H A Dgraph_induce.c128 &indgrafptr->vnumtax, (size_t) ( indvertnbr * sizeof (Gnum)), in graphInduceList()
138 … &indgrafptr->vnumtax, (size_t) ( indvertnbr * sizeof (Gnum)), NULL) == NULL) { in graphInduceList()
144 indgrafptr->vnumtax -= indgrafptr->baseval; in graphInduceList()
163 memCpy (indgrafptr->vnumtax + indgrafptr->baseval, /* Copy vertex number array from list */ in graphInduceList()
168 indvnumtax = indgrafptr->vnumtax; in graphInduceList()
219 &indgrafptr->vnumtax, (size_t) ( indvertnbr * sizeof (Gnum)), in graphInducePart()
235 indgrafptr->vnumtax -= indgrafptr->baseval; in graphInducePart()
254 indvnumtax = indgrafptr->vnumtax; in graphInducePart()
305 const Gnum * restrict const orgvnumtax = orggrafptr->vnumtax; in graphInduce2()
310 Gnum * restrict const indvnumtax = indgrafptr->vnumtax; in graphInduce2()
[all …]
H A Dhgraph_order_si.c89 const Gnum * restrict const vnumtax = grafptr->s.vnumtax; in hgraphOrderSi() local
92 if (vnumtax == NULL) { /* If graph is original graph */ in hgraphOrderSi()
100 peritab[vnumnum] = vnumtax[vertnum]; in hgraphOrderSi()
H A Dhgraph_order_kp.c109 actgrafdat.s.vnumtax = NULL; /* Do not keep numbers from nested dissection */ in hgraphOrderKp()
160 if (grafptr->s.vnumtax == NULL) { /* If graph is original graph */ in hgraphOrderKp()
165 const Gnum * restrict vnumtax; in hgraphOrderKp() local
167 vnumtax = grafptr->s.vnumtax; in hgraphOrderKp()
169 peritab[ordetab[parttax[vertnum]] ++] = vnumtax[vertnum]; in hgraphOrderKp()
H A Dmesh_induce_sepa.c185 …&indmeshptr->vnumtax, (size_t) (orgsepanbr * sizeof (Gnum)), /* vnumtab is of size indnodenbr … in meshInduceSepa()
193 …&indmeshptr->vnumtax, (size_t) (orgsepanbr * sizeof (Gnum)), NULL); /* vnumtab is of size indnoden… in meshInduceSepa()
198 indmeshptr->vnumtax -= indmeshptr->vnodbas; /* vnumtab is of size indmeshptr->vnodnbr */ in meshInduceSepa()
227 …indmeshptr->vnumtax[orgindxtax[orgvnodnum]] = orgvnodnum - (orgmeshptr->vnodbas - orgmeshptr->base… in meshInduceSepa()
351 if (orgmeshptr->vnumtax != NULL) { /* If mesh is a submesh */ in meshInduceSepa()
353 …indmeshptr->vnumtax[indvnodnum] = orgmeshptr->vnumtax[indmeshptr->vnumtax[indvnodnum] + (orgmeshpt… in meshInduceSepa()
H A Dhgraph_induce.c109 … &indgrafptr->s.vnumtax, (size_t) ( indvertnbr * sizeof (Gnum)), NULL) == NULL) { in hgraphInduceList()
113 …memCpy (indgrafptr->s.vnumtax, orglistptr->vnumtab, orglistptr->vnumnbr * sizeof (Gnum)); /* Copy … in hgraphInduceList()
116 indgrafptr->s.vnumtax -= indgrafptr->s.baseval; in hgraphInduceList()
145 orgindxtax[indgrafptr->s.vnumtax[indvertnum]] = indvertnum; /* Mark selected vertices */ in hgraphInduceList()
211 if (orggrafptr->s.vnumtax != NULL) { /* Adjust vnumtax */ in hgraphInduce2()
212 const Gnum * restrict const orgvnumtax = orggrafptr->s.vnumtax; in hgraphInduce2()
213 Gnum * restrict const indvnumtax = indgrafptr->s.vnumtax; in hgraphInduce2()
H A Dhmesh_induce.c144 …&indmeshptr->m.vnumtax, (size_t) ( orgvnodnbr * sizeof (Gnum)), NULL) == NULL) { /* vnumtab … in hmeshInducePart()
152 indmeshptr->m.vnumtax -= indmeshptr->m.vnodbas; /* Only for non-halo nodes */ in hmeshInducePart()
177 … indmeshptr->m.vnumtax[indvnodnum] = orgvnodnum - (orgmeshptr->m.vnodbas - orgmeshptr->m.baseval); in hmeshInducePart()
310 …orgvnodnum = indmeshptr->m.vnumtax[indvertnum] + (orgmeshptr->m.vnodbas - orgmeshptr->m.baseval); … in hmeshInducePart()
356 if (orgmeshptr->m.vnumtax != NULL) { /* If source mesh is not original mesh */ in hmeshInducePart()
358 …indmeshptr->m.vnumtax[indvnodnum] = orgmeshptr->m.vnumtax[indmeshptr->m.vnumtax[indvnodnum] + (org… in hmeshInducePart()
H A Dhgraph_order_gp.c102 const Gnum * restrict const vnumtax = grafptr->s.vnumtax; in hgraphOrderGp() local
201 ordeptr->peritab[ordeval ++] = (vnumtax == NULL) ? vertnum : vnumtax[vertnum]; in hgraphOrderGp()
H A Ddgraph_gather_all.c112 …Gnum * restrict vnumtax; /* Target vertex index array for root, dummy for n… in dgraphGatherAll2() local
166 &cgrfptr->vnumtax, (size_t) (vnumnbr * sizeof (Gnum)), in dgraphGatherAll2()
220 vnumtax = (dgrfptr->vnumloctax != NULL) ? (cgrfptr->vnumtax - baseval) : NULL; in dgraphGatherAll2()
233 cgrfptr->vnumtax = vnumtax; in dgraphGatherAll2()
328vnumtax, /* Based array since procdsptab holds based values */ in dgraphGatherAll2()
H A Dmesh.c125 if ((meshptr->vnumtax != NULL) && /* And is not in vertex array group */ in meshFree()
179 if (meshptr->vnumtax != NULL) in meshBase()
180 meshptr->vnumtax -= baseadj; in meshBase()
H A Dvgraph_separate_vw.c101 (Gnum) ((grafptr->s.vnumtax != NULL) ? grafptr->s.vnumtax[vertnum] : vertnum), in vgraphSeparateVw()
H A Dwgraph_part_rb.c106 if ((orggrafptr->vnumtax != NULL) || (domnnum != 0)) { in wgraphPartRb3()
114 …if (orggrafptr->vnumtax == NULL) { /* If original graph is not itself a subgraph … in wgraphPartRb3()
123 mappptr->parttax[orggrafptr->vnumtax[vertnum]] = domnnum; in wgraphPartRb3()
193 …if (actgrafdat.s.vnumtax == NULL) { /* If the active graph is not itself a subgraph … in wgraphPartRb2()
204 mappptr->parttax[actgrafdat.s.vnumtax[vertnum]]= -1; in wgraphPartRb2()
H A Dhmesh_order_si.c82 if (meshptr->m.vnumtax == NULL) { /* If mesh is original mesh (no halo) */ in hmeshOrderSi()
97 ordeptr->peritab[ordeval] = meshptr->m.vnumtax[vnodnum]; in hmeshOrderSi()
H A Dgraph_base.c119 if (grafptr->vnumtax != NULL) in graphBase()
120 grafptr->vnumtax -= baseadj; in graphBase()
H A Dgraph.c134 if ((grafptr->vnumtax != NULL) && /* And is not in vertex array group */ in graphFree()
136 memFree (grafptr->vnumtax + grafptr->baseval); in graphFree()
H A Dhgraph.c134 ugrfptr->vnumtax = grafptr->s.vnumtax; in hgraphUnhalo()
H A Dhmesh_order_hd.c142 …(meshptr->m.vnumtax == NULL) ? NULL : meshptr->m.vnumtax + (meshptr->m.vnodbas - meshptr->m.baseva… in hmeshOrderHd()
H A Dkgraph_map_rb_map.c473 const Gnum * restrict const jobvnumtax = joboldptr->grafdat.vnumtax; in kgraphMapRbMapPoolUpdt1()
523 const Gnum * restrict const jobvnumtax = jobnewptr->grafdat.vnumtax; in kgraphMapRbMapPoolUpdt1()
635 const Gnum * restrict const jobvnumtax = jobnewptr->grafdat.vnumtax; in kgraphMapRbMapPoolUpdt2()
719 const Gnum * restrict const jobvnumtax = joboldptr->grafdat.vnumtax; in kgraphMapRbMapPoolRemv()
783 if (actgrafptr->s.vnumtax != NULL) { in kgraphMapRbMapPartBoth()
786 actvnumtax = actgrafptr->s.vnumtax; in kgraphMapRbMapPartBoth()
824 if (actgrafptr->s.vnumtax != NULL) { in kgraphMapRbMapPartOne()
827 actvnumtax = actgrafptr->s.vnumtax; in kgraphMapRbMapPartOne()
H A Dhmesh_order_hf.c145 …(meshptr->m.vnumtax == NULL) ? NULL : meshptr->m.vnumtax + (meshptr->m.vnodbas - meshptr->m.baseva… in hmeshOrderHf()
H A Dhall_order_hx.c109 const Gnum * restrict const vnumtax, /*+ Vertex number array of subgraph, if subgraph … in hallOrderHxBuild() argument
305 if (vnumtax != NULL) { /* If graph is not original graph */ in hallOrderHxBuild()
307 peritab[i] = vnumtax[peritab[i]]; in hallOrderHxBuild()
H A Dhmesh_mesh.c96 …meshptr->vnumtax = hmshptr->m.vnumtax; /* The same for vnumtab … in hmeshMesh()
H A Dhdgraph_gather.c135 Gnum * restrict vnumtax; in hdgraphGather() local
149 &vnumtax, (size_t) (vnumnbr * sizeof (Gnum)), in hdgraphGather()
156 … cgrfptr->s.vnumtax = (dgrfptr->s.vnumloctax != NULL) ? vnumtax - dgrfptr->s.baseval : NULL, in hdgraphGather()
398 cgrfptr->s.vnumtax, dgrfptr->s.proccnttab, dgrfptr->s.procdsptab, GNUM_MPI, in hdgraphGather()
H A Dhmesh_hgraph.c141 …if (meshptr->m.vnumtax != NULL) /* If (node) vertex index array present, point to … in hmeshHgraph()
142 …grafptr->s.vnumtax = meshptr->m.vnumtax + (meshptr->m.vnodbas - grafptr->s.baseval); /* Since GRAP… in hmeshHgraph()
H A Dvgraph_separate_es.c484 actgrafdat.s.vnumtax = NULL; in vgraphSeparateEs()
556 &bipgrafdat.vnumtax, (size_t) (bipgrafdat.vertnbr * sizeof (Gnum)), in vgraphSeparateEs()
602 bipgrafdat.vnumtax[bipvertnum] = actvertnum; in vgraphSeparateEs()
665 actvertnum = bipgrafdat.vnumtax[bipvertnum]; in vgraphSeparateEs()
685 actvertnum = bipgrafdat.vnumtax[bipvertnum]; in vgraphSeparateEs()

12