mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
adapt to ParameterSystem printValues change
This commit is contained in:
parent
139e64ea2e
commit
554a261c7f
@ -238,7 +238,7 @@ namespace Opm {
|
|||||||
// deal with --print-parameters and unknown parameters.
|
// deal with --print-parameters and unknown parameters.
|
||||||
if (Parameters::get<TypeTag, Parameters::PrintParameters>() == 1) {
|
if (Parameters::get<TypeTag, Parameters::PrintParameters>() == 1) {
|
||||||
if (mpiRank == 0) {
|
if (mpiRank == 0) {
|
||||||
Parameters::printValues<TypeTag>();
|
Parameters::printValues();
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -409,7 +409,7 @@ private:
|
|||||||
getNumThreads<PreTypeTag>(),
|
getNumThreads<PreTypeTag>(),
|
||||||
Opm::moduleVersionName());
|
Opm::moduleVersionName());
|
||||||
std::ostringstream str;
|
std::ostringstream str;
|
||||||
Parameters::printValues<PreTypeTag>(str);
|
Parameters::printValues(str);
|
||||||
cmdline_params = str.str();
|
cmdline_params = str.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -501,7 +501,7 @@ protected:
|
|||||||
std::array<std::string,5> getHeader() const override
|
std::array<std::string,5> getHeader() const override
|
||||||
{
|
{
|
||||||
std::ostringstream str;
|
std::ostringstream str;
|
||||||
Parameters::printValues<TypeTag>(str);
|
Parameters::printValues(str);
|
||||||
return {"OPM Flow",
|
return {"OPM Flow",
|
||||||
moduleVersion(),
|
moduleVersion(),
|
||||||
compileTimestamp(),
|
compileTimestamp(),
|
||||||
|
Loading…
Reference in New Issue
Block a user