Lines Matching refs:xm
94 PetscInt steps, ncells, xs, xm, i; in main() local
178 PetscCall(DMDAGetCorners(user.dm, &xs, NULL, NULL, &xm, NULL, NULL)); in main()
179 for (i = xs; i < xs + xm; i++) PetscCall(MonitorCell(ts, &user, i)); in main()
248 PetscInt i, xs, xm, j, dof; in FormDiffusionFunction() local
260 PetscCall(DMDAGetCorners(dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormDiffusionFunction()
263 for (i = xs; i < xs + xm; i++) { in FormDiffusionFunction()
279 PetscInt i, xs, xm, j, dof; in FormDiffusionJacobian() local
286 PetscCall(DMDAGetCorners(dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormDiffusionJacobian()
292 for (i = xs; i < xs + xm; i++) { in FormDiffusionJacobian()
316 PetscInt i, xs, xm; in FormRHSFunction() local
323 PetscCall(DMDAGetCorners(dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormRHSFunction()
325 for (i = xs; i < xs + xm; i++) { in FormRHSFunction()
345 PetscInt M = user->Nspec + 1, i, j, xs, xm; in FormRHSJacobian() local
355 PetscCall(DMDAGetCorners(dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormRHSJacobian()
357 for (i = xs; i < xs + xm; i++) { in FormRHSJacobian()
393 PetscInt i, j, xs, xm; in FormInitialSolution() local
399 PetscCall(DMDAGetCorners(dm, &xs, NULL, NULL, &xm, NULL, NULL)); in FormInitialSolution()
403 for (i = xs; i < xs + xm; i++) { in FormInitialSolution()