Reference documentation for deal.II version GIT 44af803bb8 2022-12-03 23:15:02+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\}}\)
Static Public Member Functions | List of all members
internal::NumberType< T > Struct Template Reference

#include <deal.II/base/numbers.h>

Static Public Member Functions

static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE const T & value (const T &t)
 
template<typename F >
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINEvalue (const F &f, std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&std::is_constructible< T, F >::value > *=nullptr)
 
template<typename F >
static constexpr T value (const F &f, std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&is_explicitly_convertible< const F, T >::value > *=nullptr)
 
template<typename F >
static T value (const F &f, std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value > *=nullptr)
 

Detailed Description

template<typename T>
struct internal::NumberType< T >

Definition at line 730 of file numbers.h.

Member Function Documentation

◆ value() [1/4]

template<typename T >
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE const T& internal::NumberType< T >::value ( const T &  t)
inlinestaticconstexpr

Definition at line 733 of file numbers.h.

◆ value() [2/4]

template<typename T >
template<typename F >
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE T internal::NumberType< T >::value ( const F &  f,
std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&std::is_constructible< T, F >::value > *  = nullptr 
)
inlinestaticconstexpr

Definition at line 748 of file numbers.h.

◆ value() [3/4]

template<typename T >
template<typename F >
static constexpr T internal::NumberType< T >::value ( const F &  f,
std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&is_explicitly_convertible< const F, T >::value > *  = nullptr 
)
inlinestaticconstexpr

Definition at line 759 of file numbers.h.

◆ value() [4/4]

template<typename T >
template<typename F >
static T internal::NumberType< T >::value ( const F &  f,
std::enable_if_t<!std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value > *  = nullptr 
)
inlinestatic

Definition at line 775 of file numbers.h.


The documentation for this struct was generated from the following file: