peclet.voro 1.0.0
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
sdf.hpp File Reference
#include <Kokkos_Core.hpp>
#include <type_traits>
#include "peclet/core/common/view.hpp"
#include "peclet/voro/convex_cell.hpp"
Include dependency graph for sdf.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  peclet::voro::NoSdf
 Sentinel "no geometry" provider — the default; the clip stage is skipped. More...
 
struct  peclet::voro::SdfSphere< Real >
 Solid ball (negative inside). eval ported from peclet::core::geom::Sphere. More...
 
struct  peclet::voro::SdfBox< Real >
 Axis-aligned solid box of half-extents (hx,hy,hz). eval ported from peclet::core::geom::Box. More...
 
struct  peclet::voro::SdfHollowCylinder< Real >
 
struct  peclet::voro::SdfGrid< Real >
 
struct  peclet::voro::SdfSpheres< Real >
 

Namespaces

namespace  peclet
 
namespace  peclet::voro
 

Functions

template<class Real , class Sdf >
KOKKOS_INLINE_FUNCTION void peclet::voro::sdfGradient (const Sdf &s, Real x, Real y, Real z, Real g[3])
 Central-difference gradient of any provider with eval() (matches peclet::core::geom::gradient).
 
template<class Real , class Sdf >
KOKKOS_INLINE_FUNCTION void peclet::voro::sdfHessian (const Sdf &s, Real x, Real y, Real z, Real H[3][3])
 
template<class Real , int MAXP, int MAXT, bool TrackAdj, class Sdf >
KOKKOS_INLINE_FUNCTION void peclet::voro::addSdfWallForce (const ConvexCell< Real, MAXP, MAXT, TrackAdj > &c, const Real seed[3], const Sdf &sdf, const Real *gx, const Real *gy, const Real *gz, Real fSelf[3])
 
template<class Real , int MAXP, int MAXT, bool TrackAdj, class Sdf >
KOKKOS_INLINE_FUNCTION bool peclet::voro::clipCellAgainstSdf (ConvexCell< Real, MAXP, MAXT, TrackAdj > &c, const Real seed[3], const Sdf &sdf)
 

Variables

constexpr int peclet::voro::kBoundaryFacet = -2