iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::SphSimulationKernels Class Reference

Class contains SPH kernels for time integration, using different kernel for different purposes. More...

#include <imstkSPHKernels.h>

Collaboration diagram for imstk::SphSimulationKernels:
Collaboration graph
[legend]

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
 

Detailed Description

Class contains SPH kernels for time integration, using different kernel for different purposes.

Definition at line 469 of file imstkSPHKernels.h.


The documentation for this class was generated from the following file: