From 5158f1eea24ffb3b5ccb6065bae0f34d1b66a83e Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Sat, 25 Apr 2020 18:55:10 +0200 Subject: [PATCH] Fix doxygen appearance copy_new_triangulation_to_p4est --- source/distributed/tria.cc | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 8aa5670873..60a7b7ce35 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -2946,6 +2946,10 @@ namespace parallel + // Note: this has been added here to prevent that these functions + // appear in the Doxygen documentation of dealii::Triangulation +# ifndef DOXYGEN + template <> void Triangulation<2, 2>::copy_new_triangulation_to_p4est( @@ -2974,11 +2978,11 @@ namespace parallel // arrays. set vertex information only in debug mode (saves a few bytes // in optimized mode) const bool set_vertex_info -# ifdef DEBUG +# ifdef DEBUG = true -# else +# else = false -# endif +# endif ; connectivity = dealii::internal::p4est::functions<2>::connectivity_new( @@ -3041,11 +3045,11 @@ namespace parallel // arrays. set vertex information only in debug mode (saves a few bytes // in optimized mode) const bool set_vertex_info -# ifdef DEBUG +# ifdef DEBUG = true -# else +# else = false -# endif +# endif ; connectivity = dealii::internal::p4est::functions<2>::connectivity_new( @@ -3111,11 +3115,11 @@ namespace parallel // now create a connectivity object with the right sizes for all arrays const bool set_vertex_info -# ifdef DEBUG +# ifdef DEBUG = true -# else +# else = false -# endif +# endif ; connectivity = dealii::internal::p4est::functions<3>::connectivity_new( @@ -3216,6 +3220,7 @@ namespace parallel /* user_data_constructor = */ nullptr, /* user_pointer */ this); } +# endif -- 2.39.5