]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include ADOLC headers where necessary. 18134/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 13 Feb 2025 05:10:15 +0000 (22:10 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 13 Feb 2025 16:00:47 +0000 (09:00 -0700)
include/deal.II/differentiation/ad/ad_drivers.h
source/base/symmetric_tensor.cc
source/differentiation/ad/adolc_number_types.cc
source/fe/fe_values_views.cc
source/fe/fe_values_views_internal.cc

index c6a7f8183c4620a348c9dcfed23997263c6c964a..a73f4208ba5918caa3231909c16dd826cd979bb4 100644 (file)
@@ -28,6 +28,8 @@
 
 #ifdef DEAL_II_WITH_ADOLC
 
+#  include <adolc/adouble.h> // Taped double
+#  include <adolc/adtl.h>    // Tapeless double
 #  include <adolc/internal/usrparms.h>
 
 #endif // DEAL_II_WITH_ADOLC
index 7fecd5262d3ca3bfc0d32c3365a05a9d21bd35bf..9d88e415f63715c2a3b0103249b60ef6f7820347 100644 (file)
 #include <deal.II/differentiation/ad/adolc_product_types.h>
 #include <deal.II/differentiation/ad/sacado_product_types.h>
 
+#ifdef DEAL_II_WITH_ADOLC
+#  include <adolc/adouble.h>
+#  include <adolc/adtl.h>
+#endif
+
+
 DEAL_II_NAMESPACE_OPEN
+
 #ifdef DEAL_II_WITH_ADOLC
 #  ifdef DEAL_II_ADOLC_WITH_ADVANCED_BRANCHING
 
index fe0f0bc63af3808eb0d2a9ead4a56eddb29e83e2..9aaff9098a0164fb3b2fec26e719b363d40568d8 100644 (file)
@@ -25,6 +25,7 @@
 
 #  ifdef DEAL_II_WITH_ADOLC
 #    include <adolc/adouble.h> // Taped double
+#    include <adolc/adtl.h>    // Tapeless double
 #  endif
 
 DEAL_II_NAMESPACE_OPEN
index 39ab945feb3dd54fe258d58fceab898fc5989f41..db0b51b9082ebe1c4118b6643240f23444e5693d 100644 (file)
 
 #include <deal.II/lac/vector.h>
 
+#ifdef DEAL_II_WITH_ADOLC
+#  include <adolc/adouble.h>
+#  include <adolc/adtl.h>
+#endif
+
+
 DEAL_II_NAMESPACE_OPEN
 
 
index 75f235f31075061bfa25202b1c421099c047b7c8..a73e5c3ccf222d9c0ddaa39b84e46895c0fe0c67 100644 (file)
 
 #include <deal.II/fe/fe_values_views_internal.h>
 
+#ifdef DEAL_II_WITH_ADOLC
+#  include <adolc/adouble.h>
+#  include <adolc/adtl.h>
+#endif
+
 #include <type_traits>
 
 DEAL_II_NAMESPACE_OPEN

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.