Searched refs:points_centroids_ (Results 1 – 1 of 1) sorted by relevance
166 PetscReal *points_centroids_; in DMPlexGetPointsCentroids() local174 PetscCall(PetscCalloc1((pEnd - pStart) * coords_dim, &points_centroids_)); in DMPlexGetPointsCentroids()182 …for (PetscInt d = 0; d < coords_dim; d++) points_centroids_[p * coords_dim + d] += PetscRealPart(c… in DMPlexGetPointsCentroids()184 for (PetscInt d = 0; d < coords_dim; d++) points_centroids_[p * coords_dim + d] /= num_coords; in DMPlexGetPointsCentroids()187 *points_centroids = points_centroids_; in DMPlexGetPointsCentroids()