SPH
|
SPH kernels. More...
Go to the source code of this file.
Classes | |
class | Kernel< TDerived, D > |
Base class for all SPH kernels. More... | |
class | LutKernel< D > |
A look-up table approximation of the kernel. More... | |
class | CubicSpline< D > |
Cubic spline (M4) kernel. More... | |
class | FourthOrderSpline< D > |
Fourth-order spline (M5) kernel. More... | |
class | CoreTriangle |
Kernel proposed by Read et al. (2010) with improved stability. More... | |
class | ThomasCouchmanKernel< D > |
Kernel introduced by Thomas & Couchman (1992). More... | |
class | WendlandC2 |
class | WendlandC4 |
class | WendlandC6 |
class | Gaussian< D > |
Gaussian kernel. More... | |
class | TriangleKernel< D > |
Triangular (piecewise linear) kernel. More... | |
class | ScalingKernel< D, TKernel > |
Helper kernel wrapper that modifies the support of another kernel. More... | |
class | SymmetrizeValues< TKernel > |
class | SymmetrizeSmoothingLengths< TKernel > |
struct | IsKernel< T, typename > |
struct | IsKernel< T, VoidType< decltype(std::declval< T >().radius())> > |
Functions | |
template<typename T > | |
INLINE T | laplacian (const T &value, const Vector &grad, const Vector &dr) |
SPH approximation of laplacian, computed from a kernel gradient. More... | |
INLINE Vector | gradientOfDivergence (const Vector &value, const Vector &grad, const Vector &dr) |
Second derivative of vector quantity, applying gradient on a divergence. More... | |
INLINE T laplacian | ( | const T & | value, |
const Vector & | grad, | ||
const Vector & | dr | ||
) |
SPH approximation of laplacian, computed from a kernel gradient.
Is more stable than directly applying second derivatives to kernel and has the same error O(h^2). Can be used to compute laplacian of both scalar and vector quantities.
value | Scalar or vector value from which we compute the laplacian |
grad | Kernel gradient corresponding to vector dr |