Home
last modified time | relevance | path

Searched refs:firstRank (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag1d.c165 stag->firstRank[0] = (PetscBool)(rank == 0); in DMSetUp_Stag_1d()
196 … stag->startGhost[0] = stag->firstRank[0] ? stag->start[0] : stag->start[0] - stag->stencilWidth; in DMSetUp_Stag_1d()
198 stag->nGhost[0] += stag->firstRank[0] ? 0 : stag->stencilWidth; in DMSetUp_Stag_1d()
244 if (stag->firstRank[0]) { in DMSetUp_Stag_1d()
289 … = stag->nGhost[0] - (stag->lastRank[0] ? ghostOffsetEnd : 0) - (stag->firstRank[0] ? ghostOffset… in DMSetUp_Stag_1d()
336 const PetscInt iMin = stag->firstRank[0] ? stag->start[0] : stag->startGhost[0]; in DMSetUp_Stag_1d()
339 if (stag->firstRank[0]) { in DMSetUp_Stag_1d()
369 if (stag->firstRank[0]) { in DMSetUp_Stag_1d()
383 …PetscInt iLocalNonDummyMax = stag->firstRank[0] ? nNonDummyGhost + ghostOffsetStart : nNonDummyGho… in DMSetUp_Stag_1d()
H A Dstagutils.c406 if (isFirstRank0) *isFirstRank0 = stag->firstRank[0]; in DMStagGetIsFirstRank()
407 if (isFirstRank1) *isFirstRank1 = stag->firstRank[1]; in DMStagGetIsFirstRank()
408 if (isFirstRank2) *isFirstRank2 = stag->firstRank[2]; in DMStagGetIsFirstRank()
H A Dstag2d.c215 stag->firstRank[i] = PetscNot(stag->rank[i]); in DMSetUp_Stag_2d()
266 …for (d = 0; d < 2; ++d) dummyStart[d] = (PetscBool)(stag->firstRank[d] && stag->boundaryType[d] !=… in DMSetUp_Stag_2d()
301 if (!stag->firstRank[d]) { in DMSetUp_Stag_2d()
1053 first[d] = stag->firstRank[d]; in DMStagSetUpBuildNeighbors_2d()
H A Dstag3d.c309 stag->firstRank[d] = PetscNot(stag->rank[d]); in DMSetUp_Stag_3d()
390 if (!stag->firstRank[d]) { in DMSetUp_Stag_3d()
608 first[d] = stag->firstRank[d]; in DMStagSetUpBuildNeighbors_3d()
1010 …for (d = 0; d < 3; ++d) dummyStart[d] = (PetscBool)(stag->firstRank[d] && stag->boundaryType[d] !=… in DMStagSetUpBuildScatter_3d()
1671 …for (d = 0; d < 3; ++d) dummyStart[d] = (PetscBool)(stag->firstRank[d] && stag->boundaryType[d] !=… in DMStagSetUpBuildL2G_3d()
/petsc/include/petsc/private/
H A Ddmstagimpl.h45 PetscBool firstRank[DMSTAG_MAX_DIM]; /* First rank in this dim? */ member