|
iMSTK
Interactive Medical Simulation Toolkit
|
Cohesion Kernel. More...
#include <imstkSPHKernels.h>
Public Member Functions | |
| void | setRadius (const double radius) |
| Set the kernel radius. | |
| double | W (const double r) const |
| Compute weight value W(r,h) = (32/(PI h^9))(h-r)^3*r^3 if h/2 < r <= h, (32/(PI h^9))(2*(h-r)^3*r^3 - h^6/64 if 0 < r <= h/2. | |
| double | W (const VecXd &r) const |
| Compute weight value W(r,h) = (32/(PI h^9))(h-r)^3*r^3 if h/2 < r <= h, (32/(PI h^9))(2*(h-r)^3*r^3 - h^6/64 if 0 < r <= h/2. | |
| double | W0 () const |
| Get W(0) | |
Protected Attributes | |
| double | m_radius |
| Kernel radius. | |
| double | m_radiusSquared |
| Kernel radius squared. | |
| double | m_k |
| Kernel coefficient for W() | |
| double | m_c |
| Kernel coefficient for W() | |
| double | m_W0 |
| Precomputed W(0) | |
Cohesion Kernel.
Definition at line 237 of file imstkSPHKernels.h.
1.8.13