Reference documentation for deal.II version GIT relicensing-397-g31a1263477 2024-04-16 03:30: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\}}\)
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_v< std::decay_t< T >, std::decay_t< F > > &&std::is_constructible_v< T, F > > *=nullptr)
 
template<typename F >
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINEvalue (const F &f, std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&is_explicitly_convertible< const F, T >::value > *=nullptr)
 
template<typename F >
static T value (const F &f, std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&!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_v< std::decay_t< T >, std::decay_t< F > > &&std::is_constructible_v< T, F > > *  = 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_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&is_explicitly_convertible< const F, T >::value > *  = nullptr 
)
inlinestaticconstexpr

Definition at line 727 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_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value > *  = nullptr 
)
inlinestatic

Definition at line 742 of file numbers.h.


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