mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -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_;
|
outputDirParam += output_dir_;
|
||||||
argv.push_back(outputDirParam.c_str());
|
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)
|
#if defined(_OPENMP)
|
||||||
std::string numThreadsParam("--threads-per-process=");
|
std::string numThreadsParam("--threads-per-process=");
|
||||||
int numThreads = omp_get_max_threads();
|
int numThreads = omp_get_max_threads();
|
||||||
|
@ -333,11 +333,6 @@ namespace Opm
|
|||||||
if (initConfig.restartRequested() && ((initConfig.getRestartStep()) == (timer.currentStepNum()))) {
|
if (initConfig.restartRequested() && ((initConfig.getRestartStep()) == (timer.currentStepNum()))) {
|
||||||
std::cout << "Skipping restart write in start of step " << timer.currentStepNum() << std::endl;
|
std::cout << "Skipping restart write in start of step " << timer.currentStepNum() << std::endl;
|
||||||
} else {
|
} else {
|
||||||
if ( timer.initialStep() )
|
|
||||||
{
|
|
||||||
// Set the initial OIP
|
|
||||||
eclIO_->overwriteInitialOIP(simProps);
|
|
||||||
}
|
|
||||||
// ... insert "extra" data (KR, VISC, ...)
|
// ... insert "extra" data (KR, VISC, ...)
|
||||||
const int reportStepForOutput = substep ? timer.reportStepNum() + 1 : timer.reportStepNum();
|
const int reportStepForOutput = substep ? timer.reportStepNum() + 1 : timer.reportStepNum();
|
||||||
eclIO_->writeTimeStep(reportStepForOutput,
|
eclIO_->writeTimeStep(reportStepForOutput,
|
||||||
@ -346,6 +341,8 @@ namespace Opm
|
|||||||
simProps,
|
simProps,
|
||||||
wellState.report(phaseUsage_),
|
wellState.report(phaseUsage_),
|
||||||
miscSummaryData,
|
miscSummaryData,
|
||||||
|
{}, //regionData
|
||||||
|
{}, //blockData
|
||||||
extraRestartData,
|
extraRestartData,
|
||||||
restart_double_si_);
|
restart_double_si_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user