Block-Structured AMR Software Framework
amrex::EB2::TorusIF Class Reference

#include <AMReX_EB2_IF_Torus.H>

Inheritance diagram for amrex::EB2::TorusIF:
amrex::GPUable

Public Member Functions

 TorusIF (Real a_large_radius, Real a_small_radius, const RealArray &a_center, bool a_inside)
 
AMREX_GPU_HOST_DEVICE Real operator() (AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
 
Real operator() (const RealArray &p) const noexcept
 

Protected Attributes

Real m_large_radius
 
Real m_small_radius
 
XDim3 m_center
 
Real m_sign
 

Constructor & Destructor Documentation

◆ TorusIF()

amrex::EB2::TorusIF::TorusIF ( Real  a_large_radius,
Real  a_small_radius,
const RealArray a_center,
bool  a_inside 
)
inline

Member Function Documentation

◆ operator()() [1/2]

AMREX_GPU_HOST_DEVICE Real amrex::EB2::TorusIF::operator() ( AMREX_D_DECL(Real x, Real y, Real z)  ) const
inlinenoexcept

◆ operator()() [2/2]

Real amrex::EB2::TorusIF::operator() ( const RealArray p) const
inlinenoexcept

Member Data Documentation

◆ m_center

XDim3 amrex::EB2::TorusIF::m_center
protected

◆ m_large_radius

Real amrex::EB2::TorusIF::m_large_radius
protected

◆ m_sign

Real amrex::EB2::TorusIF::m_sign
protected

◆ m_small_radius

Real amrex::EB2::TorusIF::m_small_radius
protected

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