SPH
|
Kernel introduced by Thomas & Couchman (1992). More...
#include <Kernel.h>
Public Member Functions | |
INLINE Float | radius () const |
INLINE Float | valueImpl (const Float qSqr) const |
INLINE Float | gradImpl (const Float qSqr) const |
![]() | |
Kernel ()=default | |
INLINE Float | value (const Vector &r, const Float h) const noexcept |
INLINE Vector | grad (const Vector &r, const Float h) const noexcept |
![]() | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Kernel introduced by Thomas & Couchman (1992).
The kernel values are the same as for cubic spline, but the gradient is modified, adding a small repulsive force. This attempts to prevent particle clustering.
|
inline |
|
inline |
|
inline |