SPH
Public Member Functions | List of all members
CohesionKernel Class Reference

Helper kernel used to simulate Lennard-Jones forces. More...

#include <Fluids.h>

Public Member Functions

INLINE Float valueImpl (const Float qSqr) const
 
INLINE Float gradImpl (const Float UNUSED(qSqr)) const
 
INLINE Float radius () const
 

Detailed Description

Helper kernel used to simulate Lennard-Jones forces.

Most of the stuff here comes from paper 'Versatile Surface Tension and Adhesion for SPH Fluids' by Akinci et al. (2013) [1]

Do not use as SPH kernel, it only uses the kernel interface to utilize LutKernel and avoid code duplication.

Definition at line 22 of file Fluids.h.

Member Function Documentation

◆ gradImpl()

INLINE Float CohesionKernel::gradImpl ( const Float   UNUSEDqSqr) const
inline

Definition at line 42 of file Fluids.h.

◆ radius()

INLINE Float CohesionKernel::radius ( ) const
inline

Definition at line 47 of file Fluids.h.

◆ valueImpl()

INLINE Float CohesionKernel::valueImpl ( const Float  qSqr) const
inline

Definition at line 29 of file Fluids.h.


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