]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid including .cc files for split instantiations.
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 26 May 2025 23:06:27 +0000 (17:06 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 26 May 2025 23:08:43 +0000 (17:08 -0600)
source/fe/mapping_fe_field.cc
source/fe/mapping_fe_field_inst2.cc

index 3457b5deecc0fe896d002ff5a56e199afdf805e1..f347aaf938057350e4e47ebe17fef24f0fd09703 100644 (file)
@@ -19,9 +19,8 @@ DEAL_II_NAMESPACE_OPEN
 
 // explicit instantiations
 #define SPLIT_INSTANTIATIONS_COUNT 2
-#ifndef SPLIT_INSTANTIATIONS_INDEX
-#  define SPLIT_INSTANTIATIONS_INDEX 0
-#endif
+#define SPLIT_INSTANTIATIONS_INDEX 0
+
 #include "fe/mapping_fe_field.inst"
 
 
index 2eff96730276a4e44bc05b20d0a99744abc89cf5..2331ace722ca8d30683df465129b79a5d8814290 100644 (file)
 // ------------------------------------------------------------------------
 
 
+#include <deal.II/fe/mapping_fe_field.templates.h>
+
+
+DEAL_II_NAMESPACE_OPEN
+
+// explicit instantiations
+#define SPLIT_INSTANTIATIONS_COUNT 2
 #define SPLIT_INSTANTIATIONS_INDEX 1
-#include "mapping_fe_field.cc"
+
+#include "fe/mapping_fe_field.inst"
+
+
+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.