peclet.voro 1.0.0
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
peclet::voro::SdfSphere< Real > Struct Template Reference

Solid ball (negative inside). eval ported from peclet::core::geom::Sphere. More...

#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 radius = 1
 

Detailed Description

template<class Real>
struct peclet::voro::SdfSphere< Real >

Solid ball (negative inside). eval ported from peclet::core::geom::Sphere.

Member Function Documentation

◆ eval()

template<class Real >
KOKKOS_INLINE_FUNCTION Real peclet::voro::SdfSphere< Real >::eval ( Real  x,
Real  y,
Real  z 
) const
inline

◆ gradH()

template<class Real >
KOKKOS_INLINE_FUNCTION Real peclet::voro::SdfSphere< Real >::gradH ( ) const
inline

Member Data Documentation

◆ cx

template<class Real >
Real peclet::voro::SdfSphere< Real >::cx = 0

◆ cy

template<class Real >
Real peclet::voro::SdfSphere< Real >::cy = 0

◆ cz

template<class Real >
Real peclet::voro::SdfSphere< Real >::cz = 0

◆ radius

template<class Real >
Real peclet::voro::SdfSphere< Real >::radius = 1

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