Lines Matching refs:jstart

19 …, Nint, Nface, Nwire, Nsurf, *Iint, *Isurf, cint = 0, csurf = 0, istart, jstart, kstart, *II, N, c…  in DMDAGetWireBasketInterpolation()  local
39 PetscCall(DMDAGetGhostCorners(da, &istart, &jstart, &kstart, &mwidth, &nwidth, &pwidth)); in DMDAGetWireBasketInterpolation()
41 jstart = jstart ? -1 : 0; in DMDAGetWireBasketInterpolation()
57 N = (m - istart) * (n - jstart) * (p - kstart); in DMDAGetWireBasketInterpolation()
58 Nint = (m - 2 - istart) * (n - 2 - jstart) * (p - 2 - kstart); in DMDAGetWireBasketInterpolation()
59 …Nface = 2 * ((m - 2 - istart) * (n - 2 - jstart) + (m - 2 - istart) * (p - 2 - kstart) + (n - 2 - in DMDAGetWireBasketInterpolation()
60 Nwire = 4 * ((m - 2 - istart) + (n - 2 - jstart) + (p - 2 - kstart)) + 8; in DMDAGetWireBasketInterpolation()
71 …PetscCheck(n - jstart >= 3, PETSC_COMM_SELF, PETSC_ERR_SUP, "Number of grid points per process in … in DMDAGetWireBasketInterpolation()
80 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetWireBasketInterpolation()
95 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetWireBasketInterpolation()
110 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetWireBasketInterpolation()
142 for (j = 0; j < n - jstart; j++) { in DMDAGetWireBasketInterpolation()
146 if (!Endpoint(i, istart, m) && !Endpoint(j, jstart, n) && !Endpoint(k, kstart, p)) { in DMDAGetWireBasketInterpolation()
148 Iint[cint++] = i + j * (m - istart) + k * (m - istart) * (n - jstart); in DMDAGetWireBasketInterpolation()
151 Isurf[csurf++] = i + j * (m - istart) + k * (m - istart) * (n - jstart); in DMDAGetWireBasketInterpolation()
249 gl[cnt++] = mwidth * (n - jstart - 1); in DMDAGetWireBasketInterpolation()
251 gl[cnt++] = mwidth * (n - jstart - 1) + 1; in DMDAGetWireBasketInterpolation()
253 gl[cnt++] = mwidth * (n - jstart - 1) + m - istart - 1; in DMDAGetWireBasketInterpolation()
264 gl[cnt++] = mwidth * nwidth + mwidth * (n - jstart - 1); in DMDAGetWireBasketInterpolation()
266 gl[cnt++] = mwidth * nwidth + mwidth * (n - jstart - 1) + 1; in DMDAGetWireBasketInterpolation()
268 gl[cnt++] = mwidth * nwidth + mwidth * (n - jstart - 1) + m - istart - 1; in DMDAGetWireBasketInterpolation()
282 gl[cnt++] = mwidth * nwidth * (p - kstart - 1) + mwidth * (n - jstart - 1); in DMDAGetWireBasketInterpolation()
284 gl[cnt++] = mwidth * nwidth * (p - kstart - 1) + mwidth * (n - jstart - 1) + 1; in DMDAGetWireBasketInterpolation()
286 gl[cnt++] = mwidth * nwidth * (p - kstart - 1) + mwidth * (n - jstart - 1) + m - istart - 1; in DMDAGetWireBasketInterpolation()
367 …, Nint, Nface, Nwire, Nsurf, *Iint, *Isurf, cint = 0, csurf = 0, istart, jstart, kstart, *II, N, c… in DMDAGetFaceInterpolation() local
387 PetscCall(DMDAGetGhostCorners(da, &istart, &jstart, &kstart, &mwidth, &nwidth, &pwidth)); in DMDAGetFaceInterpolation()
389 jstart = jstart ? -1 : 0; in DMDAGetFaceInterpolation()
405 N = (m - istart) * (n - jstart) * (p - kstart); in DMDAGetFaceInterpolation()
406 Nint = (m - 2 - istart) * (n - 2 - jstart) * (p - 2 - kstart); in DMDAGetFaceInterpolation()
407 …Nface = 2 * ((m - 2 - istart) * (n - 2 - jstart) + (m - 2 - istart) * (p - 2 - kstart) + (n - 2 - in DMDAGetFaceInterpolation()
408 Nwire = 4 * ((m - 2 - istart) + (n - 2 - jstart) + (p - 2 - kstart)) + 8; in DMDAGetFaceInterpolation()
419 …PetscCheck(n - jstart >= 3, PETSC_COMM_SELF, PETSC_ERR_SUP, "Number of grid points per process in … in DMDAGetFaceInterpolation()
423 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetFaceInterpolation()
429 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetFaceInterpolation()
436 for (j = 1; j < n - 1 - jstart; j++) { in DMDAGetFaceInterpolation()
462 for (j = 0; j < n - jstart; j++) { in DMDAGetFaceInterpolation()
466 if (!Endpoint(i, istart, m) && !Endpoint(j, jstart, n) && !Endpoint(k, kstart, p)) { in DMDAGetFaceInterpolation()
468 Iint[cint++] = i + j * (m - istart) + k * (m - istart) * (n - jstart); in DMDAGetFaceInterpolation()
471 Isurf[csurf++] = i + j * (m - istart) + k * (m - istart) * (n - jstart); in DMDAGetFaceInterpolation()
570 gl[cnt++] = mwidth * nwidth + mwidth * (n - jstart - 1) + 1; in DMDAGetFaceInterpolation()