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

#include <AMReX_EB2_IF_Ellipsoid.H>

Inheritance diagram for amrex::EB2::EllipsoidIF:
amrex::GPUable

Public Member Functions

 EllipsoidIF (const RealArray &a_radii, 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

XDim3 m_radii
 
XDim3 m_center
 
Real m_sign
 

Constructor & Destructor Documentation

◆ EllipsoidIF()

amrex::EB2::EllipsoidIF::EllipsoidIF ( const RealArray a_radii,
const RealArray a_center,
bool  a_inside 
)
inline

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ m_center

XDim3 amrex::EB2::EllipsoidIF::m_center
protected

◆ m_radii

XDim3 amrex::EB2::EllipsoidIF::m_radii
protected

◆ m_sign

Real amrex::EB2::EllipsoidIF::m_sign
protected

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