mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Avoid unused variable warning
This commit is contained in:
parent
6ba9dc086c
commit
5745f92b08
@ -398,7 +398,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void writeOutput(data::Solution&& localCellData, const SimulatorTimer& timer, bool isSubStep)
|
void writeOutput(data::Solution&& localCellData, bool isSubStep)
|
||||||
{
|
{
|
||||||
OPM_TIMEBLOCK(writeOutput);
|
OPM_TIMEBLOCK(writeOutput);
|
||||||
|
|
||||||
|
@ -477,7 +477,7 @@ public:
|
|||||||
* \brief Write the requested quantities of the current solution into the output
|
* \brief Write the requested quantities of the current solution into the output
|
||||||
* files.
|
* files.
|
||||||
*/
|
*/
|
||||||
void writeOutput(const SimulatorTimer& timer, bool verbose = true)
|
void writeOutput(bool verbose = true)
|
||||||
{
|
{
|
||||||
FlowProblemType::writeOutput(verbose);
|
FlowProblemType::writeOutput(verbose);
|
||||||
|
|
||||||
@ -492,7 +492,7 @@ public:
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (enableEclOutput_){
|
if (enableEclOutput_){
|
||||||
eclWriter_->writeOutput(std::move(localCellData), timer, isSubStep);
|
eclWriter_->writeOutput(std::move(localCellData), isSubStep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ public:
|
|||||||
simulator_.setEpisodeLength(0.0);
|
simulator_.setEpisodeLength(0.0);
|
||||||
simulator_.setTimeStepSize(0.0);
|
simulator_.setTimeStepSize(0.0);
|
||||||
wellModel_().beginReportStep(timer.currentStepNum());
|
wellModel_().beginReportStep(timer.currentStepNum());
|
||||||
simulator_.problem().writeOutput(timer);
|
simulator_.problem().writeOutput();
|
||||||
|
|
||||||
report_.success.output_write_time += perfTimer.stop();
|
report_.success.output_write_time += perfTimer.stop();
|
||||||
}
|
}
|
||||||
@ -370,7 +370,7 @@ public:
|
|||||||
perfTimer.start();
|
perfTimer.start();
|
||||||
const double nextstep = adaptiveTimeStepping_ ? adaptiveTimeStepping_->suggestedNextStep() : -1.0;
|
const double nextstep = adaptiveTimeStepping_ ? adaptiveTimeStepping_->suggestedNextStep() : -1.0;
|
||||||
simulator_.problem().setNextTimeStepSize(nextstep);
|
simulator_.problem().setNextTimeStepSize(nextstep);
|
||||||
simulator_.problem().writeOutput(timer);
|
simulator_.problem().writeOutput();
|
||||||
report_.success.output_write_time += perfTimer.stop();
|
report_.success.output_write_time += perfTimer.stop();
|
||||||
|
|
||||||
solver_->model().endReportStep();
|
solver_->model().endReportStep();
|
||||||
|
@ -349,7 +349,7 @@ void registerAdaptiveParameters();
|
|||||||
time::StopWatch perfTimer;
|
time::StopWatch perfTimer;
|
||||||
perfTimer.start();
|
perfTimer.start();
|
||||||
|
|
||||||
problem.writeOutput(simulatorTimer);
|
problem.writeOutput();
|
||||||
|
|
||||||
report.success.output_write_time += perfTimer.secsSinceStart();
|
report.success.output_write_time += perfTimer.secsSinceStart();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user