Home
last modified time | relevance | path

Searched refs:newCoordSection (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c630 PetscSection coordSection, newCoordSection; in DMPlexShiftCoordinates_Internal() local
647 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)dm), &newCoordSection)); in DMPlexShiftCoordinates_Internal()
648 PetscCall(PetscSectionSetNumFields(newCoordSection, 1)); in DMPlexShiftCoordinates_Internal()
649 PetscCall(PetscSectionSetFieldComponents(newCoordSection, 0, dim)); in DMPlexShiftCoordinates_Internal()
652 PetscCall(PetscSectionSetChart(newCoordSection, hasCells ? cStartNew : vStartNew, vEndNew)); in DMPlexShiftCoordinates_Internal()
658 PetscCall(PetscSectionSetDof(newCoordSection, cNew, dof)); in DMPlexShiftCoordinates_Internal()
659 PetscCall(PetscSectionSetFieldDof(newCoordSection, cNew, 0, dof)); in DMPlexShiftCoordinates_Internal()
663 PetscCall(PetscSectionSetDof(newCoordSection, v, dim)); in DMPlexShiftCoordinates_Internal()
664 PetscCall(PetscSectionSetFieldDof(newCoordSection, v, 0, dim)); in DMPlexShiftCoordinates_Internal()
666 PetscCall(PetscSectionSetUp(newCoordSection)); in DMPlexShiftCoordinates_Internal()
[all …]
H A Dplexdistribute.c1187 PetscSection originalCoordSection, newCoordSection; in DMPlexDistributeCoordinates() local
1202 PetscCall(DMGetCoordinateSection(dmParallel, &newCoordSection)); in DMPlexDistributeCoordinates()
1209 …uteField(dm, migrationSF, originalCoordSection, originalCoordinates, newCoordSection, newCoordinat… in DMPlexDistributeCoordinates()
1227 PetscCall(PetscSectionCreate(comm, &newCoordSection)); in DMPlexDistributeCoordinates()
1233 …uteField(dm, migrationSF, originalCoordSection, originalCoordinates, newCoordSection, newCoordinat… in DMPlexDistributeCoordinates()
1236 PetscCall(DMSetCellCoordinateSection(dmParallel, bs, newCoordSection)); in DMPlexDistributeCoordinates()
1240 PetscCall(PetscSectionDestroy(&newCoordSection)); in DMPlexDistributeCoordinates()