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