From: Johannes Heinz Date: Fri, 16 Jun 2023 10:49:02 +0000 (+0200) Subject: improve name and documentation X-Git-Tag: v9.5.0-rc1~94^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15369%2Fhead;p=dealii.git improve name and documentation --- 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