|
peclet.voro 1.0.4
Device-native moving-particle Voronoi dynamics
|
#include <sdf.hpp>
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION Real | eval (Real x, Real y, Real z) const |
| KOKKOS_INLINE_FUNCTION Real | gradH () const |
Public Attributes | |
| Real | cx = 0 |
| Real | cy = 0 |
| Real | cz = 0 |
| Real | hx = Real(0.5) |
| Real | hy = Real(0.5) |
| Real | hz = Real(0.5) |
Axis-aligned solid box of half-extents (hx,hy,hz). DELEGATES to peclet::core::geom::prim::Box. The leaf uses fmax/fmin where this body used ternaries; those agree on every input including NaN and -0.0 (fmax(-0,0) and (-0 > 0 ? -0 : 0) both give +0), and the rung-4 bit-capture confirms the values are unchanged on host and CUDA.
|
inline |
|
inline |
| Real peclet::voro::SdfBox< Real >::cx = 0 |
| Real peclet::voro::SdfBox< Real >::cy = 0 |
| Real peclet::voro::SdfBox< Real >::cz = 0 |
| Real peclet::voro::SdfBox< Real >::hx = Real(0.5) |
| Real peclet::voro::SdfBox< Real >::hy = Real(0.5) |
| Real peclet::voro::SdfBox< Real >::hz = Real(0.5) |