Searched refs:newCoordinates (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 1188 Vec originalCoordinates, newCoordinates; in DMPlexDistributeCoordinates() local 1205 PetscCall(VecCreate(PETSC_COMM_SELF, &newCoordinates)); in DMPlexDistributeCoordinates() 1207 PetscCall(PetscObjectSetName((PetscObject)newCoordinates, name)); in DMPlexDistributeCoordinates() 1209 …ield(dm, migrationSF, originalCoordSection, originalCoordinates, newCoordSection, newCoordinates)); in DMPlexDistributeCoordinates() 1210 PetscCall(DMSetCoordinatesLocal(dmParallel, newCoordinates)); in DMPlexDistributeCoordinates() 1212 PetscCall(VecSetBlockSize(newCoordinates, bs)); in DMPlexDistributeCoordinates() 1213 PetscCall(VecDestroy(&newCoordinates)); in DMPlexDistributeCoordinates() 1229 PetscCall(VecCreate(PETSC_COMM_SELF, &newCoordinates)); in DMPlexDistributeCoordinates() 1231 PetscCall(PetscObjectSetName((PetscObject)newCoordinates, name)); in DMPlexDistributeCoordinates() 1233 …ield(dm, migrationSF, originalCoordSection, originalCoordinates, newCoordSection, newCoordinates)); in DMPlexDistributeCoordinates() [all …]
|
| H A D | plexsubmesh.c | 631 Vec coordinates, newCoordinates; in DMPlexShiftCoordinates_Internal() local 669 PetscCall(VecCreate(PETSC_COMM_SELF, &newCoordinates)); in DMPlexShiftCoordinates_Internal() 670 PetscCall(PetscObjectSetName((PetscObject)newCoordinates, "coordinates")); in DMPlexShiftCoordinates_Internal() 671 PetscCall(VecSetSizes(newCoordinates, coordSize, PETSC_DETERMINE)); in DMPlexShiftCoordinates_Internal() 672 PetscCall(VecSetBlockSize(newCoordinates, dim)); in DMPlexShiftCoordinates_Internal() 673 PetscCall(VecSetType(newCoordinates, VECSTANDARD)); in DMPlexShiftCoordinates_Internal() 674 PetscCall(DMSetCoordinatesLocal(dmNew, newCoordinates)); in DMPlexShiftCoordinates_Internal() 677 PetscCall(VecGetArray(newCoordinates, &newCoords)); in DMPlexShiftCoordinates_Internal() 697 PetscCall(VecRestoreArray(newCoordinates, &newCoords)); in DMPlexShiftCoordinates_Internal() 698 PetscCall(VecDestroy(&newCoordinates)); in DMPlexShiftCoordinates_Internal()
|