Reference documentation for deal.II version 9.5.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\}}\)
Loading...
Searching...
No Matches
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 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 &&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 699 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 702 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 717 of file numbers.h.

◆ value() [3/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 &&is_explicitly_convertible< const F, T >::value > *  = nullptr 
)
inlinestaticconstexpr

Definition at line 728 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 744 of file numbers.h.


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