deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12: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
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 694 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 697 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 712 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 722 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 737 of file numbers.h.


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