Lines Matching refs:ys
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()
64 if (ys != Ys && Ys >= 0) ys -= 1; in DMGetLocalBoundingBox_DA()
83 c0 = (xs - Xs) + (ys - Ys) * (Xe - Xs); in DMGetLocalBoundingBox_DA()
87 c0 = (xs - Xs) + (ys - Ys) * (Xe - Xs) + (zs - Zs) * (Xe - Xs) * (Ye - Ys); in DMGetLocalBoundingBox_DA()
119 if (dim > 1) cs[1] = ys; in DMGetLocalBoundingBox_DA()
135 PetscInt ys, ye, mylocal; in private_DMDALocatePointsIS_2D_Regular() local
144 ys = cs[1]; in private_DMDALocatePointsIS_2D_Regular()
150 mylocal = ye - ys - 1; in private_DMDALocatePointsIS_2D_Regular()
179 if (mi[1] < ys) continue; in private_DMDALocatePointsIS_2D_Regular()
185 cellidx[p] = (mi[0] - xs) + (mi[1] - ys) * mxlocal; in private_DMDALocatePointsIS_2D_Regular()
197 PetscInt ys, ye, mylocal; in private_DMDALocatePointsIS_3D_Regular() local
207 ys = cs[1]; in private_DMDALocatePointsIS_3D_Regular()
215 mylocal = ye - ys - 1; in private_DMDALocatePointsIS_3D_Regular()
250 if (mi[1] < ys) continue; in private_DMDALocatePointsIS_3D_Regular()
259 cellidx[p] = (mi[0] - xs) + (mi[1] - ys) * mxlocal + (mi[2] - zs) * mxlocal * mylocal; in private_DMDALocatePointsIS_3D_Regular()