mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add initalizer for adaptiveTimeStepper that uses values from TUNING
Some of the tuning values from the TUNING keywords is used to tune the timestepping.
This commit is contained in:
@@ -45,6 +45,17 @@ namespace Opm {
|
||||
AdaptiveTimeStepping( const parameter::ParameterGroup& param,
|
||||
const bool terminal_output = true );
|
||||
|
||||
//! \brief contructor taking parameter object
|
||||
//! \param tuning Pointer to ecl TUNING keyword
|
||||
//! \param time_step current report step
|
||||
//! \param param The parameter object
|
||||
//! \param pinfo The information about the data distribution
|
||||
//! and communication for a parallel run.
|
||||
AdaptiveTimeStepping( const Tuning& tuning,
|
||||
size_t time_step,
|
||||
const parameter::ParameterGroup& param,
|
||||
const bool terminal_output = true );
|
||||
|
||||
/** \brief step method that acts like the solver::step method
|
||||
in a sub cycle of time steps
|
||||
|
||||
@@ -77,6 +88,8 @@ namespace Opm {
|
||||
Solver& solver, State& state, WellState& well_state,
|
||||
Output* outputWriter);
|
||||
|
||||
void init(const parameter::ParameterGroup& param);
|
||||
|
||||
typedef std::unique_ptr< TimeStepControlInterface > TimeStepControlType;
|
||||
|
||||
TimeStepControlType timeStepControl_; //!< time step control object
|
||||
|
||||
Reference in New Issue
Block a user