Searched refs:idownleftf (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 76 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN_LEFT, 0, &idownleftf)); in DMStagRestrictSimple_2d() 90 arrc[j][i][idownleftc + d] = arrf[jj][ii][idownleftf + d]; in DMStagRestrictSimple_2d()
|
| H A D | stag3d.c | 68 …PetscInt ibackdownleftf, ibackdownf, ibackleftf, ibackf, idownleftf, idownf, ileftf, … in DMStagRestrictSimple_3d() local 89 PetscCall(DMStagGetLocationSlot(dmf, DMSTAG_DOWN_LEFT, 0, &idownleftf)); in DMStagRestrictSimple_3d() 137 …][j][i][idownleftc + d] = 0.5 * (arrf[kk - 1][jj][ii][idownleftf + d] + arrf[kk][jj][ii][idownleft… in DMStagRestrictSimple_3d() 138 else arrc[k][j][i][idownleftc + d] = arrf[kk][jj][ii][idownleftf + d]; in DMStagRestrictSimple_3d()
|