SPHKernels.jl
This package supplies a number of kernels frequently used in Smoothed-Particle Hydrodynamics (SPH), as well as functions to evaluate their values and derivatives in 2D and 3D.
The implementation closely follows the one in Gadget2, see Springel (2005) for details.
These kernels include the B-splines (Cubic
and Quintic
) suggested in Monaghan & Lattanzio (1985), the Wendland functions (WendlandC2
, WendlandC4
and WendlandC6
from Wendland (2009)) as suggested in Dehnen & Aly (2012) and WendlandC8
as suggested by Kummer et. al. (2019).
:warning: The version numbering of this package is unfortunately not really reflective of the state. I made an error on the original setup of the repository, so I had to start out with version 1.0. View this more as v0.2, instead of v2.0!: Please sanity-check everything before you use it in production!