Searched refs:local_verts (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 1229 PetscInt local_verts, off = 0; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local 1231 PetscCall(PetscZSetGetSize(vset, &local_verts)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1232 PetscCall(PetscMalloc1(local_verts, &vert_z)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1236 PetscCall(PetscSortInt64(local_verts, (PetscInt64 *)vert_z)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1238 PetscCall(DMPlexSetChart(dm, 0, local_elems + local_verts)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1254 PetscInt ci = ZCodeFind(v, local_verts, vert_z); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1270 PetscInt owned_verts = ZCodeFind(layout.zstarts[rank + 1], local_verts, vert_z); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1272 …PetscInt num_ghosts = local_verts - owned_verts; // Due to sorting, owned vertices always co… in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1303 …PetscCall(PetscSFSetGraph(sf, local_elems + local_verts, num_ghosts, local_ghosts, PETSC_OWN_POINT… in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1316 PetscCall(PetscSectionSetChart(coord_section, local_elems, local_elems + local_verts)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal() [all …]
|