Pass empty regionSummaryData and blockSummaryData to output

This commit is contained in:
Tor Harald Sandve 2018-01-17 15:26:06 +01:00
parent b38430ea2e
commit 84a8b8eca6
2 changed files with 7 additions and 5 deletions

View File

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

View File

@ -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_);
}