mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
WellState::report() to make opm-output Well data
This commit is contained in:
parent
248ea780b3
commit
18fda2d7f0
@ -66,16 +66,16 @@ namespace Opm {
|
||||
\param well_state additional well state object
|
||||
\param outputWriter writer object to write sub steps
|
||||
*/
|
||||
template <class Solver, class State, class WellState>
|
||||
template <class Solver, class State, class WellState, class Output>
|
||||
void step( const SimulatorTimer& timer,
|
||||
Solver& solver, State& state, WellState& well_state,
|
||||
OutputWriter& outputWriter );
|
||||
Output& outputWriter );
|
||||
|
||||
protected:
|
||||
template <class Solver, class State, class WellState>
|
||||
template <class Solver, class State, class WellState, class Output>
|
||||
void stepImpl( const SimulatorTimer& timer,
|
||||
Solver& solver, State& state, WellState& well_state,
|
||||
OutputWriter* outputWriter);
|
||||
Output* outputWriter);
|
||||
|
||||
typedef std::unique_ptr< TimeStepControlInterface > TimeStepControlType;
|
||||
|
||||
|
@ -110,20 +110,20 @@ namespace Opm {
|
||||
stepImpl( simulatorTimer, solver, state, well_state );
|
||||
}
|
||||
|
||||
template <class Solver, class State, class WellState>
|
||||
template <class Solver, class State, class WellState, class Output>
|
||||
void AdaptiveTimeStepping::
|
||||
step( const SimulatorTimer& simulatorTimer, Solver& solver, State& state, WellState& well_state,
|
||||
OutputWriter& outputWriter )
|
||||
Output& outputWriter )
|
||||
{
|
||||
stepImpl( simulatorTimer, solver, state, well_state, &outputWriter );
|
||||
}
|
||||
|
||||
// implementation of the step method
|
||||
template <class Solver, class State, class WState>
|
||||
template <class Solver, class State, class WState, class Output >
|
||||
void AdaptiveTimeStepping::
|
||||
stepImpl( const SimulatorTimer& simulatorTimer,
|
||||
Solver& solver, State& state, WState& well_state,
|
||||
OutputWriter* outputWriter )
|
||||
Output* outputWriter )
|
||||
{
|
||||
const double timestep = simulatorTimer.currentStepLength();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user