Go to the documentation of this file.
12 #ifndef INCLUDE_JET_SPH_KERNELS2_H_
13 #define INCLUDE_JET_SPH_KERNELS2_H_
117 #include "detail/sph_kernels2-inl.h"
119 #endif // INCLUDE_JET_SPH_KERNELS2_H_
double h
Kernel radius.
Definition: sph_kernels2.h:30
Standard 2-D SPH kernel function object.
Definition: sph_kernels2.h:28
double h4
Fourth-power of the kernel radius.
Definition: sph_kernels2.h:39
double operator()(double distance) const
Returns kernel function value at given distance.
SphStdKernel2()
Constructs a kernel object with zero radius.
double h3
Cubic of the kernel radius.
Definition: sph_kernels2.h:82
double h2
Square of the kernel radius.
Definition: sph_kernels2.h:33
double h4
Fourth-power of the kernel radius.
Definition: sph_kernels2.h:85
Spiky 2-D SPH kernel function object.
Definition: sph_kernels2.h:74
double firstDerivative(double distance) const
Returns the first derivative at given distance.
double firstDerivative(double distance) const
Returns the first derivative at given distance.
Definition: advection_solver2.h:18
SphStdKernel2(double kernelRadius)
Constructs a kernel object with given radius.
2-D vector class.
Definition: vector2.h:24
double secondDerivative(double distance) const
Returns the second derivative at given distance.
double operator()(double distance) const
Returns kernel function value at given distance.
Vector2D gradient(double distance, const Vector2D &direction) const
Returns the gradient at a point defined by distance and direction.
double h3
Cubic of the kernel radius.
Definition: sph_kernels2.h:36
SphStdKernel2(const SphStdKernel2 &other)
Copy constructor.
SphSpikyKernel2(const SphSpikyKernel2 &other)
Copy constructor.
double h5
Fifth-power of the kernel radius.
Definition: sph_kernels2.h:88
double secondDerivative(double distance) const
Returns the second derivative at given distance.
SphSpikyKernel2()
Constructs a kernel object with zero radius.
double h2
Square of the kernel radius.
Definition: sph_kernels2.h:79
Vector2D gradient(const Vector2D &point) const
Returns the gradient at a point.
Vector2D gradient(double distance, const Vector2D &direction) const
Returns the gradient at a point defined by distance and direction.
SphSpikyKernel2(double kernelRadius)
Constructs a kernel object with given radius.
Vector2D gradient(const Vector2D &point) const
Returns the gradient at a point.
double h
Kernel radius.
Definition: sph_kernels2.h:76