Reference documentation for deal.II version 9.4.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\}}\)
Classes | Namespaces | Macros | Functions | Variables
numbers.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/types.h>
#include <cuComplex.h>
#include <cmath>
#include <complex>
#include <cstddef>
#include <type_traits>
#include <deal.II/differentiation/ad/adolc_math.h>
#include <adolc/adouble.h>
#include <Sacado.hpp>

Go to the source code of this file.

Classes

struct  internal::VectorizedArrayWidthSpecifier< Number >
 
struct  internal::VectorizedArrayWidthSpecifier< double >
 
struct  internal::VectorizedArrayWidthSpecifier< float >
 
struct  numbers::is_cuda_compatible< Number, typename >
 
struct  numbers::is_cuda_compatible< std::complex< Number >, void >
 
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 > >
 
struct  internal::NumberType< cuComplex >
 
struct  internal::NumberType< cuDoubleComplex >
 

Namespaces

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

Macros

#define DEAL_II_CUDA_HOST_DEV   __host__ __device__
 

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 >
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_CUDA_HOST_DEV

#define DEAL_II_CUDA_HOST_DEV   __host__ __device__

Definition at line 34 of file numbers.h.