mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
commit
5ed11e4af9
@ -236,19 +236,20 @@ namespace Opm
|
||||
BlackoilOutputWriter::
|
||||
writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
const SimulatorState& state,
|
||||
const WellState& wellState)
|
||||
const WellState& wellState,
|
||||
bool substep)
|
||||
{
|
||||
// VTK output
|
||||
if( vtkWriter_ ) {
|
||||
vtkWriter_->writeTimeStep( timer, state, wellState );
|
||||
vtkWriter_->writeTimeStep( timer, state, wellState , false );
|
||||
}
|
||||
// Matlab output
|
||||
if( matlabWriter_ ) {
|
||||
matlabWriter_->writeTimeStep( timer, state, wellState );
|
||||
matlabWriter_->writeTimeStep( timer, state, wellState , false );
|
||||
}
|
||||
// ECL output
|
||||
if ( eclWriter_ ) {
|
||||
eclWriter_->writeTimeStep(timer, state, wellState);
|
||||
eclWriter_->writeTimeStep(timer, state, wellState, substep);
|
||||
}
|
||||
// write backup file
|
||||
if( backupfile_ )
|
||||
|
@ -133,7 +133,8 @@ namespace Opm
|
||||
/** \copydoc Opm::OutputWriter::writeTimeStep */
|
||||
void writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
const SimulatorState& state,
|
||||
const WellState& )
|
||||
const WellState&,
|
||||
bool substep = false)
|
||||
{
|
||||
outputStateVtk(grid_, state, timer.currentStepNum(), outputDir_);
|
||||
}
|
||||
@ -162,7 +163,8 @@ namespace Opm
|
||||
/** \copydoc Opm::OutputWriter::writeTimeStep */
|
||||
void writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
const SimulatorState& reservoirState,
|
||||
const WellState& wellState)
|
||||
const WellState& wellState,
|
||||
bool substep = false)
|
||||
{
|
||||
const BlackoilState* state =
|
||||
dynamic_cast< const BlackoilState* > (&reservoirState);
|
||||
@ -196,7 +198,8 @@ namespace Opm
|
||||
/** \copydoc Opm::OutputWriter::writeTimeStep */
|
||||
void writeTimeStep(const SimulatorTimerInterface& timer,
|
||||
const SimulatorState& reservoirState,
|
||||
const WellState& wellState);
|
||||
const WellState& wellState,
|
||||
bool substep = false);
|
||||
|
||||
/** \brief return output directory */
|
||||
const std::string& outputDirectory() const { return outputDir_; }
|
||||
|
Loading…
Reference in New Issue
Block a user