Searched refs:iLocal (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 281 … PetscInt i, iLocal, d, entriesToTransferTotal, ghostOffsetStart, ghostOffsetEnd, nNonDummyGhost; in DMSetUp_Stag_1d() local 312 for (i = stag->startGhost[0], iLocal = 0; iLocal < nNonDummyGhost; ++i, ++iLocal) { in DMSetUp_Stag_1d() 314 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 323 iLocal = (stag->nGhost[0] - ghostOffsetEnd); in DMSetUp_Stag_1d() 327 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 335 …PetscInt count = 0, iLocal = 0; /* No dummy points, so idxGlobal and idxGlobalAll are identi… in DMSetUp_Stag_1d() local 340 for (i = stag->N[0] - stag->stencilWidth; iLocal < stag->stencilWidth; ++i, ++iLocal) { in DMSetUp_Stag_1d() 343 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 349 for (i = iMin; i < iMax; ++i, ++iLocal) { in DMSetUp_Stag_1d() 352 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() [all …]
|