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.Dspline23Method
Dspline23(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.

source
SmoothedParticles.Dspline24Method
Dspline24(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.

source
SmoothedParticles.Dwendland2Method
Dwendland2(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.

source
SmoothedParticles.Dwendland3Method
Dwendland3(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.

source
SmoothedParticles.rDspline23Method
rDspline23(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.

source
SmoothedParticles.rDspline24Method
rDspline24(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.

source
SmoothedParticles.rDwendland2Method
rDwendland2(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.

source
SmoothedParticles.rDwendland3Method
rDwendland3(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.

source
SmoothedParticles.spline23Method
spline23(h::Float64, r::Float64)::Float64

Returns $w(r)$, the value of a 2d cubic spline $w$ with support radius h. Integrates to unity.

source
SmoothedParticles.spline24Method
spline24(h::Float64, r::Float64)::Float64

Returns $w(r)$, the value of a 2d quartic spline $w$ with support radius h. Integrates to unity.

source
SmoothedParticles.wendland2Method
wendland2(h::Float64, r::Float64)::Float64

Returns $w(r)$, the value of a 2d quintic Wendland kernel $w$ with support radius h. Integrates to unity.

source
SmoothedParticles.wendland3Method
wendland3(h::Float64, r::Float64)::Float64

Returns $w(r)$, the value of a 3d quintic Wendland kernel $w$ with support radius h. Integrates to unity.

source