Lines Matching refs:ye
42 PetscInt ys, ye, Ys, Ye; in DMGetLocalBoundingBox_DA() local
52 PetscCall(DMDAGetCorners(da, &xs, &ys, &zs, &xe, &ye, &ze)); in DMGetLocalBoundingBox_DA()
58 ye += ys; in DMGetLocalBoundingBox_DA()
84 c1 = (xe - 2 - Xs + 1) + (ye - 2 - Ys + 1) * (Xe - Xs); in DMGetLocalBoundingBox_DA()
88 …c1 = (xe - 2 - Xs + 1) + (ye - 2 - Ys + 1) * (Xe - Xs) + (ze - 2 - Zs + 1) * (Xe - Xs) * (Ye - Ys); in DMGetLocalBoundingBox_DA()
109 if (by == DM_BOUNDARY_PERIODIC && ye == N) { in DMGetLocalBoundingBox_DA()
111 ++ye; in DMGetLocalBoundingBox_DA()
124 if (dim > 1) ce[1] = ye; in DMGetLocalBoundingBox_DA()
135 PetscInt ys, ye, mylocal; in private_DMDALocatePointsIS_2D_Regular() local
146 ye = ce[1]; in private_DMDALocatePointsIS_2D_Regular()
150 mylocal = ye - ys - 1; in private_DMDALocatePointsIS_2D_Regular()
180 if (mi[1] > (ye - 1)) continue; in private_DMDALocatePointsIS_2D_Regular()
183 if (mi[1] == (ye - 1)) mi[1]--; in private_DMDALocatePointsIS_2D_Regular()
197 PetscInt ys, ye, mylocal; in private_DMDALocatePointsIS_3D_Regular() local
210 ye = ce[1]; in private_DMDALocatePointsIS_3D_Regular()
215 mylocal = ye - ys - 1; in private_DMDALocatePointsIS_3D_Regular()
251 if (mi[1] > (ye - 1)) continue; in private_DMDALocatePointsIS_3D_Regular()
256 if (mi[1] == (ye - 1)) mi[1]--; in private_DMDALocatePointsIS_3D_Regular()