kernels.hΒΆ
A header file containing static parameters and function pointers for use in the kernels.cpp file which defines all available SPH smoothing kernels.
Variables
- double(* kernel_eval)(double r, double h)
function pointer to SPH kernel in use
- double(* dw_kernel_eval)(double r, double h)
function pointer to SPH gradient kernel in use
- namespace HOCTvar
Namespace containing static variables relating to the Higher OCT kernel.
Variables
- const double alp
kernel shape coefficient
- const double bet
kernel shape coefficient
- const int nn
kernel shape coefficient
- const double Afac
kernel BC normalisations
- const double Bfac
kernel BC normalisations
- const int Nsamp
number of tabulated kernel samples
- double Pfac
kernel shape coefficient
- double Qfac
kernel shape coefficient
- double kap
kernel shape coefficient
- double normfac
normalisation constant
- DynamicArray< double > W_tab
tabulated kernel weight values
- DynamicArray< double > dW_tab
tabulated kernel weight gradient values
- namespace WCvar
Namespace containing static variables relating to the Wendland kernels.
Variables
- double k_w
kernel normalisation constant
- double k_dw
kernel gradient normalisation constant
- namespace CSvar
Namespace containing static variables relating to the Cubic Spline kernel.
Variables
- double k_w
normalisation constant