WellState::report() to make opm-output Well data

This commit is contained in:
Jørgen Kvalsvik 2016-05-20 16:21:14 +02:00
parent 248ea780b3
commit 18fda2d7f0
2 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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();