]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Hide template specialization from doxygen.
authorMarc Fehling <mafehling.git@gmail.com>
Tue, 11 Jan 2022 17:17:01 +0000 (18:17 +0100)
committerMarc Fehling <mafehling.git@gmail.com>
Tue, 11 Jan 2022 17:40:24 +0000 (18:40 +0100)
source/grid/grid_generator_pipe_junction.cc

index b2b835944a7ba3ac45d2c586a90d24c5f3416577..50424fcc8839bb1dc293839141c6fad7d22c382e 100644 (file)
@@ -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
 
 

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.