ParameterSystem: add function to query if registration is open

This commit is contained in:
Arne Morten Kvarving
2024-09-05 10:07:40 +02:00
parent 0cda471821
commit 3161b4f547
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ namespace Opm {
// Read the command line parameters. Throws an exception if something goes wrong.
static int setupParameters_(int argc, char** argv, Parallel::Communication comm)
{
if (!Parameters::MetaData::registrationOpen()) {
if (!Parameters::IsRegistrationOpen()) {
// We have already successfully run setupParameters_().
// For the dynamically chosen runs (as from the main flow
// executable) we must run this function again with the