Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sacado.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Sacado Package
4 //
5 // Copyright 2006 NTESS and the Sacado contributors.
6 // SPDX-License-Identifier: LGPL-2.1-or-later
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef SACADO_HPP
11 #define SACADO_HPP
12 
13 // Top-level Sacado include file for Sacado classes that work with Kokkos.
14 // Users should use this file instead of Sacado_No_Kokkos.hpp when working
15 // with Kokkos.
16 
17 // Ensure "Sacado.hpp" and "Sacado_No_Kokkos.hpp" are not both included
18 #ifdef SACADO_NO_KOKKOS_HPP
19 #error "Do not include Sacado.hpp and Sacado_No_Kokkos.hpp in the same file."
20 #endif
21 
22 // Version string
23 #include "Sacado_Version.hpp"
24 
25 // Declarations of all overloaded math functions
26 #include "Sacado_MathFunctions.hpp"
27 
28 // Traits for all of the Sacado classes -- Include these first so they are all
29 // defined before any nesting of AD classes
30 #ifdef SACADO_ENABLE_NEW_DESIGN
33 #endif
50 #if !defined(__CUDACC__) && !defined(__HIPCC__ )
55 #include "Sacado_trad_Traits.hpp"
56 #include "Sacado_trad2_Traits.hpp"
58 #endif
59 
60 // Standard forward AD classes
61 #ifdef SACADO_ENABLE_NEW_DESIGN
62 #include "Sacado_Fad_Exp_DFad.hpp"
63 #include "Sacado_Fad_Exp_SFad.hpp"
64 #include "Sacado_Fad_Exp_SLFad.hpp"
67 #endif
68 #include "Sacado_Fad_DFad.hpp"
69 #include "Sacado_Fad_SFad.hpp"
70 #include "Sacado_Fad_SLFad.hpp"
71 
72 // Expression-level-reverse forward AD classes
73 #include "Sacado_ELRFad_DFad.hpp"
74 #include "Sacado_ELRFad_SFad.hpp"
75 #include "Sacado_ELRFad_SLFad.hpp"
76 
77 // Caching forward AD classes
78 #include "Sacado_CacheFad_DFad.hpp"
79 #include "Sacado_CacheFad_SFad.hpp"
81 
82 // Caching expression-level reverse mode forward AD classes
86 
87 // Kokkos::View specialization for Sacado AD classes
88 #include "Kokkos_View_Fad.hpp"
89 
90 //
91 // AD classes that won't or don't build under Cuda
92 //
93 #ifndef __CUDACC__
94 
95 // Standard forward AD classes
96 #include "Sacado_Fad_DVFad.hpp"
97 #include "Sacado_Fad_Vector.hpp"
99 
100 // Reverse AD classes
101 #include "Sacado_trad.hpp"
102 #include "Sacado_trad2.hpp"
103 #include "Sacado_tradvec.hpp"
104 
105 // Taylor polynomial AD classes
106 #include "Sacado_Tay_Taylor.hpp"
107 
108 // Flop-counting classes
110 
111 #endif
112 
113 #endif // SACADO_KOKKOS_HPP