21 #ifndef OPM_TIMESTEPCONTROL_HEADER_INCLUDED 22 #define OPM_TIMESTEPCONTROL_HEADER_INCLUDED 26 #include <boost/any.hpp> 27 #include <boost/range/iterator_range.hpp> 28 #include <opm/simulators/timestepping/TimeStepControlInterface.hpp> 46 const double decayrate,
47 const double growthrate,
48 const bool verbose =
false);
54 const int target_iterations_;
55 const double decayrate_;
56 const double growthrate_;
82 const bool verbose =
false );
89 mutable std::vector< double > errors_;
110 const double tol = 1e-3,
111 const bool verbose =
false);
117 const int target_iterations_;
141 std::vector<double> subStepTime_;
PIDAndIterationCountTimeStepControl(const int target_iterations=20, const double tol=1e-3, const bool verbose=false)
constructor
Definition: TimeStepControl.cpp:170
HardcodedTimeStepControl Input generated from summary file using the ert application: ...
Definition: TimeStepControl.hpp:129
HardcodedTimeStepControl(const std::string &filename)
constructor
Definition: TimeStepControl.cpp:87
SimpleIterationCountTimeStepControl(const int target_iterations, const double decayrate, const double growthrate, const bool verbose=false)
constructor
Definition: TimeStepControl.cpp:43
double computeTimeStepSize(const double dt, const int iterations, const RelativeChangeInterface &, const double) const
compute new time step size suggestions based on the PID controller
Definition: TimeStepControl.cpp:61
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: AdditionalObjectDeleter.hpp:22
double computeTimeStepSize(const double dt, const int iterations, const RelativeChangeInterface &relativeChange, const double) const
compute new time step size suggestions based on the PID controller
Definition: TimeStepControl.cpp:178
PID controller based adaptive time step control as above that also takes an target iteration into acc...
Definition: TimeStepControl.hpp:100
double computeTimeStepSize(const double dt, const int, const RelativeChangeInterface &, const double simulationTimeElapsed) const
compute new time step size suggestions based on the PID controller
Definition: TimeStepControl.cpp:105
A simple iteration count based adaptive time step control.
Definition: TimeStepControl.hpp:37
double computeTimeStepSize(const double dt, const int, const RelativeChangeInterface &relativeChange, const double) const
compute new time step size suggestions based on the PID controller
Definition: TimeStepControl.cpp:127
PIDTimeStepControl(const double tol=1e-3, const bool verbose=false)
constructor
Definition: TimeStepControl.cpp:119
RelativeChangeInterface.
Definition: TimeStepControlInterface.hpp:31
PID controller based adaptive time step control as suggested in: Turek and Kuzmin.
Definition: TimeStepControl.hpp:74
TimeStepControlInterface.
Definition: TimeStepControlInterface.hpp:48