From 9805a310c9a5755c9e5f8b3c5a5a4700103c27c9 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Tue, 11 Jan 2022 18:17:01 +0100 Subject: [PATCH] Hide template specialization from doxygen. --- source/grid/grid_generator_pipe_junction.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/grid/grid_generator_pipe_junction.cc b/source/grid/grid_generator_pipe_junction.cc index b2b835944a..50424fcc88 100644 --- a/source/grid/grid_generator_pipe_junction.cc +++ b/source/grid/grid_generator_pipe_junction.cc @@ -88,6 +88,9 @@ namespace GridGenerator + // hide the template specialization from doxygen +#ifndef DOXYGEN + template <> void pipe_junction(Triangulation<3, 3> & tria, @@ -102,7 +105,7 @@ namespace GridGenerator constexpr unsigned int n_pipes = 3; constexpr double tolerance = 1.e-12; -#ifdef DEBUG +# ifdef DEBUG // Verify user input. Assert(bifurcation.second > 0, ExcMessage("Invalid input: negative radius.")); @@ -110,7 +113,7 @@ namespace GridGenerator ExcMessage("Invalid input: only 3 openings allowed.")); for (const auto &opening : openings) Assert(opening.second > 0, ExcMessage("Invalid input: negative radius.")); -#endif +# endif // Each pipe segment will be identified by the index of its opening in the // parameter array. To determine the next and previous entry in the array @@ -428,6 +431,9 @@ namespace GridGenerator face->set_boundary_id(n_pipes); } } + +#endif + } // namespace GridGenerator -- 2.39.5