Peano
Loading...
Searching...
No Matches
sph_kernels.py File Reference

Go to the source code of this file.

Data Structures

class  exaparty.api.sphtools.sph_kernels._forbidInvalidKernelsDict
 Modify the default dict to raise an error if a user tries to access kernels which aren't defined. More...
 

Namespaces

namespace  exaparty
 This file is part of the ExaParty project.
 
namespace  exaparty.api
 This file is part of the ExaParty project.
 
namespace  exaparty.api.sphtools
 This file is part of the ExaParty project.
 
namespace  exaparty.api.sphtools.sph_kernels
 SPH Kernel related constants, coefficients, and functions.
 

Functions

 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_cubic_spline (float q)
 Evaluates the cubic spline kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_quartic_spline (float q)
 Evaluates the quartic spline kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_quartic_spline_vectorized (np.ndarray q)
 Evaluates the quartic spline kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_quintic_spline (float q)
 Evaluates the quintic spline kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_quintic_spline_vectorized (np.ndarray q)
 Evaluates the quintic spline kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_wendland_C2 (float q)
 Evaluates the Wendland C2 kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_wendland_C4 (float q)
 Evaluates the Wendland C4 kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_eval_wendland_C6 (float q)
 Evaluates the Wendland C6 kernel.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_cubic_spline (float q)
 Evaluates the cubic spline kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_quartic_spline (float q)
 Evaluates the quartic spline kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_quartic_spline_vectorized (np.ndarray q)
 Evaluates the quartic spline kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_quintic_spline (float q)
 Evaluates the quintic spline kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_wendland_C2 (float q)
 Evaluates the Wendland C2 kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_wendland_C4 (float q)
 Evaluates the Wendland C4 kernel derivative.
 
 exaparty.api.sphtools.sph_kernels._sph_kernel_deval_wendland_C6 (float q)
 Evaluates the Wendland C6 kernel derivative.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_W (Union[float, np.ndarray] r, Union[float, np.ndarray] h, str kernel, int ndim)
 Evaluates various kernels.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_dWdr (Union[float, np.ndarray] r, Union[float, np.ndarray] h, str kernel, int ndim)
 Evaluates kernel derivatives for various kernels: returns dW/dr = dW/dq dq/dr = 1/H * dW/dq.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_get_interaction_radius (Union[float, np.ndarray] h, str kernel, int ndim)
 Computes the interaction radius (compact support radius) for a given smoothing length h, SPH kernel kernel, and kernel dimension ndim.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_get_H (Union[float, np.ndarray] h, str kernel, int ndim)
 Compute the compact support radius of a given kernel and given smoothing length.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_get_smoothing_length_from_interaction_radius (Union[float, np.ndarray] H, str kernel, int ndim)
 Compute the smoothing length given the compact support length of a given kernel.
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_root (str kernel, int ndim)
 Evaluate kernel root, i.e.
 

Variables

list exaparty.api.sphtools.sph_kernels.sph_kernel_list
 
list exaparty.api.sphtools.sph_kernels.sph_vectorized_kernel_list
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_macro_name = _forbidInvalidKernelsDict()
 
list exaparty.api.sphtools.sph_kernels.sph_kernel_H_over_h
 
list exaparty.api.sphtools.sph_kernels.sph_kernel_normalization
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_eval_function = _forbidInvalidKernelsDict()
 
 exaparty.api.sphtools.sph_kernels.sph_kernel_deval_function = _forbidInvalidKernelsDict()