Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
symengine_types.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2019 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_differentiation_sd_symengine_types_h
17 #define dealii_differentiation_sd_symengine_types_h
18 
19 #include <deal.II/base/config.h>
20 
21 #ifdef DEAL_II_WITH_SYMENGINE
22 
23 # include <map>
24 # include <vector>
25 
26 DEAL_II_NAMESPACE_OPEN
27 
28 namespace Differentiation
29 {
30  namespace SD
31  {
32  // Forward declarations
33  class Expression;
34 
35 
36  namespace types
37  {
38  namespace internal
39  {
44  {
45  bool
46  operator()(const SD::Expression &lhs,
47  const SD::Expression &rhs) const;
48  };
49  } // namespace internal
50 
59  using substitution_map =
60  std::map<SD::Expression, SD::Expression, internal::ExpressionKeyLess>;
61 
69  using symbol_vector = std::vector<SD::Expression>;
70 
71  } // namespace types
72 
73  } // namespace SD
74 } // namespace Differentiation
75 
76 
77 DEAL_II_NAMESPACE_CLOSE
78 
79 #endif // DEAL_II_WITH_SYMENGINE
80 
81 #endif // dealii_differentiation_sd_symengine_types_h
Definition: types.h:31