Lines Matching refs:q
50 …P, rM, rN, rP, halo = 1, sxb, syb, szb, sxr, syr, szr, exr, eyr, ezr, mxb, myb, mzb, i, j, k, l, q; in DMPatchZoom() local
114 q = 0; in DMPatchZoom()
126 localPoints[q] = lp; in DMPatchZoom()
127 PetscCall(PetscFindInt(indices[q], size + 1, ranges, &ir)); in DMPatchZoom()
130 remotePoints[q].rank = r < 0 ? -(r + 1) - 1 : r; in DMPatchZoom()
131 remotePoints[q].index = indices[q] - ranges[remotePoints[q].rank]; in DMPatchZoom()
132 ++q; in DMPatchZoom()
141 …PetscCall(PetscSFSetGraph(*sfzr, dof * M * N * P, q, localPoints, PETSC_COPY_VALUES, remotePoints,… in DMPatchZoom()
155 q = 0; in DMPatchZoom()
158 for (i = sxb; i < sxb + mxb; ++i, ++q) { in DMPatchZoom()
162 localPoints[q] = q; in DMPatchZoom()
163 PetscCall(PetscFindInt(indices[q], size + 1, ranges, &ir)); in DMPatchZoom()
165 remotePoints[q].rank = r < 0 ? -(r + 1) - 1 : r; in DMPatchZoom()
166 remotePoints[q].index = indices[q] - ranges[remotePoints[q].rank]; in DMPatchZoom()
174 …PetscCall(PetscSFSetGraph(*sfz, M * N * P, q, localPoints, PETSC_COPY_VALUES, remotePoints, PETSC_… in DMPatchZoom()