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::SdfBox< Real > Struct Template Reference

Axis-aligned solid box of half-extents (hx,hy,hz). eval ported from peclet::core::geom::Box. 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 hx = Real(0.5)
 
Real hy = Real(0.5)
 
Real hz = Real(0.5)
 

Detailed Description

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

Axis-aligned solid box of half-extents (hx,hy,hz). eval ported from peclet::core::geom::Box.

Member Function Documentation

◆ eval()

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

◆ gradH()

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

Member Data Documentation

◆ cx

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

◆ cy

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

◆ cz

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

◆ hx

template<class Real >
Real peclet::voro::SdfBox< Real >::hx = Real(0.5)

◆ hy

template<class Real >
Real peclet::voro::SdfBox< Real >::hy = Real(0.5)

◆ hz

template<class Real >
Real peclet::voro::SdfBox< Real >::hz = Real(0.5)

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