Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve name and documentation #15369

Merged
merged 1 commit into from
Jun 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions include/deal.II/grid/grid_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions source/grid/grid_tools.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down