1 #ifndef AMREX_EB2_IF_SPHERE_H_
2 #define AMREX_EB2_IF_SPHERE_H_
3 #include <AMReX_Config.H>
21 m_sign( a_inside ? 1.0 : -1.0 )
#define AMREX_GPU_HOST_DEVICE
Definition: AMReX_GpuQualifiers.H:20
#define AMREX_D_TERM(a, b, c)
Definition: AMReX_SPACE.H:129
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
Definition: AMReX_EB2_IF_Sphere.H:14
AMREX_GPU_HOST_DEVICE Real operator()(AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
Definition: AMReX_EB2_IF_Sphere.H:25
Real m_radius
Definition: AMReX_EB2_IF_Sphere.H:38
XDim3 m_center
Definition: AMReX_EB2_IF_Sphere.H:39
SphereIF(Real a_radius, const RealArray &a_center, bool a_inside)
Definition: AMReX_EB2_IF_Sphere.H:18
Real m_sign
Definition: AMReX_EB2_IF_Sphere.H:41
Definition: AMReX_FabArrayBase.H:32
XDim3 makeXDim3(const Array< Real, AMREX_SPACEDIM > &a) noexcept
Definition: AMReX_Array.H:885
Array< Real, AMREX_SPACEDIM > RealArray
Definition: AMReX_Array.H:26
Definition: AMReX_EB2_IF_Base.H:11
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