Class SurfaceTension_ZorillaRitter2020¶
Defined in File SurfaceTension_ZorillaRitter2020.h
Inheritance Relationships¶
Base Type¶
public SPH::SurfaceTensionBase(Class SurfaceTensionBase)
Class Documentation¶
-
class
SPH::SurfaceTension_ZorillaRitter2020: public SPH::SurfaceTensionBase¶ 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)¶
-
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
-