adapt to ParameterSystem printValues change

This commit is contained in:
Arne Morten Kvarving 2024-07-05 14:43:19 +02:00
parent 139e64ea2e
commit 554a261c7f
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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