Home
last modified time | relevance | path

Searched refs:ileftf (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag1d.c55 PetscInt ileftf, ielemf, ileftc, ielemc; in DMStagRestrictSimple_1d() local
69 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_1d()
75 for (i = xc; i < xc + mc + nExtraxc; ++i) arrc[i][ileftc + d] = arrf[factorx * i][ileftf + d]; in DMStagRestrictSimple_1d()
H A Dstag2d.c61 PetscInt idownleftf, ileftf, idownf, ielemf, idownleftc, ileftc, idownc, ielemc; in DMStagRestrictSimple_2d() local
77 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_2d()
98 … % 2 == 0) arrc[j][i][ileftc + d] = 0.5 * (arrf[jj - 1][ii][ileftf + d] + arrf[jj][ii][ileftf + d]… in DMStagRestrictSimple_2d()
99 else arrc[j][i][ileftc + d] = arrf[jj][ii][ileftf + d]; in DMStagRestrictSimple_2d()
H A Dstag3d.c68 …PetscInt ibackdownleftf, ibackdownf, ibackleftf, ibackf, idownleftf, idownf, ileftf, … in DMStagRestrictSimple_3d() local
91 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_LEFT, 0, &ileftf)); in DMStagRestrictSimple_3d()
171 …rf[kk - 1][jj - 1][ii][ileftf + d] + arrf[kk - 1][jj][ii][ileftf + d] + arrf[kk][jj - 1][ii][ileft… in DMStagRestrictSimple_3d()
172 …) arrc[k][j][i][ileftc + d] = 0.5 * (arrf[kk][jj - 1][ii][ileftf + d] + arrf[kk][jj][ii][ileftf + … in DMStagRestrictSimple_3d()
173 …) arrc[k][j][i][ileftc + d] = 0.5 * (arrf[kk - 1][jj][ii][ileftf + d] + arrf[kk][jj][ii][ileftf + … in DMStagRestrictSimple_3d()
174 else arrc[k][j][i][ileftc + d] = arrf[kk][jj][ii][ileftf + d]; in DMStagRestrictSimple_3d()