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