Public Member Functions | |
AdaptiveTimeStepping (const ParameterGroup ¶m, const bool terminal_output=true) | |
contructor taking parameter object More... | |
AdaptiveTimeStepping (const Tuning &tuning, size_t time_step, const ParameterGroup ¶m, const bool terminal_output=true) | |
contructor taking parameter object More... | |
template<class Solver , class State , class WellState > | |
SimulatorReport | step (const SimulatorTimer &timer, Solver &solver, State &state, WellState &well_state, const bool event) |
step method that acts like the solver::step method in a sub cycle of time steps More... | |
template<class Solver , class State , class WellState , class Output > | |
SimulatorReport | step (const SimulatorTimer &timer, Solver &solver, State &state, WellState &well_state, const bool event, Output &outputWriter, const std::vector< int > *fipnum=nullptr) |
step method that acts like the solver::step method in a sub cycle of time steps More... | |
const SimulatorReport & | failureReport () const |
Returns the simulator report for the failed substeps of the last report step. | |
double | suggestedNextStep () const |
void | setSuggestedNextStep (const double x) |
template<class Solver , class State , class WState , class Output > | |
SimulatorReport | stepImpl (const SimulatorTimer &simulatorTimer, Solver &solver, State &state, WState &well_state, const bool event, Output *outputWriter, const std::vector< int > *fipnum) |
Protected Types | |
typedef std::unique_ptr< TimeStepControlInterface > | TimeStepControlType |
Protected Member Functions | |
template<class Solver , class State , class WellState , class Output > | |
SimulatorReport | stepImpl (const SimulatorTimer &timer, Solver &solver, State &state, WellState &well_state, const bool event, Output *outputWriter, const std::vector< int > *fipnum) |
void | init (const ParameterGroup ¶m) |
Protected Attributes | |
SimulatorReport | failureReport_ |
statistics for the failed substeps of the last timestep | |
TimeStepControlType | timeStepControl_ |
time step control object | |
const double | restart_factor_ |
factor to multiply time step with when solver fails to converge | |
const double | growth_factor_ |
factor to multiply time step when solver recovered from failed convergence | |
const double | max_growth_ |
factor that limits the maximum growth of a time step | |
const double | max_time_step_ |
maximal allowed time step size | |
const int | solver_restart_max_ |
how many restart of solver are allowed | |
const bool | solver_verbose_ |
solver verbosity | |
const bool | timestep_verbose_ |
timestep verbosity | |
double | suggested_next_timestep_ |
suggested size of next timestep | |
bool | full_timestep_initially_ |
beginning with the size of the time step from data file | |
const double | timestep_after_event_ |
suggested size of timestep after an event | |
bool | use_newton_iteration_ |
use newton iteration count for adaptive time step control | |
|
inline |
contructor taking parameter object
param | The parameter object |
pinfo | The information about the data distribution and communication for a parallel run. |
|
inline |
contructor taking parameter object
tuning | Pointer to ecl TUNING keyword |
time_step | current report step |
param | The parameter object |
pinfo | The information about the data distribution and communication for a parallel run. |
SimulatorReport Opm::AdaptiveTimeStepping::step | ( | const SimulatorTimer & | timer, |
Solver & | solver, | ||
State & | state, | ||
WellState & | well_state, | ||
const bool | event | ||
) |
step method that acts like the solver::step method in a sub cycle of time steps
timer | simulator timer providing time and timestep |
solver | solver object that must implement a method step( dt, state, well_state ) |
state | current state of the solution variables |
well_state | additional well state object |
event | event status for possible tuning |
SimulatorReport Opm::AdaptiveTimeStepping::step | ( | const SimulatorTimer & | timer, |
Solver & | solver, | ||
State & | state, | ||
WellState & | well_state, | ||
const bool | event, | ||
Output & | outputWriter, | ||
const std::vector< int > * | fipnum = nullptr |
||
) |
step method that acts like the solver::step method in a sub cycle of time steps
timer | simulator timer providing time and timestep |
fipnum | Fluid-in-place numbering array |
solver | solver object that must implement a method step( dt, state, well_state ) |
state | current state of the solution variables |
well_state | additional well state object |
event | event status for possible tuning |
outputWriter | writer object to write sub steps |