iMSTK
Interactive Medical Simulation Toolkit
|
Class contains SPH kernels for time integration, using different kernel for different purposes. More...
#include <imstkSPHKernels.h>
Public Member Functions | |
void | initialize (const double kernelRadius) |
Initialize with kernel radius kernelRadius . | |
double | W0 () const |
Compute weight W(0) using poly6 kernel. | |
double | W (const Vec3d &r) const |
Compute weight W using poly6 kernel. | |
Vec3d | gradW (const Vec3d &r) const |
Compute gradW using spiky kernel. | |
double | laplace (const Vec3d &r) const |
Compute laplacian using viscosity kernel. | |
double | cohesionW (const Vec3d &r) const |
Compute cohesion W using cohesion kernel. | |
Protected Attributes | |
sph::Poly6Kernel< 3 > | m_poly6 |
sph::SpikyKernel< 3 > | m_spiky |
sph::ViscosityKernel< 3 > | m_viscosity |
sph::CohesionKernel< 3 > | m_cohesion |
Class contains SPH kernels for time integration, using different kernel for different purposes.
Definition at line 469 of file imstkSPHKernels.h.