pynbody.sph.kernels.WendlandC2Kernel#
- class pynbody.sph.kernels.WendlandC2Kernel[source]#
Bases:
KernelBaseA Wendland C2 (quintic) kernel. This is the default kernel used by EAGLE.
Methods
Return the C kernel id for this kernel
get_value(d[, h])Get the value of the kernel for a given smoothing length.
Return a 2D projection of this kernel
get_samples
- __init__()#
- classmethod get_c_kernel_id()[source]#
Return the C kernel id for this kernel
This is used to select the appropriate C code for the kernel, and must match the kernel id defined in the Kernel::create function in kernels.hpp
- projection() KernelBase#
Return a 2D projection of this kernel