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

#include <AMReX_EB2_IF_Scale.H>

Public Member Functions

 ScaleIF (F a_f, const RealArray &a_scalefactor)
 
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
 
Real operator() (const RealArray &p) const noexcept
 

Protected Attributes

m_f
 
XDim3 m_sfinv
 

Constructor & Destructor Documentation

◆ ScaleIF()

template<class F >
amrex::EB2::ScaleIF< F >::ScaleIF ( a_f,
const RealArray a_scalefactor 
)
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::ScaleIF< F >::operator() ( AMREX_D_DECL(Real x, Real y, Real z)  ) const
inlinenoexcept

◆ operator()() [2/2]

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

Member Data Documentation

◆ m_f

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

◆ m_sfinv

template<class F >
XDim3 amrex::EB2::ScaleIF< F >::m_sfinv
protected

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