Class XSPH
Defined in File XSPH.h
Inheritance Relationships
Base Type
public SPH::NonPressureForceBase(Class NonPressureForceBase)
Class Documentation
-
class XSPH : public SPH::NonPressureForceBase
This class implements the XSPH method descibed by J. J. Monaghan [Mon92].
References:
[Mon92] J. J. Monaghan. Smoothed Particle Hydrodynamics. Annual Review of Astronomy and Astrophysics, 1992, 30, 543-574. URL: https://www.annualreviews.org/doi/10.1146/annurev.aa.30.090192.002551
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()