Class SurfaceTension_ZorillaRitter2020
Defined in File SurfaceTension_ZorillaRitter2020.h
Inheritance Relationships
Base Type
public SPH::NonPressureForceBase(Class NonPressureForceBase)
Class Documentation
-
class SurfaceTension_ZorillaRitter2020 : public SPH::NonPressureForceBase
This class implements the surface tension method introduced by Zorilla, Ritter, Sappl, Rauch, Harders: extended version 2020: https://doi.org/10.3390/computers9020023 and original version 2019: https://diglib.eg.org/handle/10.2312/cgvc20191260
Public Functions
-
SurfaceTension_ZorillaRitter2020(FluidModel *model)
-
virtual ~SurfaceTension_ZorillaRitter2020(void)
-
inline virtual std::string getMethodName()
returns the name of the method
-
virtual void performNeighborhoodSearchSort() override
Public Static Functions
-
static inline NonPressureForceBase *creator(FluidModel *model)
-
static bool classifySurfaceParticle(double com, int non, double d_offset = 0.0)
Linear classifier. Divides into surface or non-surface particle. The function is equivalent to the network classifier. Also, inspect lines 344 to 348 in the cpp file for how to compute the required input.
- Parameters
com – normalized center of mass / number of neighbors
non – number of neighbors
d_offset – constant parameter d
- Returns
true if surface, false otherwise
Public Static Attributes
-
static std::string METHOD_NAME = "Zorilla, Ritter, et al. 2020"
-
SurfaceTension_ZorillaRitter2020(FluidModel *model)