![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Truncated Gaussian kernel with compact support R=3h. More...
#include <shammath/include/shammath/sphkernels.hpp>
Static Public Member Functions | |
| static Tscal | f (Tscal q) |
| static Tscal | df (Tscal q) |
| static Tscal | ddf (Tscal q) |
| static Tscal | phi_tilde_3d (Tscal q) |
| static Tscal | phi_tilde_3d_prime (Tscal q) |
Static Public Attributes | |
| static constexpr Tscal | Rkern = 3 |
| Compact support radius of the kernel. | |
| static constexpr Tscal | hfactd = 1.5 |
| default hfact to be used for this kernel | |
| static constexpr Tscal | norm_1d = 0.564202047051383 |
| 1D norm of the kernel | |
| static constexpr Tscal | norm_2d = 0.318349173592935 |
| 2D norm of the kernel (accounts for truncation at q=3) | |
| static constexpr Tscal | norm_3d = 0.179666148218087 |
| 3D norm of the kernel | |
Truncated Gaussian kernel with compact support R=3h.
W(q) = exp(-q^2) for q < 3, 0 otherwise
This kernel provides smooth derivatives and is well-suited for relativistic SPH simulations where gradient accuracy is important.
Definition at line 1473 of file sphkernels.hpp.
|
inlinestatic |
Definition at line 1501 of file sphkernels.hpp.
|
inlinestatic |
Definition at line 1493 of file sphkernels.hpp.
|
inlinestatic |
Definition at line 1485 of file sphkernels.hpp.
|
inlinestatic |
Definition at line 1509 of file sphkernels.hpp.
|
inlinestatic |
Definition at line 1521 of file sphkernels.hpp.
|
inlinestaticconstexpr |
default hfact to be used for this kernel
Definition at line 1476 of file sphkernels.hpp.
|
inlinestaticconstexpr |
1D norm of the kernel
Definition at line 1479 of file sphkernels.hpp.
|
inlinestaticconstexpr |
2D norm of the kernel (accounts for truncation at q=3)
Definition at line 1481 of file sphkernels.hpp.
|
inlinestaticconstexpr |
3D norm of the kernel
Definition at line 1483 of file sphkernels.hpp.
|
inlinestaticconstexpr |
Compact support radius of the kernel.
Definition at line 1475 of file sphkernels.hpp.