![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_EB2_IF_Sphere.H>
Public Member Functions | |
| SphereIF (Real a_radius, const RealArray &a_center, bool a_inside) | |
Build a sphere with radius a_radius and center a_center. | |
| __host__ __device__ Real | operator() (Real x, Real y, Real z) const noexcept |
| Evaluate the implicit function at explicit coordinates. | |
| Real | operator() (const RealArray &p) const noexcept |
| Array-based helper overload. | |
Protected Attributes | |
| Real | m_radius |
| XDim3 | m_center |
| Real | m_sign |
Build a sphere with radius a_radius and center a_center.
Array-based helper overload.
|
inlinenodiscardnoexcept |
Evaluate the implicit function at explicit coordinates.
|
protected |
|
protected |
|
protected |