1 #ifndef AMREX_EB2_IF_TORUS_H_
2 #define AMREX_EB2_IF_TORUS_H_
3 #include <AMReX_Config.H>
19 TorusIF (Real a_large_radius, Real a_small_radius,
const RealArray& a_center,
bool a_inside)
23 m_sign( a_inside ? 1.0 : -1.0 )
29 #if (AMREX_SPACEDIM == 2)
#define AMREX_GPU_HOST_DEVICE
Definition: AMReX_GpuQualifiers.H:20
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
Definition: AMReX_EB2_IF_Torus.H:15
XDim3 m_center
Definition: AMReX_EB2_IF_Torus.H:47
AMREX_GPU_HOST_DEVICE Real operator()(AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
Definition: AMReX_EB2_IF_Torus.H:27
Real m_sign
Definition: AMReX_EB2_IF_Torus.H:48
Real m_small_radius
Definition: AMReX_EB2_IF_Torus.H:46
Real m_large_radius
Definition: AMReX_EB2_IF_Torus.H:45
TorusIF(Real a_large_radius, Real a_small_radius, const RealArray &a_center, bool a_inside)
Definition: AMReX_EB2_IF_Torus.H:19
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