Block-Structured AMR Software Framework
amrex::EB2::TranslationIF< F > Class Template Reference

#include <AMReX_EB2_IF_Translation.H>

Public Member Functions

 TranslationIF (F a_f, const RealArray &a_offset)
 
Real operator() (const RealArray &p) const noexcept
 
template<class U = F, std::enable_if_t< IsGPUable< U >::value, int > = 0>
AMREX_GPU_HOST_DEVICE Real operator() (AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
 

Protected Attributes

m_f
 
XDim3 m_offset
 

Constructor & Destructor Documentation

◆ TranslationIF()

template<class F >
amrex::EB2::TranslationIF< F >::TranslationIF ( a_f,
const RealArray a_offset 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<class F >
template<class U = F, std::enable_if_t< IsGPUable< U >::value, int > = 0>
AMREX_GPU_HOST_DEVICE Real amrex::EB2::TranslationIF< F >::operator() ( AMREX_D_DECL(Real x, Real y, Real z)  ) const
inlinenoexcept

◆ operator()() [2/2]

template<class F >
Real amrex::EB2::TranslationIF< F >::operator() ( const RealArray p) const
inlinenoexcept

Member Data Documentation

◆ m_f

template<class F >
F amrex::EB2::TranslationIF< F >::m_f
protected

◆ m_offset

template<class F >
XDim3 amrex::EB2::TranslationIF< F >::m_offset
protected

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