Reference documentation for deal.II version 9.2.0
\(\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
symengine_number_types.h
symengine_types.h
Differentiation::SD::Expression::get_RCP
const SymEngine::RCP< const SymEngine::Basic > & get_RCP() const
Definition: symengine_number_types.cc:234
Differentiation::SD::types::internal::ExpressionKeyLess::operator()
bool operator()(const SD::Expression &lhs, const SD::Expression &rhs) const
Definition: symengine_types.cc:40
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
Differentiation
Definition: numbers.h:645
types
Definition: types.h:31
Differentiation::SD::Expression
Definition: symengine_number_types.h:179
config.h
internal
Definition: aligned_vector.h:369
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359