Searched refs:ghostOffsetStart (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag3d.c | 964 …PetscInt d, ghostOffsetStart[3], ghostOffsetEnd[3], entriesPerCorner, entriesPerEdge, entrie… in DMStagSetUpBuildScatter_3d() local 998 for (d = 0; d < 3; ++d) ghostOffsetStart[d] = stag->start[d] - stag->startGhost[d]; in DMStagSetUpBuildScatter_3d() 1024 …for (d = 0; d < 3; ++d) nNonDummyGhost[d] = stag->nGhost[d] - (dummyStart[d] ? ghostOffsetStart[d]… in DMStagSetUpBuildScatter_3d() 1066 const PetscInt start0 = nNeighbors[neighbor][0] - ghostOffsetStart[0]; in DMStagSetUpBuildScatter_3d() 1067 const PetscInt start1 = nNeighbors[neighbor][1] - ghostOffsetStart[1]; in DMStagSetUpBuildScatter_3d() 1068 const PetscInt start2 = nNeighbors[neighbor][2] - ghostOffsetStart[2]; in DMStagSetUpBuildScatter_3d() 1072 const PetscInt endGhost0 = ghostOffsetStart[0]; in DMStagSetUpBuildScatter_3d() 1073 const PetscInt endGhost1 = ghostOffsetStart[1]; in DMStagSetUpBuildScatter_3d() 1074 const PetscInt endGhost2 = ghostOffsetStart[2]; in DMStagSetUpBuildScatter_3d() 1088 const PetscInt start1 = nNeighbors[neighbor][1] - ghostOffsetStart[1]; in DMStagSetUpBuildScatter_3d() [all …]
|
| H A D | stag2d.c | 387 …PetscInt count, countAll, entriesToTransferTotal, i, j, d, ghostOffsetStart[2], ghostOffsetEnd[2]; in DMSetUp_Stag_2d() local 409 for (d = 0; d < 2; ++d) ghostOffsetStart[d] = stag->start[d] - stag->startGhost[d]; in DMSetUp_Stag_2d() 418 … d < 2; ++d) nNonDummyGhost[d] = stag->nGhost[d] - (dummyStart[d] ? ghostOffsetStart[d] : 0) - (du… in DMSetUp_Stag_2d() 443 for (jghost = 0; jghost < ghostOffsetStart[1]; ++jghost) { in DMSetUp_Stag_2d() 444 const PetscInt j = nNeighbor[1] - ghostOffsetStart[1] + jghost; in DMSetUp_Stag_2d() 445 for (ighost = 0; ighost < ghostOffsetStart[0]; ++ighost) { in DMSetUp_Stag_2d() 446 const PetscInt i = nNeighbor[0] - ghostOffsetStart[0] + ighost; in DMSetUp_Stag_2d() 462 for (jghost = 0; jghost < ghostOffsetStart[1]; ++jghost) { in DMSetUp_Stag_2d() 463 const PetscInt j = nNeighbor[1] - ghostOffsetStart[1] + jghost; in DMSetUp_Stag_2d() 464 for (ighost = ghostOffsetStart[0]; ighost < stag->nGhost[0] - ghostOffsetEnd[0]; ++ighost) { in DMSetUp_Stag_2d() [all …]
|
| H A D | stag1d.c | 281 … PetscInt i, iLocal, d, entriesToTransferTotal, ghostOffsetStart, ghostOffsetEnd, nNonDummyGhost; in DMSetUp_Stag_1d() local 287 ghostOffsetStart = stag->start[0] - stag->startGhost[0]; in DMSetUp_Stag_1d() 289 …nGhost[0] - (stag->lastRank[0] ? ghostOffsetEnd : 0) - (stag->firstRank[0] ? ghostOffsetStart : 0); in DMSetUp_Stag_1d() 370 for (iLocal = 0; iLocal < ghostOffsetStart; ++iLocal) { in DMSetUp_Stag_1d() 383 …PetscInt iLocalNonDummyMax = stag->firstRank[0] ? nNonDummyGhost + ghostOffsetStart : nNonDummyGho… in DMSetUp_Stag_1d()
|