1 #ifndef AMREX_EB2_IF_SCALE_H_
2 #define AMREX_EB2_IF_SCALE_H_
3 #include <AMReX_Config.H>
20 :
m_f(std::move(a_f)),
21 #
if (AMREX_SPACEDIM == 3)
22 m_sfinv{1.0_rt/a_scalefactor[0], 1.0_rt/a_scalefactor[1], 1.0_rt/a_scalefactor[2]}
24 m_sfinv{1.0_rt/a_scalefactor[0], 1.0_rt/a_scalefactor[1], 0.0_rt}
28 template <class U=F, std::enable_if_t<IsGPUable<U>::value,
int> = 0>
#define AMREX_GPU_HOST_DEVICE
Definition: AMReX_GpuQualifiers.H:20
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
if(!(yy_init))
Definition: amrex_iparser.lex.nolint.H:935
Definition: AMReX_EB2_IF_Scale.H:16
F m_f
Definition: AMReX_EB2_IF_Scale.H:46
ScaleIF(F a_f, const RealArray &a_scalefactor)
Definition: AMReX_EB2_IF_Scale.H:19
AMREX_GPU_HOST_DEVICE Real operator()(AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
Definition: AMReX_EB2_IF_Scale.H:30
XDim3 m_sfinv
Definition: AMReX_EB2_IF_Scale.H:47
Definition: AMReX_FabArrayBase.H:32
constexpr ScaleIF< std::decay_t< F > > scale(F &&f, const RealArray &scalefactor)
Definition: AMReX_EB2_IF_Scale.H:56
static int f(amrex::Real t, N_Vector y_data, N_Vector y_rhs, void *user_data)
Definition: AMReX_SundialsIntegrator.H:44
Array< Real, AMREX_SPACEDIM > RealArray
Definition: AMReX_Array.H:26
Definition: AMReX_EB2_IF_Base.H:15
Definition: AMReX_Dim3.H:13
Real x
Definition: AMReX_Dim3.H:13
Real z
Definition: AMReX_Dim3.H:13
Real y
Definition: AMReX_Dim3.H:13