From fddf88f26b3d786ad9c85a0601ce25b2fc39cec0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 13 Mar 2023 15:30:15 -0600 Subject: [PATCH] Annotate 'MeshType' template parameters. --- include/deal.II/dofs/dof_tools.h | 1 + include/deal.II/grid/grid_generator.h | 12 +- include/deal.II/grid/grid_tools.h | 267 ++++++++++-------- include/deal.II/grid/intergrid_map.h | 1 + .../mg_transfer_global_coarsening.templates.h | 8 +- .../deal.II/numerics/vector_tools_evaluate.h | 36 ++- .../numerics/vector_tools_interpolate.h | 1 + source/grid/grid_generator.cc | 8 +- source/grid/grid_tools.cc | 94 +++--- source/grid/grid_tools_dof_handlers.cc | 183 +++++++----- source/grid/intergrid_map.cc | 38 +-- 11 files changed, 380 insertions(+), 269 deletions(-) diff --git a/include/deal.II/dofs/dof_tools.h b/include/deal.II/dofs/dof_tools.h index a2431e8ece..bbd82f4139 100644 --- a/include/deal.II/dofs/dof_tools.h +++ b/include/deal.II/dofs/dof_tools.h @@ -53,6 +53,7 @@ namespace hp class FECollection; } // namespace hp template +DEAL_II_CXX20_REQUIRES(concepts::is_triangulation_or_dof_handler) class InterGridMap; template class Mapping; diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 9bd1481502..c852422ece 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -2543,6 +2543,8 @@ namespace GridGenerator // intermediate type. This is only used when using MS VC++ and uses // the direct way of doing it otherwise template