Home
last modified time | relevance | path

Searched refs:gny (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/da/
H A Dfdda.c261 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()
300 PetscCall(PetscMalloc1(nc * gnx * gny, &colors)); in DMCreateColoring_DA_2d_MPIAIJ()
302 for (j = gys; j < gys + gny; j++) { in DMCreateColoring_DA_2d_MPIAIJ()
311 …PetscCall(ISColoringCreate(comm, ncolors, nc * gnx * gny, colors, PETSC_OWN_POINTER, &dd->ghostedc… 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()
366 PetscCall(PetscMalloc1(nc * gnx * gny * gnz, &colors)); in DMCreateColoring_DA_3d_MPIAIJ()
369 for (j = gys; j < gys + gny; j++) { in DMCreateColoring_DA_3d_MPIAIJ()
379 …PetscCall(ISColoringCreate(comm, ncolors, nc * gnx * gny * gnz, colors, PETSC_OWN_POINTER, &dd->gh… in DMCreateColoring_DA_3d_MPIAIJ()
[all …]