Lines Matching refs:newCoordSection

630   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()
667 PetscCall(DMSetCoordinateSection(dmNew, PETSC_DETERMINE, newCoordSection)); in DMPlexShiftCoordinates_Internal()
668 PetscCall(PetscSectionGetStorageSize(newCoordSection, &coordSize)); in DMPlexShiftCoordinates_Internal()
684 PetscCall(PetscSectionGetOffset(newCoordSection, cNew, &noff)); in DMPlexShiftCoordinates_Internal()
693 …PetscCall(PetscSectionGetOffset(newCoordSection, DMPlexShiftPoint_Internal(v, depth, depthShift), … in DMPlexShiftCoordinates_Internal()
699 PetscCall(PetscSectionDestroy(&newCoordSection)); in DMPlexShiftCoordinates_Internal()