]> https://gitweb.dealii.org/ - dealii.git/commitdiff
improve name and documentation 15369/head
authorJohannes Heinz <johannes.heinz@tuwien.ac.at>
Fri, 16 Jun 2023 10:49:02 +0000 (12:49 +0200)
committerJohannes Heinz <johannes.heinz@tuwien.ac.at>
Fri, 16 Jun 2023 16:58:19 +0000 (18:58 +0200)
include/deal.II/grid/grid_tools.h
source/grid/grid_tools.cc

index a7b9ae0614119a83a945dfa6921d00e7722f8c22..18d28cc968841e6bbe7361e927410544bf566d6d 100644 (file)
@@ -1361,9 +1361,10 @@ namespace GridTools
       std::vector<unsigned int> 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<structdim>(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<dim,
                                                                     spacedim>
       convert_to_distributed_compute_point_locations_internal(
-        const unsigned int                  n_quadrature_points,
+        const unsigned int                  n_points_1D,
         const Triangulation<dim, spacedim> &tria,
         const Mapping<dim, spacedim> &      mapping,
         const bool consistent_numbering_of_sender_and_receiver = false) const;
index ef9414da49649c18b5f4ce007d6086c21b6e0ffa..5a5fce3ba3b5f42d5c518138d707504e57ee03d1 100644 (file)
@@ -6331,7 +6331,7 @@ namespace GridTools
     DistributedComputePointLocationsInternal<dim, spacedim>
     DistributedComputeIntersectionLocationsInternal<structdim, spacedim>::
       convert_to_distributed_compute_point_locations_internal(
-        const unsigned int                  n_quadrature_points,
+        const unsigned int                  n_points_1D,
         const Triangulation<dim, spacedim> &tria,
         const Mapping<dim, spacedim> &      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<structdim> quadrature(n_quadrature_points);
+      const QGaussSimplex<structdim> quadrature(n_points_1D);
 
       // Resulting quadrature points get different indices. In the case the
       // requested intersections are unique also the resulting quadrature

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.