Class SurfaceTension_ZorillaRitter2020

Inheritance Relationships

Base Type

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)
~SurfaceTension_ZorillaRitter2020(void)
void performNeighborhoodSearchSort() override

Public Static Functions

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.

Return

true if surface, false otherwise

Parameters
  • com: normalized center of mass / number of neighbors

  • non: number of neighbors

  • d_offset: constant parameter d