Searched refs:gnx (Results 1 – 3 of 3) sorted by relevance
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() local278 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()303 for (i = gxs; i < gxs + gnx; i++) { 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() local345 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()370 for (i = gxs; i < gxs + gnx; i++) { 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 …]
24 PetscInt rstart, gnx, gnxgny, xs, ys, zs, nx, ny, nxny; member45 PetscInt rstart, gnx, gnxgny, gnxgnygnz, xs, ys, zs, nx, ny, nz, nxny, nxnynz; member
43 } else if (stencil == -ex->gnx) { in MatSetValuesLocal_HYPREStruct_3d()45 } else if (stencil == ex->gnx) { in MatSetValuesLocal_HYPREStruct_3d()222 PetscCall(DMDAGetGhostCorners(ex->da, 0, 0, 0, &ex->gnx, &ex->gnxgny, 0)); in MatSetUp_HYPREStruct()223 ex->gnxgny *= ex->gnx; in MatSetUp_HYPREStruct()378 } else if (stencil == -ex->gnx) { in MatSetValuesLocal_HYPRESStruct_3d()380 } else if (stencil == ex->gnx) { in MatSetValuesLocal_HYPRESStruct_3d()417 } else if (stencil == -ex->gnx) { in MatSetValuesLocal_HYPRESStruct_3d()419 } else if (stencil == ex->gnx) { in MatSetValuesLocal_HYPRESStruct_3d()686 PetscCall(DMDAGetGhostCorners(ex->da, 0, 0, 0, &ex->gnx, &ex->gnxgny, &ex->gnxgnygnz)); in MatSetUp_HYPRESStruct()688 ex->gnxgny *= ex->gnx; in MatSetUp_HYPRESStruct()