|
iMSTK
Interactive Medical Simulation Toolkit
|
Adhesion 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) = (0.007/h^3.25)(-4r^2/h + 6r -2h)^0.25 if h/2 < r <= h. | |
| double | W (const VecXd &r) const |
| Compute weight value W(r,h) = (0.007/h^3.25)(-4r^2/h + 6r -2h)^0.25 if h/2 < r <= h. | |
| 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_W0 |
| Precomputed W(0) | |
Adhesion kernel.
Definition at line 340 of file imstkSPHKernels.h.
1.8.13