Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c596 PetscInt *newpoints; in DMPlexShiftPoints_Internal() local
604 …(PetscMax(maxConeSize, maxSupportSize), PetscMax(maxConeSizeNew, maxSupportSizeNew)), &newpoints)); in DMPlexShiftPoints_Internal()
614 … for (i = 0; i < size; ++i) newpoints[i] = DMPlexShiftPoint_Internal(points[i], depth, depthShift); in DMPlexShiftPoints_Internal()
615 PetscCall(DMPlexSetCone(dmNew, newp, newpoints)); in DMPlexShiftPoints_Internal()
620 … for (i = 0; i < size; ++i) newpoints[i] = DMPlexShiftPoint_Internal(points[i], depth, depthShift); in DMPlexShiftPoints_Internal()
621 for (i = size; i < sizeNew; ++i) newpoints[i] = 0; in DMPlexShiftPoints_Internal()
622 PetscCall(DMPlexSetSupport(dmNew, newp, newpoints)); in DMPlexShiftPoints_Internal()
624 PetscCall(PetscFree(newpoints)); in DMPlexShiftPoints_Internal()