Reference documentation for deal.II version GIT dad323def1 2022-06-25 19:00:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
symengine_types.cc
Go to the documentation of this file.
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 #include <deal.II/base/config.h>
17 
18 #ifdef DEAL_II_WITH_SYMENGINE
19 
22 
23 # include <symengine/basic.h>
24 # include <symengine/dict.h>
25 
26 
28 
29 namespace Differentiation
30 {
31  namespace SD
32  {
33  namespace SE = ::SymEngine;
34 
35  namespace types
36  {
37  namespace internal
38  {
39  bool
41  const SD::Expression &rhs) const
42  {
43  return SE::RCPBasicKeyLess()(lhs.get_RCP(), rhs.get_RCP());
44  }
45  } // namespace internal
46 
47  } // namespace types
48 
49  } // namespace SD
50 } // namespace Differentiation
51 
52 
54 
55 #endif // DEAL_II_WITH_SYMENGINE
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
const SymEngine::RCP< const SymEngine::Basic > & get_RCP() const
Definition: types.h:32
bool operator()(const SD::Expression &lhs, const SD::Expression &rhs) const