Class CohesionKernel

Class Documentation

class SPH::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

Real getRadius()
void setRadius(Real val)
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

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

Protected Static Attributes

Real m_radius
Real m_k
Real m_c
Real m_W_zero