From 2ca2c546731be1c6de679b8671373c0cb2cd7323 Mon Sep 17 00:00:00 2001 From: Johannes Heinz Date: Fri, 16 Jun 2023 12:49:02 +0200 Subject: [PATCH] improve name and documentation --- include/deal.II/grid/grid_tools.h | 9 +++++---- source/grid/grid_tools.cc | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index a7b9ae0614..18d28cc968 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -1361,9 +1361,10 @@ namespace GridTools std::vector recv_ptrs; /** - * Distribute quadrature points on found intersections and construct - * GridTools::internal::DistributedComputePointLocationsInternal from - * class members. This can be done without searching for points again + * Distribute quadrature points according to + * QGaussSimplex(n_points_1D) on found intersections and + * construct GridTools::internal::DistributedComputePointLocationsInternal + * from class members. This can be done without searching for points again * since all information is locally known. * * The parameter @p consistent_numbering_of_sender_and_receiver can be used to ensure @@ -1378,7 +1379,7 @@ namespace GridTools GridTools::internal::DistributedComputePointLocationsInternal convert_to_distributed_compute_point_locations_internal( - const unsigned int n_quadrature_points, + const unsigned int n_points_1D, const Triangulation &tria, const Mapping & mapping, const bool consistent_numbering_of_sender_and_receiver = false) const; diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index ef9414da49..5a5fce3ba3 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -6331,7 +6331,7 @@ namespace GridTools DistributedComputePointLocationsInternal DistributedComputeIntersectionLocationsInternal:: convert_to_distributed_compute_point_locations_internal( - const unsigned int n_quadrature_points, + const unsigned int n_points_1D, const Triangulation &tria, const Mapping & mapping, const bool consistent_numbering_of_sender_and_receiver) const @@ -6346,7 +6346,7 @@ namespace GridTools // We need quadrature rules for the intersections. We are using a // QGaussSimplex quadrature rule since CGAL always returns simplices // as intersections. - const QGaussSimplex quadrature(n_quadrature_points); + const QGaussSimplex quadrature(n_points_1D); // Resulting quadrature points get different indices. In the case the // requested intersections are unique also the resulting quadrature -- 2.39.5