Block-Structured AMR Software Framework
amrex::IParserExecutor< N > Struct Template Reference

#include <AMReX_IParser.H>

Public Member Functions

template<int M = N, std::enable_if_t< M==0, int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE long long operator() () const noexcept
 
template<typename... Ts>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::enable_if_t< sizeof...(Ts)==N &&std::conjunction_v< std::is_integral< Ts >... >, long long > operator() (Ts... var) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE long long operator() (GpuArray< long long, N > const &var) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE operator bool () const
 

Public Attributes

char * m_host_executor = nullptr
 
char * m_device_executor = nullptr
 

Member Function Documentation

◆ operator bool()

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::IParserExecutor< N >::operator bool ( ) const
inlineexplicit

◆ operator()() [1/3]

template<int N>
template<int M = N, std::enable_if_t< M==0, int > = 0>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE long long amrex::IParserExecutor< N >::operator() ( ) const
inlinenoexcept

◆ operator()() [2/3]

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE long long amrex::IParserExecutor< N >::operator() ( GpuArray< long long, N > const &  var) const
inlinenoexcept

◆ operator()() [3/3]

template<int N>
template<typename... Ts>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::enable_if_t<sizeof...(Ts) == N && std::conjunction_v<std::is_integral<Ts>...>, long long> amrex::IParserExecutor< N >::operator() ( Ts...  var) const
inlinenoexcept

Member Data Documentation

◆ m_device_executor

template<int N>
char* amrex::IParserExecutor< N >::m_device_executor = nullptr

◆ m_host_executor

template<int N>
char* amrex::IParserExecutor< N >::m_host_executor = nullptr

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