Class XSPH

Inheritance Relationships

Base Type

Class Documentation

class XSPH : public SPH::NonPressureForceBase

This class implements the XSPH method descibed by J. J. Monaghan [Mon92].

References:

Public Functions

XSPH(FluidModel *model)
virtual ~XSPH(void)
inline virtual std::string getMethodName()

returns the name of the method

virtual void step()
virtual void reset()

Public Static Attributes

static std::string METHOD_NAME = "XSPH"
static int FLUID_COEFFICIENT = -1
static int BOUNDARY_COEFFICIENT = -1

Protected Functions

virtual void initParameters()

Protected Attributes

Real m_fluidCoefficient
Real m_boundaryCoefficient