19 #ifndef OPM_TIMESTEPCONTROLINTERFACE_HEADER_INCLUDED 20 #define OPM_TIMESTEPCONTROLINTERFACE_HEADER_INCLUDED 22 #include <opm/simulators/timestepping/AdaptiveSimulatorTimer.hpp> 69 virtual bool timeStepAccepted(
const double error,
const double timeStepJustCompleted)
const = 0;
virtual ~RelativeChangeInterface()
virtual destructor (empty)
Definition: TimeStepControlInterface.hpp:42
virtual double relativeChange() const =0
Simulation timer for adaptive time stepping.
Definition: AdaptiveSimulatorTimer.hpp:41
virtual ~TimeStepControlInterface()
virtual destructor (empty)
Definition: TimeStepControlInterface.hpp:72
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
virtual double computeTimeStepSize(const double dt, const int iterations, const RelativeChangeInterface &relativeChange, const AdaptiveSimulatorTimer &substepTimer) const =0
compute new time step size suggestions based on the PID controller
virtual bool timeStepAccepted(const double error, const double timeStepJustCompleted) const =0
For the general 3rd order controller, the internal shifting of errors and time steps happens here...
RelativeChangeInterface.
Definition: TimeStepControlInterface.hpp:33
TimeStepControlInterface.
Definition: TimeStepControlInterface.hpp:50