Home
last modified time | relevance | path

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

/petsc/src/dm/impls/composite/
H A Dpack.c1427 struct DMCompositeLink *nextf; 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.c996 const PetscInt nextf = startf + lf[i]; in DMDACoarsenOwnershipRanges() local
999 while (nextf / ratio < startc + want - stencil_width) want--; in DMDACoarsenOwnershipRanges()
1002 while ((nextf - 1 + ratio - 1) / ratio > startc + want - 1 + stencil_width) want++; in DMDACoarsenOwnershipRanges()
1003 …if (want < 0 || want > remaining || (nextf / ratio < startc + want - stencil_width) || ((nextf - 1… in DMDACoarsenOwnershipRanges()