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

#include <AMReX_EB2_IF_Sphere.H>

Inheritance diagram for amrex::EB2::SphereIF:
amrex::GPUable

Public Member Functions

 SphereIF (Real a_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_radius
 
XDim3 m_center
 
Real m_sign
 

Constructor & Destructor Documentation

◆ SphereIF()

amrex::EB2::SphereIF::SphereIF ( Real  a_radius,
const RealArray a_center,
bool  a_inside 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ m_center

XDim3 amrex::EB2::SphereIF::m_center
protected

◆ m_radius

Real amrex::EB2::SphereIF::m_radius
protected

◆ m_sign

Real amrex::EB2::SphereIF::m_sign
protected

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