Kernels
Smoothing kernels are the guts of SPH. They measure the strength of interaction between neighbouring particles based on their distance. They are also used to interpolate particle variables into continuous Eulerian fields.
SmoothedParticles.Dspline23
— MethodDspline23(h::Float64, r::Float64)::Float64
Returns $\frac{\text{d}w}{\text{d}r}(r)$, the first derivative of a 2d cubic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.Dspline24
— MethodDspline24(h::Float64, r::Float64)::Float64
Returns $\frac{\text{d}w}{\text{d}r}(r)$, the first derivative of a 2d quartic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.Dwendland2
— MethodDwendland2(h::Float64, r::Float64)::Float64
Returns $\frac{\text{d}w}{\text{d}r}(r)$, the first derivative of a 2d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.
SmoothedParticles.Dwendland3
— MethodDwendland3(h::Float64, r::Float64)::Float64
Returns $\frac{\text{d}w}{\text{d}r}(r)$, the first derivative of a 3d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.
SmoothedParticles.rDspline23
— MethodrDspline23(h::Float64, r::Float64)::Float64
Returns $\frac{1}{r}\,\frac{\text{d}w}{\text{d}r}(r)$, the reduced first derivative of a 2d cubic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.rDspline24
— MethodrDspline24(h::Float64, r::Float64)::Float64
Returns $\frac{1}{r}\,\frac{\text{d}w}{\text{d}r}(r)$, the reduced first derivative of a 2d quartic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.rDwendland2
— MethodrDwendland2(h::Float64, r::Float64)::Float64
Returns $\frac{1}{r}\,\frac{\text{d}w}{\text{d}r}(r)$, the reduced first derivative of a 2d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.
SmoothedParticles.rDwendland3
— MethodrDwendland3(h::Float64, r::Float64)::Float64
Returns $\frac{1}{r}\,\frac{\text{d}w}{\text{d}r}(r)$, the reduced first derivative of a 3d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.
SmoothedParticles.spline23
— Methodspline23(h::Float64, r::Float64)::Float64
Returns $w(r)$, the value of a 2d cubic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.spline24
— Methodspline24(h::Float64, r::Float64)::Float64
Returns $w(r)$, the value of a 2d quartic spline $w$ with support radius h
. Integrates to unity.
SmoothedParticles.wendland2
— Methodwendland2(h::Float64, r::Float64)::Float64
Returns $w(r)$, the value of a 2d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.
SmoothedParticles.wendland3
— Methodwendland3(h::Float64, r::Float64)::Float64
Returns $w(r)$, the value of a 3d quintic Wendland kernel $w$ with support radius h
. Integrates to unity.