|
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 | |
| Kokkos::View< const peclet::core::geom::ShapeNode< Real > *, peclet::core::MemSpace > | nodes |
| Kokkos::View< const peclet::core::geom::GridDesc< Real > *, peclet::core::MemSpace > | grids |
| Kokkos::View< const float *, peclet::core::MemSpace > | samples |
| int | nodeCount = 0 |
| int | root = 0 |
| Real | h = Real(1e-4) |
A whole core shape SCENE as a voro provider: the full shared analytic vocabulary (sphere, box, both hollow-cylinder forms, capsule, torus, cone, ellipsoid, superquadric), CSG union / intersection / difference, per-node conformal transforms, and sampled grids – all reachable from voro's cell clipper and mesh optimiser through the one eval(x,y,z) + gradH() interface they already expect.
This is what lets voro use analytic geometry beyond the three legacy providers above without voro owning any geometry code: the nodes are core's POD ShapeNode records, the evaluation is core's recursion-free evalTree.
|
inline |
|
inline |
| Kokkos::View<const peclet::core::geom::GridDesc<Real>*, peclet::core::MemSpace> peclet::voro::SdfScene< Real >::grids |
| Real peclet::voro::SdfScene< Real >::h = Real(1e-4) |
| int peclet::voro::SdfScene< Real >::nodeCount = 0 |
| Kokkos::View<const peclet::core::geom::ShapeNode<Real>*, peclet::core::MemSpace> peclet::voro::SdfScene< Real >::nodes |
| int peclet::voro::SdfScene< Real >::root = 0 |
| Kokkos::View<const float*, peclet::core::MemSpace> peclet::voro::SdfScene< Real >::samples |