Block-Structured AMR Software Framework
amrex::EB2::DifferenceIF< F, G > Class Template Reference

#include <AMReX_EB2_IF_Difference.H>

Public Member Functions

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

Protected Attributes

m_f
 
m_g
 

Constructor & Destructor Documentation

◆ DifferenceIF()

template<class F , class G >
amrex::EB2::DifferenceIF< F, G >::DifferenceIF ( a_f,
a_g 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ m_f

template<class F , class G >
F amrex::EB2::DifferenceIF< F, G >::m_f
protected

◆ m_g

template<class F , class G >
G amrex::EB2::DifferenceIF< F, G >::m_g
protected

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