Searched refs:Nghosts (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/sliced/ |
| H A D | sliced.c | 11 PetscInt bs, n, N, Nghosts, *ghosts; member 56 PetscCall(PetscMalloc1(slice->n + slice->Nghosts, &globals)); in DMCreateMatrix_Sliced() 60 for (i = 0; i < slice->Nghosts; i++) globals[slice->n + i] = slice->ghosts[i]; in DMCreateMatrix_Sliced() 61 …PetscCall(ISLocalToGlobalMappingCreate(PETSC_COMM_SELF, bs, slice->n + slice->Nghosts, globals, PE… in DMCreateMatrix_Sliced() 85 PetscErrorCode DMSlicedSetGhosts(DM dm, PetscInt bs, PetscInt nlocal, PetscInt Nghosts, const Petsc… in DMSlicedSetGhosts() argument 92 PetscCall(PetscMalloc1(Nghosts, &slice->ghosts)); in DMSlicedSetGhosts() 93 PetscCall(PetscArraycpy(slice->ghosts, ghosts, Nghosts)); in DMSlicedSetGhosts() 96 slice->Nghosts = Nghosts; in DMSlicedSetGhosts() 217 …etscObject)dm), slice->bs, slice->n * slice->bs, PETSC_DETERMINE, slice->Nghosts, slice->ghosts, g… in DMCreateGlobalVector_Sliced() 301 PetscErrorCode DMSlicedCreate(MPI_Comm comm, PetscInt bs, PetscInt nlocal, PetscInt Nghosts, const … in DMSlicedCreate() argument [all …]
|