PCISPHSolver2.hpp
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.hpp:208
unsigned int GetMaxNumberOfIterations() const
Returns max number of iterations.
Front-end to create PCISPHSolver2 objects step by step.
Definition: PCISPHSolver2.hpp:106
std::shared_ptr< PCISPHSolver2 > PCISPHSolver2Ptr
Shared pointer type for the PCISPHSolver2.
Definition: PCISPHSolver2.hpp:101
void AccumulatePressureForce(double timeIntervalInSeconds) override
~PCISPHSolver2() override=default
Default virtual destructor.
Definition: pybind11Utils.hpp:20
Definition: Array-Impl.hpp:19
double GetMaxDensityErrorRatio() const
Returns max allowed density error ratio.
PCISPHSolver2 & operator=(const PCISPHSolver2 &)=delete
Deleted copy assignment operator.
void OnBeginAdvanceTimeStep(double timeStepInSeconds) override
Performs pre-processing step before the simulation.