]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Guard explicit template instantiations from doxygen
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 3 Aug 2024 15:53:05 +0000 (11:53 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 8 Aug 2024 21:35:40 +0000 (17:35 -0400)
source/base/index_set.cc

index 9d8a7c801cda1f6826dc7513b6d5d3cf08389fe0..7330f79cfe73ef3bd69b84123d2a0d72607be9b8 100644 (file)
@@ -1203,10 +1203,9 @@ IndexSet::memory_consumption() const
 
 // explicit template instantiations
 
-
-#ifdef DEAL_II_WITH_TRILINOS
-
-#  ifdef DEAL_II_TRILINOS_WITH_TPETRA
+#ifndef DOXYGEN
+#  ifdef DEAL_II_WITH_TRILINOS
+#    ifdef DEAL_II_TRILINOS_WITH_TPETRA
 
 template IndexSet::IndexSet(
   const Teuchos::RCP<const Tpetra::Map<
@@ -1246,9 +1245,8 @@ dealii::IndexSet::make_tpetra_map_rcp<
   int,
   bool) const;
 
-
+#    endif
 #  endif
-
 #endif
 
 DEAL_II_NAMESPACE_CLOSE

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.