Lines Matching refs:gxs
261 PetscInt xs, ys, nx, ny, i, j, ii, gxs, gys, gnx, gny, m, n, M, N, dim, s, k, nc, col; in DMCreateColoring_DA_2d_MPIAIJ() local
278 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateColoring_DA_2d_MPIAIJ()
303 for (i = gxs; i < gxs + gnx; i++) { in DMCreateColoring_DA_2d_MPIAIJ()
325 …PetscInt xs, ys, nx, ny, i, j, gxs, gys, gnx, gny, m, n, p, dim, s, k, nc, col, zs, gzs, i… in DMCreateColoring_DA_3d_MPIAIJ() local
345 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateColoring_DA_3d_MPIAIJ()
370 for (i = gxs; i < gxs + gnx; i++) { in DMCreateColoring_DA_3d_MPIAIJ()
390 PetscInt xs, nx, i, i1, gxs, gnx, l, m, M, dim, s, nc, col; in DMCreateColoring_DA_1d_MPIAIJ() local
406 PetscCall(DMDAGetGhostCorners(da, &gxs, NULL, NULL, &gnx, NULL, NULL)); in DMCreateColoring_DA_1d_MPIAIJ()
441 for (i = gxs; i < gxs + gnx; i++) { in DMCreateColoring_DA_1d_MPIAIJ()
459 PetscInt xs, ys, nx, ny, i, j, ii, gxs, gys, gnx, gny, m, n, dim, s, k, nc; in DMCreateColoring_DA_2d_5pt_MPIAIJ() local
473 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateColoring_DA_2d_5pt_MPIAIJ()
494 for (i = gxs; i < gxs + gnx; i++) { in DMCreateColoring_DA_2d_5pt_MPIAIJ()
824 …PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny, m, n, dim, s, *cols = NULL,… in DMCreateMatrix_DA_2d_MPISELL() local
840 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateMatrix_DA_2d_MPISELL()
854 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISELL()
892 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISELL()
925 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPISELL() local
942 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateMatrix_DA_3d_MPISELL()
961 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISELL()
1003 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISELL()
1036 …PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny, m, n, dim, s, *cols = NULL,… in DMCreateMatrix_DA_2d_MPIAIJ() local
1059 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateMatrix_DA_2d_MPIAIJ()
1073 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ()
1111 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ()
1147 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPIAIJ_Fill() local
1172 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1186 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1231 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1271 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIAIJ() local
1298 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateMatrix_DA_3d_MPIAIJ()
1317 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ()
1360 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ()
1397 PetscInt xs, nx, i, j, gxs, gnx, row, k, l; in DMCreateMatrix_DA_1d_MPIAIJ_Fill() local
1414 PetscCall(DMDAGetGhostCorners(da, &gxs, NULL, NULL, &gnx, NULL, NULL)); in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1556 PetscInt xs, nx, i, i1, slot, gxs, gnx; in DMCreateMatrix_DA_1d_MPIAIJ() local
1572 PetscCall(DMDAGetGhostCorners(da, &gxs, NULL, NULL, &gnx, NULL, NULL)); in DMCreateMatrix_DA_1d_MPIAIJ()
1590 istart = PetscMax(-s, gxs - i); in DMCreateMatrix_DA_1d_MPIAIJ()
1591 iend = PetscMin(s, gxs + gnx - i - 1); in DMCreateMatrix_DA_1d_MPIAIJ()
1592 slot = i - gxs; in DMCreateMatrix_DA_1d_MPIAIJ()
1620 PetscInt xs, nx, i, i1, slot, gxs, gnx; in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation() local
1635 PetscCall(DMDAGetGhostCorners(da, &gxs, NULL, NULL, &gnx, NULL, NULL)); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1652 istart = PetscMax(-s, gxs - i); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1653 iend = PetscMin(s, gxs + gnx - i - 1); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1654 slot = i - gxs; in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1683 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPIBAIJ() local
1701 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1716 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIBAIJ()
1749 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIBAIJ()
1775 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIBAIJ() local
1793 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1812 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIBAIJ()
1852 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIBAIJ()
1900 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPISBAIJ() local
1918 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, NULL, &gnx, &gny, NULL)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1933 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISBAIJ()
1965 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISBAIJ()
1992 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPISBAIJ() local
2010 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2030 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISBAIJ()
2069 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISBAIJ()
2098 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIAIJ_Fill() local
2127 PetscCall(DMDAGetGhostCorners(da, &gxs, &gys, &gzs, &gnx, &gny, &gnz)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2147 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2198 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()