mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Pass the async_output to core ebos
this was forgotten when moving the output writing code into the ebos core. (this does not really matter for most people because asynchronous output is wanted anyway and it was unconditionally enabled.)
This commit is contained in:
parent
5034e25ab8
commit
830c119362
@ -403,10 +403,19 @@ namespace Opm
|
||||
argv.push_back(outputDirParam.c_str());
|
||||
}
|
||||
|
||||
const bool restart_double_si = param_.getDefault("restart_double_si", false);
|
||||
std::string asyncOutputParam("--enable-async-ecl-output=");
|
||||
if (param_.has("async_output")) {
|
||||
const std::string& value = param_.get<std::string>("async_output");
|
||||
asyncOutputParam += value;
|
||||
argv.push_back(asyncOutputParam.c_str());
|
||||
}
|
||||
|
||||
std::string outputDoublePrecisionParam("--ecl-output-double-precision=");
|
||||
outputDoublePrecisionParam += restart_double_si ? "true" : "false";
|
||||
if (param_.has("restart_double_si")) {
|
||||
const std::string& value = param_.get<std::string>("restart_double_si");
|
||||
outputDoublePrecisionParam += value;
|
||||
argv.push_back(outputDoublePrecisionParam.c_str());
|
||||
}
|
||||
|
||||
#if defined(_OPENMP)
|
||||
std::string numThreadsParam("--threads-per-process=");
|
||||
|
Loading…
Reference in New Issue
Block a user