Lines Matching refs:xs

86   PetscInt     i, xs, xm, ind, j, lenglob;  in main()  local
143 PetscCall(DMDAGetCorners(appctx.da, &xs, NULL, NULL, &xm, NULL, NULL)); in main()
149 xs = xs / (appctx.param.N - 1); in main()
156 for (i = xs; i < xs + xm; i++) { in main()
260 PetscInt i, xs, xn; in TrueSolution() local
265 PetscCall(DMDAGetCorners(appctx->da, &xs, NULL, NULL, &xn, NULL, NULL)); in TrueSolution()
266 for (i = xs; i < xs + xn; i++) { in TrueSolution()
325 PetscInt i, j, xs, xn; in MatMult_Laplacian() local
346 PetscCall(DMDAGetCorners(appctx->da, &xs, NULL, NULL, &xn, NULL, NULL)); in MatMult_Laplacian()
348 …for (j = xs; j < xs + xn; j += appctx->param.N - 1) PetscCallBLAS("BLASgemv", BLASgemv_("N", &n, &… in MatMult_Laplacian()
365 PetscInt j, xs, xn; in MatMult_Advection() local
382 PetscCall(DMDAGetCorners(appctx->da, &xs, NULL, NULL, &xn, NULL, NULL)); in MatMult_Advection()
384 …for (j = xs; j < xs + xn; j += appctx->param.N - 1) PetscCallBLAS("BLASgemv", BLASgemv_("N", &n, &… in MatMult_Advection()
418 PetscInt i, xs, xn, l, j; in RHSMatrixLaplaciangllDM() local
440 PetscCall(DMDAGetCorners(appctx->da, &xs, NULL, NULL, &xn, NULL, NULL)); in RHSMatrixLaplaciangllDM()
442 xs = xs / (appctx->param.N - 1); in RHSMatrixLaplaciangllDM()
449 for (j = xs; j < xs + xn; j++) { in RHSMatrixLaplaciangllDM()
450 for (l = 0; l < appctx->param.N; l++) rowsDM[l] = 1 + (j - xs) * (appctx->param.N - 1) + l; in RHSMatrixLaplaciangllDM()
489 PetscInt xs, xn, l, j; in RHSMatrixAdvectiongllDM() local
502 PetscCall(DMDAGetCorners(appctx->da, &xs, NULL, NULL, &xn, NULL, NULL)); in RHSMatrixAdvectiongllDM()
503 xs = xs / (appctx->param.N - 1); in RHSMatrixAdvectiongllDM()
507 for (j = xs; j < xs + xn; j++) { in RHSMatrixAdvectiongllDM()
508 for (l = 0; l < appctx->param.N; l++) rowsDM[l] = 1 + (j - xs) * (appctx->param.N - 1) + l; in RHSMatrixAdvectiongllDM()