Lines Matching refs:xs

133   PetscInt       i, j, k, dof, xs, xm, Mx;  in FVSample_2WaySplit()  local
140 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in FVSample_2WaySplit()
145 for (i = xs; i < xs + xm; i++) { in FVSample_2WaySplit()
208 PetscInt i, j, k, Mx, dof, xs, xm, sf = ctx->sf, fs = ctx->fs; in FVRHSFunction_2WaySplit() local
229 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in FVRHSFunction_2WaySplit()
232 for (i = xs - 2; i < 0; i++) { in FVRHSFunction_2WaySplit()
235 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunction_2WaySplit()
236 for (j = 0; j < dof; j++) x[i * dof + j] = x[(xs + xm - 1) * dof + j]; in FVRHSFunction_2WaySplit()
239 for (i = xs - 1; i < xs + xm + 1; i++) { in FVRHSFunction_2WaySplit()
269 for (i = xs; i < xs + xm + 1; i++) { in FVRHSFunction_2WaySplit()
280 if (i > xs) { in FVRHSFunction_2WaySplit()
283 if (i < xs + xm) { in FVRHSFunction_2WaySplit()
292 if (i > xs) { in FVRHSFunction_2WaySplit()
295 if (i < xs + xm) { in FVRHSFunction_2WaySplit()
304 if (i > xs) { in FVRHSFunction_2WaySplit()
307 if (i < xs + xm) { in FVRHSFunction_2WaySplit()
316 if (i > xs) { in FVRHSFunction_2WaySplit()
319 if (i < xs + xm) { in FVRHSFunction_2WaySplit()
329 if (i > xs) { in FVRHSFunction_2WaySplit()
332 if (i < xs + xm) { in FVRHSFunction_2WaySplit()
359 …PetscInt i, j, k, Mx, dof, xs, xm, islow = 0, sf = ctx->sf, fs = ctx->fs, lsbwidth = ctx->lsbw… in FVRHSFunctionslow_2WaySplit() local
377 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in FVRHSFunctionslow_2WaySplit()
380 for (i = xs - 2; i < 0; i++) { in FVRHSFunctionslow_2WaySplit()
383 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslow_2WaySplit()
384 for (j = 0; j < dof; j++) x[i * dof + j] = x[(xs + xm - 1) * dof + j]; in FVRHSFunctionslow_2WaySplit()
387 for (i = xs - 1; i < xs + xm + 1; i++) { in FVRHSFunctionslow_2WaySplit()
419 for (i = xs; i < xs + xm + 1; i++) { in FVRHSFunctionslow_2WaySplit()
431 if (i > xs) { in FVRHSFunctionslow_2WaySplit()
434 if (i < xs + xm) { in FVRHSFunctionslow_2WaySplit()
445 if (i > xs) { in FVRHSFunctionslow_2WaySplit()
455 if (i < xs + xm) { in FVRHSFunctionslow_2WaySplit()
466 if (i > xs) { in FVRHSFunctionslow_2WaySplit()
469 if (i < xs + xm) { in FVRHSFunctionslow_2WaySplit()
486 …PetscInt i, j, k, Mx, dof, xs, xm, islow = 0, sf = ctx->sf, fs = ctx->fs, lsbwidth = ctx->lsbw… in FVRHSFunctionslowbuffer_2WaySplit() local
504 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in FVRHSFunctionslowbuffer_2WaySplit()
507 for (i = xs - 2; i < 0; i++) { in FVRHSFunctionslowbuffer_2WaySplit()
510 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionslowbuffer_2WaySplit()
511 for (j = 0; j < dof; j++) x[i * dof + j] = x[(xs + xm - 1) * dof + j]; in FVRHSFunctionslowbuffer_2WaySplit()
514 for (i = xs - 1; i < xs + xm + 1; i++) { in FVRHSFunctionslowbuffer_2WaySplit()
546 for (i = xs; i < xs + xm + 1; i++) { in FVRHSFunctionslowbuffer_2WaySplit()
557 if (i < xs + xm) { in FVRHSFunctionslowbuffer_2WaySplit()
568 if (i > xs) { in FVRHSFunctionslowbuffer_2WaySplit()
571 if (i < xs + xm) { in FVRHSFunctionslowbuffer_2WaySplit()
582 if (i > xs) { in FVRHSFunctionslowbuffer_2WaySplit()
592 if (i < xs + xm) { in FVRHSFunctionslowbuffer_2WaySplit()
603 if (i > xs) { in FVRHSFunctionslowbuffer_2WaySplit()
606 if (i < xs + xm) { in FVRHSFunctionslowbuffer_2WaySplit()
617 if (i > xs) { in FVRHSFunctionslowbuffer_2WaySplit()
633 PetscInt i, j, k, Mx, dof, xs, xm, ifast = 0, sf = ctx->sf, fs = ctx->fs; in FVRHSFunctionfast_2WaySplit() local
651 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in FVRHSFunctionfast_2WaySplit()
654 for (i = xs - 2; i < 0; i++) { in FVRHSFunctionfast_2WaySplit()
657 for (i = Mx; i < xs + xm + 2; i++) { in FVRHSFunctionfast_2WaySplit()
658 for (j = 0; j < dof; j++) x[i * dof + j] = x[(xs + xm - 1) * dof + j]; in FVRHSFunctionfast_2WaySplit()
661 for (i = xs - 1; i < xs + xm + 1; i++) { in FVRHSFunctionfast_2WaySplit()
691 for (i = xs; i < xs + xm + 1; i++) { in FVRHSFunctionfast_2WaySplit()
702 if (i < xs + xm) { in FVRHSFunctionfast_2WaySplit()
713 if (i > xs) { in FVRHSFunctionfast_2WaySplit()
716 if (i < xs + xm) { in FVRHSFunctionfast_2WaySplit()
727 if (i > xs) { in FVRHSFunctionfast_2WaySplit()
748 …PetscInt i, k, dof, xs, xm, Mx, draw = 0, count_slow, count_fast, islow = 0, ifast = 0, i… in main() local
810 PetscCall(DMDAGetCorners(da, &xs, 0, 0, &xm, 0, 0)); in main()
841 for (i = xs; i < xs + xm; i++) { in main()
891 for (i = xs; i < xs + xm; i++) { in main()
931 for (i = xs; i < xs + xm; i++) { in main()