Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex100.c67 PetscSection coord_section; in main() local
76 PetscCall(DMGetCoordinateSection(dm_read, &coord_section)); in main()
86 … PetscCall(DMPlexVecGetClosure(dm_read, coord_section, coords, cell, &num_closure, &cell_coords)); in main()
103 …PetscCall(DMPlexVecRestoreClosure(dm_read, coord_section, coords, cell, &num_closure, &cell_coords… in main()
H A Dex103.c164 PetscSection coord_section; in DMPlexGetPointsCentroids() local
171 PetscCall(DMGetCoordinateSection(dm, &coord_section)); in DMPlexGetPointsCentroids()
179 …PetscCall(DMPlexVecGetClosureAtDepth(dm, coord_section, coords_vec, p, depth, &coords_size, &coord… in DMPlexGetPointsCentroids()
185 PetscCall(DMPlexVecRestoreClosure(dm, coord_section, coords_vec, p, &coords_size, &coords)); in DMPlexGetPointsCentroids()
/petsc/src/dm/impls/plex/
H A Dplexsfc.c1311 PetscSection coord_section; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local
1313 PetscCall(DMGetCoordinateSection(dm, &coord_section)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1314 PetscCall(PetscSectionSetNumFields(coord_section, 1)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1315 PetscCall(PetscSectionSetFieldComponents(coord_section, 0, dim)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1316 PetscCall(PetscSectionSetChart(coord_section, local_elems, local_elems + local_verts)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1319 PetscCall(PetscSectionSetDof(coord_section, point, dim)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1320 PetscCall(PetscSectionSetFieldDof(coord_section, point, 0, dim)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1322 PetscCall(PetscSectionSetUp(coord_section)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1323 PetscCall(PetscSectionGetStorageSize(coord_section, &coord_size)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()