PID controller based adaptive time step control as above that also takes an target iteration into account.
More...
|
| PIDAndIterationCountTimeStepControl (const int target_iterations=20, const double decayDampingFactor=1.0, const double growthDampingFactor=1.0/1.2, const double tol=1e-3, const double minTimeStepBasedOnIterations=0., const bool verbose=false) |
| constructor
|
|
double | computeTimeStepSize (const double dt, const int iterations, const RelativeChangeInterface &relativeChange, const AdaptiveSimulatorTimer &) const override |
| compute new time step size suggestions based on the PID controller
|
|
template<class Serializer > |
void | serializeOp (Serializer &serializer) |
|
bool | operator== (const PIDAndIterationCountTimeStepControl &) const |
|
| PIDTimeStepControl (const double tol=1e-3, const bool verbose=false) |
| constructor
|
|
double | computeTimeStepSize (const double dt, const int, const RelativeChangeInterface &relativeChange, const AdaptiveSimulatorTimer &) const override |
| compute new time step size suggestions based on the PID controller
|
|
template<class Serializer > |
void | serializeOp (Serializer &serializer) |
|
bool | operator== (const PIDTimeStepControl &) const |
|
virtual | ~TimeStepControlInterface () |
| virtual destructor (empty)
|
|
PID controller based adaptive time step control as above that also takes an target iteration into account.