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

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)
 

Detailed Description

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

Adhesion kernel.

Definition at line 340 of file imstkSPHKernels.h.


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