mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-07-30 05:27:57 -05:00
ParameterSystem: add function to query if registration is open
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user