Lines Matching refs:ncolors
262 PetscInt ncolors = 0; in DMCreateColoring_DA_2d_MPIAIJ() local
294 ncolors = nc + nc * (col - 1 + col * (col - 1)); in DMCreateColoring_DA_2d_MPIAIJ()
295 …PetscCall(ISColoringCreate(comm, ncolors, nc * nx * ny, colors, PETSC_OWN_POINTER, &dd->localcolor… in DMCreateColoring_DA_2d_MPIAIJ()
310 ncolors = nc + nc * (col - 1 + col * (col - 1)); in DMCreateColoring_DA_2d_MPIAIJ()
311 …PetscCall(ISColoringCreate(comm, ncolors, nc * gnx * gny, colors, PETSC_OWN_POINTER, &dd->ghostedc… in DMCreateColoring_DA_2d_MPIAIJ()
326 PetscInt ncolors; in DMCreateColoring_DA_3d_MPIAIJ() local
360 ncolors = nc + nc * (col - 1 + col * (col - 1) + col * col * (col - 1)); in DMCreateColoring_DA_3d_MPIAIJ()
361 …PetscCall(ISColoringCreate(comm, ncolors, nc * nx * ny * nz, colors, PETSC_OWN_POINTER, &dd->local… in DMCreateColoring_DA_3d_MPIAIJ()
378 ncolors = nc + nc * (col - 1 + col * (col - 1) + col * col * (col - 1)); 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()
391 PetscInt ncolors; in DMCreateColoring_DA_1d_MPIAIJ() local
426 ncolors = nc + 2 * s * tc; in DMCreateColoring_DA_1d_MPIAIJ()
432 ncolors = nc + nc * (col - 1); in DMCreateColoring_DA_1d_MPIAIJ()
434 …PetscCall(ISColoringCreate(comm, ncolors, nc * nx, colors, PETSC_OWN_POINTER, &dd->localcoloring)); in DMCreateColoring_DA_1d_MPIAIJ()
447 ncolors = nc + nc * (col - 1); in DMCreateColoring_DA_1d_MPIAIJ()
448 …PetscCall(ISColoringCreate(comm, ncolors, nc * gnx, colors, PETSC_OWN_POINTER, &dd->ghostedcolorin… in DMCreateColoring_DA_1d_MPIAIJ()
460 PetscInt ncolors; in DMCreateColoring_DA_2d_5pt_MPIAIJ() local
485 ncolors = 5 * nc; in DMCreateColoring_DA_2d_5pt_MPIAIJ()
486 …PetscCall(ISColoringCreate(comm, ncolors, nc * nx * ny, colors, PETSC_OWN_POINTER, &dd->localcolor… in DMCreateColoring_DA_2d_5pt_MPIAIJ()
498 ncolors = 5 * nc; in DMCreateColoring_DA_2d_5pt_MPIAIJ()
499 …PetscCall(ISColoringCreate(comm, ncolors, nc * gnx * gny, colors, PETSC_OWN_POINTER, &dd->ghostedc… in DMCreateColoring_DA_2d_5pt_MPIAIJ()