Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
shammath::details::KernelDefTGauss5< Tscal > Class Template Reference

Truncated Gaussian kernel with compact support R=5h. 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 = 5
 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.564189583548624
 1D norm of the kernel
 
static constexpr Tscal norm_2d = 0.318309886188211
 2D norm of the kernel
 
static constexpr Tscal norm_3d = 0.179587122139514
 3D norm of the kernel
 

Detailed Description

template<class Tscal>
class shammath::details::KernelDefTGauss5< Tscal >

Truncated Gaussian kernel with compact support R=5h.

W(q) = exp(-q^2) for q < 5, 0 otherwise

Extended support version of TGauss3. Provides even smoother behavior at the cost of more neighbor interactions.

Definition at line 1544 of file sphkernels.hpp.

Member Function Documentation

◆ ddf()

template<class Tscal >
static Tscal shammath::details::KernelDefTGauss5< Tscal >::ddf ( Tscal  q)
inlinestatic

Definition at line 1572 of file sphkernels.hpp.

◆ df()

template<class Tscal >
static Tscal shammath::details::KernelDefTGauss5< Tscal >::df ( Tscal  q)
inlinestatic

Definition at line 1564 of file sphkernels.hpp.

◆ f()

template<class Tscal >
static Tscal shammath::details::KernelDefTGauss5< Tscal >::f ( Tscal  q)
inlinestatic

Definition at line 1556 of file sphkernels.hpp.

◆ phi_tilde_3d()

template<class Tscal >
static Tscal shammath::details::KernelDefTGauss5< Tscal >::phi_tilde_3d ( Tscal  q)
inlinestatic

Definition at line 1580 of file sphkernels.hpp.

◆ phi_tilde_3d_prime()

template<class Tscal >
static Tscal shammath::details::KernelDefTGauss5< Tscal >::phi_tilde_3d_prime ( Tscal  q)
inlinestatic

Definition at line 1592 of file sphkernels.hpp.

Member Data Documentation

◆ hfactd

template<class Tscal >
constexpr Tscal shammath::details::KernelDefTGauss5< Tscal >::hfactd = 1.5
inlinestaticconstexpr

default hfact to be used for this kernel

Definition at line 1547 of file sphkernels.hpp.

◆ norm_1d

template<class Tscal >
constexpr Tscal shammath::details::KernelDefTGauss5< Tscal >::norm_1d = 0.564189583548624
inlinestaticconstexpr

1D norm of the kernel

Definition at line 1550 of file sphkernels.hpp.

◆ norm_2d

template<class Tscal >
constexpr Tscal shammath::details::KernelDefTGauss5< Tscal >::norm_2d = 0.318309886188211
inlinestaticconstexpr

2D norm of the kernel

Definition at line 1552 of file sphkernels.hpp.

◆ norm_3d

template<class Tscal >
constexpr Tscal shammath::details::KernelDefTGauss5< Tscal >::norm_3d = 0.179587122139514
inlinestaticconstexpr

3D norm of the kernel

Definition at line 1554 of file sphkernels.hpp.

◆ Rkern

template<class Tscal >
constexpr Tscal shammath::details::KernelDefTGauss5< Tscal >::Rkern = 5
inlinestaticconstexpr

Compact support radius of the kernel.

Definition at line 1546 of file sphkernels.hpp.


The documentation for this class was generated from the following file: