Searched refs:idownleftc (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stag2d.c | 61 PetscInt idownleftf, ileftf, idownf, ielemf, idownleftc, ileftc, idownc, ielemc; in DMStagRestrictSimple_2d() local 80 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN_LEFT, 0, &idownleftc)); in DMStagRestrictSimple_2d() 90 arrc[j][i][idownleftc + d] = arrf[jj][ii][idownleftf + d]; in DMStagRestrictSimple_2d()
|
| H A D | stag3d.c | 69 …PetscInt ibackdownleftc, ibackdownc, ibackleftc, ibackc, idownleftc, idownc, ileftc, … in DMStagRestrictSimple_3d() local 97 PetscCall(DMStagGetLocationSlot(dmc, DMSTAG_DOWN_LEFT, 0, &idownleftc)); in DMStagRestrictSimple_3d() 137 …if (factorz % 2 == 0) arrc[k][j][i][idownleftc + d] = 0.5 * (arrf[kk - 1][jj][ii][idownleftf + d] … in DMStagRestrictSimple_3d() 138 else arrc[k][j][i][idownleftc + d] = arrf[kk][jj][ii][idownleftf + d]; in DMStagRestrictSimple_3d()
|