Home
last modified time | relevance | path

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

/petsc/src/dm/impls/da/
H A Dda.c941 PetscInt i, totalc = 0, remaining, startc = 0, startf = 0; 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 …if (want < 0 || want > remaining || ((startf + want) / ratio < nextc - stencil_width) || ((startf in DMDARefineOwnershipRanges()
968 startf += lf[i]; in DMDARefineOwnershipRanges()
982 PetscInt i, totalf, remaining, startc, startf; in DMDACoarsenOwnershipRanges() local
992 for (i = 0, startc = 0, startf = 0; i < m; i++) { in DMDACoarsenOwnershipRanges()
996 const PetscInt nextf = startf + lf[i]; in DMDACoarsenOwnershipRanges()
1008 startf += lf[i]; in DMDACoarsenOwnershipRanges()
/petsc/src/dm/interface/
H A Ddmi.c473 PetscInt bs = -1, startf = 0; in DMCreateSectionSuperDM() local
477 for (i = 0; i < len; startf += Nfs[i], ++i) { in DMCreateSectionSuperDM()
496 PetscCall(DMGetGlobalFieldOffset_Private(*superdm, p, startf, &start, &dummy)); in DMCreateSectionSuperDM()
497 PetscCall(DMGetGlobalFieldOffset_Private(*superdm, p, startf + Nfs[i] - 1, &dummy, &end)); in DMCreateSectionSuperDM()