mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Pass empty regionSummaryData and blockSummaryData to output
This commit is contained in:
parent
b38430ea2e
commit
84a8b8eca6
@ -405,6 +405,11 @@ namespace Opm
|
||||
outputDirParam += output_dir_;
|
||||
argv.push_back(outputDirParam.c_str());
|
||||
|
||||
const bool restart_double_si = param_.getDefault("restart_double_si", false);
|
||||
std::string outputDoublePrecisionParam("--ecl-output-double-precision=");
|
||||
outputDoublePrecisionParam += restart_double_si;
|
||||
argv.push_back(outputDoublePrecisionParam.c_str());
|
||||
|
||||
#if defined(_OPENMP)
|
||||
std::string numThreadsParam("--threads-per-process=");
|
||||
int numThreads = omp_get_max_threads();
|
||||
|
@ -333,11 +333,6 @@ namespace Opm
|
||||
if (initConfig.restartRequested() && ((initConfig.getRestartStep()) == (timer.currentStepNum()))) {
|
||||
std::cout << "Skipping restart write in start of step " << timer.currentStepNum() << std::endl;
|
||||
} else {
|
||||
if ( timer.initialStep() )
|
||||
{
|
||||
// Set the initial OIP
|
||||
eclIO_->overwriteInitialOIP(simProps);
|
||||
}
|
||||
// ... insert "extra" data (KR, VISC, ...)
|
||||
const int reportStepForOutput = substep ? timer.reportStepNum() + 1 : timer.reportStepNum();
|
||||
eclIO_->writeTimeStep(reportStepForOutput,
|
||||
@ -346,6 +341,8 @@ namespace Opm
|
||||
simProps,
|
||||
wellState.report(phaseUsage_),
|
||||
miscSummaryData,
|
||||
{}, //regionData
|
||||
{}, //blockData
|
||||
extraRestartData,
|
||||
restart_double_si_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user