CubbyFlow::SPHStdKernel3 Struct Reference
Standard 3-D SPH kernel function object. More...
#include <Core/SPH/SPHStdKernel3.h>
Public Member Functions | |
| SPHStdKernel3 () | |
| Constructs a kernel object with zero radius. More... | |
| SPHStdKernel3 (double kernelRadius) | |
| Constructs a kernel object with given radius. More... | |
| SPHStdKernel3 (const SPHStdKernel3 &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... | |
| Vector3D | Gradient (const Vector3D &point) const |
| Returns the gradient at a point. More... | |
| Vector3D | Gradient (double distance, const Vector3D &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 | h5 |
| Fifth-power of the kernel radius. More... | |
Detailed Description
Standard 3-D SPH kernel function object.
- See also
- Müller, Matthias, David Charypar, and Markus Gross. "Particle-based fluid simulation for interactive applications." Proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on Computer animation. Eurographics Association, 2003.
Constructor & Destructor Documentation
◆ SPHStdKernel3() [1/3]
| CubbyFlow::SPHStdKernel3::SPHStdKernel3 | ( | ) |
Constructs a kernel object with zero radius.
◆ SPHStdKernel3() [2/3]
|
explicit |
Constructs a kernel object with given radius.
◆ SPHStdKernel3() [3/3]
| CubbyFlow::SPHStdKernel3::SPHStdKernel3 | ( | const SPHStdKernel3 & | other | ) |
Copy constructor.
Member Function Documentation
◆ FirstDerivative()
| double CubbyFlow::SPHStdKernel3::FirstDerivative | ( | double | distance | ) | const |
Returns the first derivative at given distance.
◆ Gradient() [1/2]
Returns the gradient at a point.
◆ Gradient() [2/2]
Returns the gradient at a point defined by distance and direction.
◆ operator()()
| double CubbyFlow::SPHStdKernel3::operator() | ( | double | distance | ) | const |
Returns kernel function value at given distance.
◆ SecondDerivative()
| double CubbyFlow::SPHStdKernel3::SecondDerivative | ( | double | distance | ) | const |
Returns the second derivative at given distance.
Member Data Documentation
◆ h
| double CubbyFlow::SPHStdKernel3::h |
Kernel radius.
◆ h2
| double CubbyFlow::SPHStdKernel3::h2 |
Square of the kernel radius.
◆ h3
| double CubbyFlow::SPHStdKernel3::h3 |
Cubic of the kernel radius.
◆ h5
| double CubbyFlow::SPHStdKernel3::h5 |
Fifth-power of the kernel radius.
The documentation for this struct was generated from the following file:
- Core/SPH/SPHStdKernel3.h
1.8.14