Class CohesionKernel

Class Documentation

class CohesionKernel

Cohesion 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) = (32/(pi h^9))(h-r)^3*r^3 if h/2 < r <= h (32/(pi h^9))(2*(h-r)^3*r^3 - h^6/64 if 0 < r <= h/2

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_c
static Real m_W_zero