Home
last modified time | relevance | path

Searched refs:nextc (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/composite/
H A Dpack.c1426 struct DMCompositeLink *nextc; in DMCreateInterpolation_Composite() local
1454 …for (nextc = comcoarse->next, nextf = comfine->next, i = 0; nextc; nextc = nextc->next, nextf = ne… in DMCreateInterpolation_Composite()
1455 if (!v) PetscCall(DMCreateInterpolation(nextc->dm, nextf->dm, &mats[i * nDM + i], NULL)); in DMCreateInterpolation_Composite()
1456 else PetscCall(DMCreateInterpolation(nextc->dm, nextf->dm, &mats[i * nDM + i], &vecs[i])); in DMCreateInterpolation_Composite()
/petsc/src/dm/impls/da/
H A Dda.c955 const PetscInt nextc = startc + lc[i]; in DMDARefineOwnershipRanges() local
958 while ((startf + want) / ratio < nextc - stencil_width) want++; in DMDARefineOwnershipRanges()
961 while ((startf + want - 1 + ratio - 1) / ratio > nextc - 1 + stencil_width) want--; in DMDARefineOwnershipRanges()
963 …emaining || ((startf + want) / ratio < nextc - stencil_width) || ((startf + want - 1 + ratio - 1) … in DMDARefineOwnershipRanges()