|
Jet
v1.3.3
|
Spiky 2-D SPH kernel function object. More...
#include <jet/sph_kernels2.h>
Public Member Functions | |
| SphSpikyKernel2 () | |
| Constructs a kernel object with zero radius. More... | |
| SphSpikyKernel2 (double kernelRadius) | |
| Constructs a kernel object with given radius. More... | |
| SphSpikyKernel2 (const SphSpikyKernel2 &other) | |
| Copy constructor. More... | |
| double | operator() (double distance) const |
| Returns kernel function value at given distance. More... | |
| double | firstDerivative (double distance) const |
| Returns the first derivative at given distance. More... | |
| Vector2D | gradient (const Vector2D &point) const |
| Returns the gradient at a point. More... | |
| Vector2D | gradient (double distance, const Vector2D &direction) const |
| Returns the gradient at a point defined by distance and direction. More... | |
| double | secondDerivative (double distance) const |
| Returns the second derivative at given distance. More... | |
Public Attributes | |
| double | h |
| Kernel radius. More... | |
| double | h2 |
| Square of the kernel radius. More... | |
| double | h3 |
| Cubic of the kernel radius. More... | |
| double | h4 |
| Fourth-power of the kernel radius. More... | |
| double | h5 |
| Fifth-power of the kernel radius. More... | |
Spiky 2-D SPH kernel function object.
| jet::SphSpikyKernel2::SphSpikyKernel2 | ( | ) |
Constructs a kernel object with zero radius.
|
explicit |
Constructs a kernel object with given radius.
| jet::SphSpikyKernel2::SphSpikyKernel2 | ( | const SphSpikyKernel2 & | other | ) |
Copy constructor.
| double jet::SphSpikyKernel2::firstDerivative | ( | double | distance | ) | const |
Returns the first derivative at given distance.
Returns the gradient at a point.
Returns the gradient at a point defined by distance and direction.
| double jet::SphSpikyKernel2::operator() | ( | double | distance | ) | const |
Returns kernel function value at given distance.
| double jet::SphSpikyKernel2::secondDerivative | ( | double | distance | ) | const |
Returns the second derivative at given distance.
| double jet::SphSpikyKernel2::h |
Kernel radius.
| double jet::SphSpikyKernel2::h2 |
Square of the kernel radius.
| double jet::SphSpikyKernel2::h3 |
Cubic of the kernel radius.
| double jet::SphSpikyKernel2::h4 |
Fourth-power of the kernel radius.
| double jet::SphSpikyKernel2::h5 |
Fifth-power of the kernel radius.
1.8.18