My Project
|
TimeStepControlInterface. More...
#include <TimeStepControlInterface.hpp>
Public Member Functions | |
virtual double | computeTimeStepSize (const double dt, const int iterations, const RelativeChangeInterface &relativeChange, const double simulationTimeElapsed) const =0 |
compute new time step size suggestions based on the PID controller More... | |
virtual | ~TimeStepControlInterface () |
virtual destructor (empty) | |
|
pure virtual |
compute new time step size suggestions based on the PID controller
dt | time step size used in the current step |
iterations | number of iterations used (linear/nonlinear) |
timeError | object to compute || u^n+1 - u^n || / || u^n+1 || |
Implemented in Opm::PIDTimeStepControl, Opm::HardcodedTimeStepControl, Opm::PIDAndIterationCountTimeStepControl, and Opm::SimpleIterationCountTimeStepControl.