Block-Structured AMR Software Framework
amrex::Table1D< T > Struct Template Reference

#include <AMReX_TableData.H>

Public Member Functions

constexpr Table1D () noexcept=default
 
template<class U = T, std::enable_if_t< std::is_const_v< U >, int > = 0>
constexpr AMREX_GPU_HOST_DEVICE Table1D (Table1D< std::remove_const_t< T >> const &rhs) noexcept
 
constexpr AMREX_GPU_HOST_DEVICE Table1D (T *a_p, int a_begin, int a_end) noexcept
 
AMREX_GPU_HOST_DEVICE operator bool () const noexcept
 
template<class U = T, std::enable_if_t<!std::is_void_v< U >, int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE U & operator() (int i) const noexcept
 

Public Attributes

T *AMREX_RESTRICT p = nullptr
 
int begin = 1
 
int end = 0
 

Constructor & Destructor Documentation

◆ Table1D() [1/3]

template<typename T >
constexpr amrex::Table1D< T >::Table1D ( )
constexprdefaultnoexcept

◆ Table1D() [2/3]

template<typename T >
template<class U = T, std::enable_if_t< std::is_const_v< U >, int > = 0>
constexpr AMREX_GPU_HOST_DEVICE amrex::Table1D< T >::Table1D ( Table1D< std::remove_const_t< T >> const &  rhs)
inlineconstexprnoexcept

◆ Table1D() [3/3]

template<typename T >
constexpr AMREX_GPU_HOST_DEVICE amrex::Table1D< T >::Table1D ( T *  a_p,
int  a_begin,
int  a_end 
)
inlineconstexprnoexcept

Member Function Documentation

◆ operator bool()

template<typename T >
AMREX_GPU_HOST_DEVICE amrex::Table1D< T >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator()()

template<typename T >
template<class U = T, std::enable_if_t<!std::is_void_v< U >, int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE U& amrex::Table1D< T >::operator() ( int  i) const
inlinenoexcept

Member Data Documentation

◆ begin

template<typename T >
int amrex::Table1D< T >::begin = 1

◆ end

template<typename T >
int amrex::Table1D< T >::end = 0

◆ p

template<typename T >
T* AMREX_RESTRICT amrex::Table1D< T >::p = nullptr

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