Lines Matching refs:xm
153 PetscInt i, Mx, xs, xm; in FormFunction() local
185 PetscCall(DMDAGetCorners(da, &xs, NULL, NULL, &xm, NULL, NULL)); in FormFunction()
190 for (i = xs; i < xs + xm; i++) { in FormFunction()
207 PetscInt i, xs, xm, Mx, scale = 1, N; in FormInitialSolution() local
228 PetscCall(DMDAGetCorners(da, &xs, NULL, NULL, &xm, NULL, NULL)); in FormInitialSolution()
247 for (i = xs; i < xs + xm; i++) { in FormInitialSolution()
279 PetscInt Mx, i, xs, xm, cnt; in MyMonitor() local
296 PetscCall(DMDAGetCorners(da, &xs, NULL, NULL, &xm, NULL, NULL)); in MyMonitor()
316 xm = (xx[1] - xx[0]) / hx; in MyMonitor()
325 for (i = xs; i < xs + xm; i++) { in MyMonitor()
345 for (i = xs; i < xs + xm; i++) { in MyMonitor()
367 PetscCall(PetscDrawLGSetLimits(lg, x, x + (xm - 1) * hx, -1.1, 1.1)); in MyMonitor()
369 for (i = xs; i < xs + xm; i++) { in MyMonitor()
382 cnt = xm / 60; in MyMonitor()
385 for (i = xs; i < xs + xm; i += cnt) { in MyMonitor()