Searched refs:iOffset (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag2d.c | 1249 …PetscInt i, j, d, count, leftGhostElements, downGhostElements, entriesPerRowGhost, iOffset, … in DMStagPopulateLocalToLocal2d_Internal() local 1268 iOffset = stag->entriesPerElement * (leftGhostElements + i); in DMStagPopulateLocalToLocal2d_Internal() 1270 for (d = 0; d < stag->entriesPerElement; ++d) idxRemap[count++] = jOffset + iOffset + d; in DMStagPopulateLocalToLocal2d_Internal() 1273 iOffset = stag->entriesPerElement * (leftGhostElements + stag->n[0]); in DMStagPopulateLocalToLocal2d_Internal() 1275 for (d = 0; d < stag->dof[0]; ++d) idxRemap[count++] = jOffset + iOffset + dOffset[0] + d; in DMStagPopulateLocalToLocal2d_Internal() 1276 for (d = 0; d < stag->dof[1]; ++d) idxRemap[count++] = jOffset + iOffset + dOffset[2] + d; in DMStagPopulateLocalToLocal2d_Internal() 1282 iOffset = stag->entriesPerElement * (leftGhostElements + i); in DMStagPopulateLocalToLocal2d_Internal() 1284 for (d = 0; d < stag->dof[0]; ++d) idxRemap[count++] = jOffset + iOffset + dOffset[0] + d; in DMStagPopulateLocalToLocal2d_Internal() 1285 for (d = 0; d < stag->dof[1]; ++d) idxRemap[count++] = jOffset + iOffset + dOffset[1] + d; in DMStagPopulateLocalToLocal2d_Internal() 1288 iOffset = stag->entriesPerElement * (leftGhostElements + stag->n[0]); in DMStagPopulateLocalToLocal2d_Internal() [all …]
|
| H A D | stag3d.c | 3292 …j, k, d, count, leftGhostElements, downGhostElements, backGhostElements, iOffset, jOffset, kOffset; in DMStagPopulateLocalToLocal3d_Internal() local 3320 iOffset = stag->entriesPerElement * (leftGhostElements + i); in DMStagPopulateLocalToLocal3d_Internal() 3322 … for (d = 0; d < stag->entriesPerElement; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + d; in DMStagPopulateLocalToLocal3d_Internal() 3325 iOffset = stag->entriesPerElement * (leftGhostElements + stag->n[0]); in DMStagPopulateLocalToLocal3d_Internal() 3327 …for (d = 0; d < stag->dof[0]; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + dOffset[0] + … in DMStagPopulateLocalToLocal3d_Internal() 3328 …for (d = 0; d < stag->dof[1]; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + dOffset[2] + … in DMStagPopulateLocalToLocal3d_Internal() 3329 …for (d = 0; d < stag->dof[1]; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + dOffset[4] + … in DMStagPopulateLocalToLocal3d_Internal() 3330 …for (d = 0; d < stag->dof[2]; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + dOffset[6] + … in DMStagPopulateLocalToLocal3d_Internal() 3336 iOffset = stag->entriesPerElement * (leftGhostElements + i); in DMStagPopulateLocalToLocal3d_Internal() 3338 …for (d = 0; d < stag->dof[0]; ++d) idxRemap[count++] = kOffset + jOffset + iOffset + dOffset[0] + … in DMStagPopulateLocalToLocal3d_Internal() [all …]
|