deal.II version GIT relicensing-2165-gc91f007519 2024-11-20 01:40:00+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
Classes | Namespaces | Macros | Functions | Variables
numbers.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/types.h>
#include <Kokkos_Macros.hpp>
#include <cmath>
#include <complex>
#include <cstddef>
#include <type_traits>

Go to the source code of this file.

Classes

struct  internal::VectorizedArrayWidthSpecifier< Number >
 
struct  internal::VectorizedArrayWidthSpecifier< double >
 
struct  internal::VectorizedArrayWidthSpecifier< float >
 
struct  numbers::NumberTraits< number >
 
struct  numbers::NumberTraits< std::complex< number > >
 
struct  internal::is_explicitly_convertible< From, To >
 
struct  internal::NumberType< T >
 
struct  internal::NumberType< std::complex< T > >
 

Namespaces

namespace  adtl
 
namespace  internal
 
namespace  std
 STL namespace.
 
namespace  numbers
 
namespace  Differentiation
 
namespace  Differentiation::AD
 
namespace  Differentiation::AD::internal
 

Macros

#define DEAL_II_HOST_DEVICE   KOKKOS_FUNCTION
 
#define DEAL_II_HOST_DEVICE_ALWAYS_INLINE   KOKKOS_FORCEINLINE_FUNCTION
 
#define DEAL_II_HOST
 

Functions

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::sqrt (const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::abs (const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::max (const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::min (const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::pow (const ::VectorizedArray< Number, width > &, const Number p)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::sin (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::cos (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::tan (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::exp (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > std::log (const ::VectorizedArray< Number, width > &)
 
bool numbers::is_finite (const double x)
 
bool numbers::is_finite (const std::complex< double > &x)
 
bool numbers::is_finite (const std::complex< float > &x)
 
bool numbers::is_finite (const std::complex< long double > &x)
 
template<typename Number1 , typename Number2 >
constexpr bool numbers::values_are_equal (const Number1 &value_1, const Number2 &value_2)
 
template<typename Number1 , typename Number2 >
constexpr bool numbers::values_are_not_equal (const Number1 &value_1, const Number2 &value_2)
 
template<typename Number >
constexpr bool numbers::value_is_zero (const Number &value)
 
template<typename Number1 , typename Number2 >
bool numbers::value_is_less_than (const Number1 &value_1, const Number2 &value_2)
 
template<typename Number1 , typename Number2 >
bool numbers::value_is_less_than_or_equal_to (const Number1 &value_1, const Number2 &value_2)
 
template<typename Number1 , typename Number2 >
bool numbers::value_is_greater_than (const Number1 &value_1, const Number2 &value_2)
 
template<typename Number1 , typename Number2 >
bool numbers::value_is_greater_than_or_equal_to (const Number1 &value_1, const Number2 &value_2)
 
bool numbers::is_nan (const double x)
 
bool numbers::values_are_equal (const adouble &value_1, const adouble &value_2)
 
template<typename Number >
bool numbers::values_are_equal (const adouble &value_1, const Number &value_2)
 
template<typename Number >
bool numbers::values_are_equal (const Number &value_1, const adouble &value_2)
 
bool numbers::value_is_less_than (const adouble &value_1, const adouble &value_2)
 
template<typename Number >
bool numbers::value_is_less_than (const adouble &value_1, const Number &value_2)
 
template<typename Number >
bool numbers::value_is_less_than (const Number &value_1, const adouble &value_2)
 

Variables

static constexpr double numbers::E = 2.7182818284590452354
 
static constexpr double numbers::LOG2E = 1.4426950408889634074
 
static constexpr double numbers::LOG10E = 0.43429448190325182765
 
static constexpr double numbers::LN2 = 0.69314718055994530942
 
static constexpr double numbers::LN10 = 2.30258509299404568402
 
static constexpr double numbers::PI = 3.14159265358979323846
 
static constexpr double numbers::PI_2 = 1.57079632679489661923
 
static constexpr double numbers::PI_4 = 0.78539816339744830962
 
static constexpr double numbers::SQRT2 = 1.41421356237309504880
 
static constexpr double numbers::SQRT1_2 = 0.70710678118654752440
 

Macro Definition Documentation

◆ DEAL_II_HOST_DEVICE

#define DEAL_II_HOST_DEVICE   KOKKOS_FUNCTION

Definition at line 30 of file numbers.h.

◆ DEAL_II_HOST_DEVICE_ALWAYS_INLINE

#define DEAL_II_HOST_DEVICE_ALWAYS_INLINE   KOKKOS_FORCEINLINE_FUNCTION

Definition at line 31 of file numbers.h.

◆ DEAL_II_HOST

#define DEAL_II_HOST

Definition at line 40 of file numbers.h.