Lines Matching refs:Xs
138 PetscInt i, *idx, nn, left, xs, xe, x, Xs, Xe, start, m, IXs, IXe; in DMSetUp_DA_1D() local
200 Xs = xs - sDist; in DMSetUp_DA_1D()
203 if (bx) Xs = xs - sDist; in DMSetUp_DA_1D()
204 else Xs = 0; in DMSetUp_DA_1D()
217 Xs = xs - sDist; in DMSetUp_DA_1D()
226 dd->nlocal = dof * (Xe - Xs); in DMSetUp_DA_1D()
233 PetscCall(ISCreateStride(comm, dof * (IXe - IXs), dof * (IXs - Xs), 1, &to)); in DMSetUp_DA_1D()
237 for (i = 0; i < IXs - Xs; i++) idx[i] = -1; /* prepend with -1s if needed for ghosted case*/ in DMSetUp_DA_1D()
239 nn = IXs - Xs; in DMSetUp_DA_1D()
280 PetscCall(ISCreateBlock(comm, dof, nn - IXs + Xs, &idx[IXs - Xs], PETSC_USE_POINTER, &from)); in DMSetUp_DA_1D()
293 dd->Xs = dof * Xs; in DMSetUp_DA_1D()