PCISPHSolver2.h
Go to the documentation of this file.
void SetMaxDensityErrorRatio(double ratio)
Sets max allowed density error ratio.
void SetMaxNumberOfIterations(unsigned int n)
Sets max number of PCISPH iterations.
Base class for SPH-based fluid solver builder.
Definition: SPHSolver2.h:192
unsigned int GetMaxNumberOfIterations() const
Returns max number of iterations.
Front-end to create PCISPHSolver2 objects step by step.
Definition: PCISPHSolver2.h:88
PCISPHSolver2Ptr MakeShared() const
Builds shared pointer of PCISPHSolver2 instance.
std::shared_ptr< PCISPHSolver2 > PCISPHSolver2Ptr
Shared pointer type for the PCISPHSolver2.
Definition: PCISPHSolver2.h:83
void AccumulatePressureForce(double timeIntervalInSeconds) override
Accumulates the pressure force to the forces array in the particle system.
Definition: pybind11Utils.h:24
double GetMaxDensityErrorRatio() const
Returns max allowed density error ratio.
virtual ~PCISPHSolver2()
void OnBeginAdvanceTimeStep(double timeStepInSeconds) override
Performs pre-processing step before the simulation.