Class SpikyKernel

Class Documentation

class SPH::SpikyKernel

Spiky kernel.

Public Static Functions

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

W(r,h) = 15/(pi*h^6) * (h-r)^3

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

grad(W(r,h)) = -r(45/(pi*h^6) * (h-r)^2)

Real W_zero()

Protected Static Attributes

Real m_radius
Real m_k
Real m_l
Real m_W_zero