Searched refs:pointCoords (Results 1 – 1 of 1) sorted by relevance
2047 PetscScalar *pointCoords; in DMPlexCreateGmsh() local2094 PetscCall(VecGetArray(coordinates, &pointCoords)); in DMPlexCreateGmsh()2102 for (d = 0; d < coordDim; ++d) pointCoords[off + d] = (PetscReal)coords[node * 3 + d]; in DMPlexCreateGmsh()2104 PetscCall(VecRestoreArray(coordinates, &pointCoords)); in DMPlexCreateGmsh()2111 PetscCall(VecGetArray(coordinatesCell, &pointCoords)); in DMPlexCreateGmsh()2143 … for (PetscInt d = 0; d < coordDim; ++d) pointCoords[off++] = (PetscReal)coords[cone[v] * 3 + d]; in DMPlexCreateGmsh()2153 PetscCall(VecRestoreArray(coordinatesCell, &pointCoords)); in DMPlexCreateGmsh()