deal.II version GIT relicensing-6839-g338455934c 2026-10-02 12:10:01+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\}}\)
Loading...
Searching...
No Matches
symengine_types.cc
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2019 - 2026 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#include <deal.II/base/config.h>
14
15#ifdef DEAL_II_WITH_SYMENGINE
16
19
20# include <symengine/basic.h>
21# include <symengine/dict.h>
22
23
24
25#endif // DEAL_II_WITH_SYMENGINE
26
28
29#ifdef DEAL_II_WITH_SYMENGINE
30
31namespace Differentiation
32{
33 namespace SD
34 {
35 namespace SE = ::SymEngine;
36
37 namespace types
38 {
39 namespace internal
40 {
41 bool
43 const SD::Expression &rhs) const
44 {
45 return SE::RCPBasicKeyLess()(lhs.get_RCP(), rhs.get_RCP());
46 }
47 } // namespace internal
48
49 } // namespace types
50
51 } // namespace SD
52} // namespace Differentiation
53
54
55
56#endif // DEAL_II_WITH_SYMENGINE
const SymEngine::RCP< const SymEngine::Basic > & get_RCP() const
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
Definition types.h:30
bool operator()(const SD::Expression &lhs, const SD::Expression &rhs) const