]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't include content of "fe/fe_values.inst" if building documentation. 12756/head
authorSimon Sticko <simon@sticko.se>
Mon, 29 Nov 2021 15:55:41 +0000 (16:55 +0100)
committerSimon Sticko <simon@sticko.se>
Mon, 29 Nov 2021 17:47:19 +0000 (18:47 +0100)
To avoid a warning when generating documentation of
NonMatching::FEValues.

source/fe/fe_values.inst.in

index c119bbb8b367371ac2c55f2143621cecb8f81431..8d5cd661f124bdad603e87752f07ea54a79eeb0f 100644 (file)
 //
 // ---------------------------------------------------------------------
 
+#ifndef DOXYGEN
 
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
   {
-#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension <= deal_II_space_dimension
     template class FEValuesBase<deal_II_dimension, deal_II_space_dimension>;
     template class FEValues<deal_II_dimension, deal_II_space_dimension>;
 
@@ -45,14 +46,14 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
                                                 deal_II_space_dimension>;
       \}
     \}
-#endif
+#  endif
   }
 
 
 for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
      lda : BOOL)
   {
-#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension <= deal_II_space_dimension
     template void FEValues<deal_II_dimension, deal_II_space_dimension>::reinit(
       const TriaIterator<
         DoFCellAccessor<deal_II_dimension, deal_II_space_dimension, lda>> &);
@@ -87,7 +88,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
       const TriaIterator<TriaAccessor<deal_II_dimension - 1,
                                       deal_II_dimension,
                                       deal_II_space_dimension>> &);
-#endif
+#  endif
   }
 
 
@@ -95,7 +96,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS;
 for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
      deal_II_space_dimension : SPACE_DIMENSIONS)
   {
-#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension <= deal_II_space_dimension
     template void
     FEValuesViews::Scalar<deal_II_dimension, deal_II_space_dimension>::
       get_function_values<dealii::VEC>(
@@ -234,7 +235,7 @@ for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
           ProductType<dealii::VEC::value_type,
                       dealii::Tensor<3, deal_II_space_dimension>>::type> &)
         const;
-#endif
+#  endif
   }
 
 
@@ -242,7 +243,7 @@ for (VEC : GENERAL_CONTAINER_TYPES; Number : ALL_SCALAR_TYPES;
      deal_II_dimension : DIMENSIONS;
      deal_II_space_dimension : SPACE_DIMENSIONS)
   {
-#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension <= deal_II_space_dimension
     template void
     FEValuesViews::Scalar<deal_II_dimension, deal_II_space_dimension>::
       get_function_values_from_local_dof_values<VEC<Number>>(
@@ -350,14 +351,14 @@ for (VEC : GENERAL_CONTAINER_TYPES; Number : ALL_SCALAR_TYPES;
       get_function_gradients_from_local_dof_values<VEC<Number>>(
         const VEC<Number> &, std::vector<solution_gradient_type<Number>> &)
         const;
-#endif
+#  endif
   }
 
 
 for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
      deal_II_space_dimension : SPACE_DIMENSIONS)
   {
-#if deal_II_dimension <= deal_II_space_dimension
+#  if deal_II_dimension <= deal_II_space_dimension
 
     template void FEValuesBase<deal_II_dimension, deal_II_space_dimension>::
       get_function_values<VEC>(const VEC &, std::vector<VEC::value_type> &)
@@ -487,5 +488,6 @@ for (VEC : VECTOR_TYPES; deal_II_dimension : DIMENSIONS;
           dealii::Tensor<3, deal_II_space_dimension, VEC::value_type>>>,
         bool) const;
 
-#endif
+#  endif
   }
+#endif

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.