iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::sph::ViscosityKernel< N > Class Template Reference

Viscosity kernel. More...

#include <imstkSPHKernels.h>

Public Member Functions

void setRadius (const double radius)
 Set the kernel radius.
 
double laplace (const VecXd &r) const
 Compute laplacian Laplace(r) = (45/PI/h^6) * (h - |r|)
 

Protected Attributes

double m_radius
 Kernel radius.
 
double m_radiusSquared
 Kernel radius squared.
 
double m_k
 Kernel coefficient for laplacian()
 

Detailed Description

template<int N>
class imstk::sph::ViscosityKernel< N >

Viscosity kernel.

Definition at line 420 of file imstkSPHKernels.h.


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