Class AdhesionKernel

Class Documentation

class AdhesionKernel

Adhesion kernel used for the surface tension method of Akinci el al. [ATT13].

References:

  • [AAT13] Nadir Akinci, Gizem Akinci, and Matthias Teschner. Versatile surface tension and adhesion for sph fluids. ACM Trans. Graph., 32(6):182:1-182:8, November 2013. URL: http://doi.acm.org/10.1145/2508363.2508395

Public Static Functions

static inline Real getRadius()
static inline void setRadius(Real val)
static inline Real W(const Real r)

W(r,h) = (0.007/h^3.25)(-4r^2/h + 6r -2h)^0.25 if h/2 < r <= h

static inline Real W(const Vector3r &r)
static inline Real W_zero()

Protected Static Attributes

static Real m_radius
static Real m_k
static Real m_W_zero