Lines Matching refs:coordinatesNew
198 …inates_Private(IS perm, PetscSection cs, Vec coordinates, PetscSection *csNew, Vec *coordinatesNew) in DMPlexRemapCoordinates_Private() argument
207 PetscCall(VecDuplicate(coordinates, coordinatesNew)); in DMPlexRemapCoordinates_Private()
209 PetscCall(PetscObjectSetName((PetscObject)*coordinatesNew, name)); in DMPlexRemapCoordinates_Private()
211 PetscCall(VecGetArray(*coordinatesNew, &coordsNew)); in DMPlexRemapCoordinates_Private()
224 PetscCall(VecRestoreArray(*coordinatesNew, &coordsNew)); in DMPlexRemapCoordinates_Private()
339 Vec coordinates, coordinatesNew; in DMPlexPermute() local
343 PetscCall(DMPlexRemapCoordinates_Private(perm, cs, coordinates, &csNew, &coordinatesNew)); in DMPlexPermute()
345 PetscCall(DMSetCoordinatesLocal(*pdm, coordinatesNew)); in DMPlexPermute()
347 PetscCall(VecDestroy(&coordinatesNew)); in DMPlexPermute()
357 PetscCall(DMPlexRemapCoordinates_Private(perm, cs, coordinates, &csNew, &coordinatesNew)); in DMPlexPermute()
359 PetscCall(DMSetCellCoordinatesLocal(*pdm, coordinatesNew)); in DMPlexPermute()
361 PetscCall(VecDestroy(&coordinatesNew)); in DMPlexPermute()