Debian Codegraph @

include/deal.II/differentiation/sd.h

raw
1 // ------------------------------------------------------------------------
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 // Copyright (C) 2019 - 2024 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // Part of the source code is dual licensed under Apache-2.0 WITH
9 // LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10 // governing the source code and code contributions can be found in
11 // LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12 //
13 // ------------------------------------------------------------------------
14
15 #ifndef dealii_differentiation_sd_h
16 #define dealii_differentiation_sd_h
17
18 #include <deal.II/base/config.h>
19
20 #ifdef DEAL_II_WITH_SYMENGINE
21
22 # include <deal.II/differentiation/sd/symengine_math.h>
23 # include <deal.II/differentiation/sd/symengine_number_traits.h>
24 # include <deal.II/differentiation/sd/symengine_number_types.h>
25 # include <deal.II/differentiation/sd/symengine_optimizer.h>
26 # include <deal.II/differentiation/sd/symengine_product_types.h>
27 # include <deal.II/differentiation/sd/symengine_scalar_operations.h>
28 # include <deal.II/differentiation/sd/symengine_tensor_operations.h>
29 # include <deal.II/differentiation/sd/symengine_types.h>
30 # include <deal.II/differentiation/sd/symengine_utilities.h>
31
32 DEAL_II_NAMESPACE_OPEN
33
34 namespace Differentiation
35 {
36 /**
37 * Wrappers for symbolic differentiation libraries. Currently there is support
38 * for the following libraries:
39 * - SymEngine
40 *
41 * @ingroup auto_symb_diff
42 */
43 namespace SD
44 {
45 /**
46 * This namespace defines the classes and functions that help provide a
47 * structured interface to symbolic numbers and operations.
48 */
49 namespace internal
50 {}
51 } // namespace SD
52 } // namespace Differentiation
53
54 DEAL_II_NAMESPACE_CLOSE
55
56 #else
57
58 // Make sure the scripts that create the C++20 module input files have
59 // something to latch on if the preprocessor #ifdef above would
60 // otherwise lead to an empty content of the file.
61 DEAL_II_NAMESPACE_OPEN
62 DEAL_II_NAMESPACE_CLOSE
63
64 #endif // DEAL_II_WITH_SYMENGINE
65
66 #endif // dealii_differentiation_sd_h