deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20: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
numbers.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) 2006 - 2023 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
14
15#include <cmath>
16#include <complex>
17#include <limits>
18
20
21namespace numbers
22{
23 template <typename number>
25
26#ifndef DOXYGEN
27 template <typename number>
28 constexpr bool NumberTraits<std::complex<number>>::is_complex;
29#endif
30 // explicit instantiations
31 template struct NumberTraits<double>;
32 template struct NumberTraits<float>;
33 template struct NumberTraits<long double>;
34
35 template struct NumberTraits<std::complex<double>>;
36 template struct NumberTraits<std::complex<float>>;
37 template struct NumberTraits<std::complex<long double>>;
38} // namespace numbers
39
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
static constexpr bool is_complex
Definition numbers.h:405