Lines Matching refs:xm
126 PetscInt xs, xm, gxs, gxm; in main() local
168 PetscCall(DMDAGetCorners(user.dm, &xs, NULL, NULL, &xm, NULL, NULL)); in main()
217 for (i = 0; i < xm; i++) x_array[i] = user.Vt1[i - gxs + xs]; in main()
262 PetscInt xs, xm; in ComputeVariableBounds() local
269 PetscCall(DMDAGetCorners(user->dm, &xs, NULL, NULL, &xm, NULL, NULL)); in ComputeVariableBounds()
272 for (i = 0; i < xm; i++) { in ComputeVariableBounds()
283 if (xs + xm == ms) { in ComputeVariableBounds()
285 xl_array[xm - 1] = 0; in ComputeVariableBounds()
311 PetscInt i, xs, xm, gxs, gxm; in FormConstraints() local
320 PetscCall(DMDAGetCorners(user->dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormConstraints()
345 f[xm - 1] = x[gxm - 1]; in FormConstraints()
347 f[xm - 1] = 0; in FormConstraints()