1#ifndef AMREX_EB2_IF_DEVICEPTR_H_
2#define AMREX_EB2_IF_DEVICEPTR_H_
#define AMREX_GPU_HOST_DEVICE
Definition AMReX_GpuQualifiers.H:20
#define AMREX_D_DECL(a, b, c)
Definition AMReX_SPACE.H:171
Wrapper that forwards operator() calls to an implicit function pointer.
Definition AMReX_EB2_IF_DevicePtr.H:16
AMREX_GPU_HOST_DEVICE Real operator()(AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
Device-friendly overload dispatching to the pointee.
Definition AMReX_EB2_IF_DevicePtr.H:24
DevicePtrIF(T *a_p)
Store the pointer that owns the actual implicit-function operator.
Definition AMReX_EB2_IF_DevicePtr.H:20
T * p
Definition AMReX_EB2_IF_DevicePtr.H:36
amrex_real Real
Floating Point Type for Fields.
Definition AMReX_REAL.H:79
Definition AMReX_FabArrayBase.H:33
Array< Real, 3 > RealArray
Definition AMReX_Array.H:28
Marker base that denotes an implicit function callable on device kernels.
Definition AMReX_EB2_IF_Base.H:19