mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5514 from akva2/remove_print_properties
Remove support for the print-properties parameter
This commit is contained in:
commit
a336f0df90
@ -240,24 +240,13 @@ namespace Opm {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
// deal with --print-properties and --print-parameters and unknown parameters.
|
||||
|
||||
bool doExit = false;
|
||||
|
||||
if (Parameters::get<TypeTag, Parameters::PrintProperties>() == 1) {
|
||||
doExit = true;
|
||||
if (mpiRank == 0)
|
||||
Properties::printValues<TypeTag>(std::cout);
|
||||
}
|
||||
|
||||
// deal with --print-parameters and unknown parameters.
|
||||
if (Parameters::get<TypeTag, Parameters::PrintParameters>() == 1) {
|
||||
doExit = true;
|
||||
if (mpiRank == 0)
|
||||
if (mpiRank == 0) {
|
||||
Parameters::printValues<TypeTag>();
|
||||
}
|
||||
|
||||
if (doExit)
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user