opm-common
opm-common copied to clipboard
Activate GLIFTOPT for use in Pyaction and add warning for required keywords
Depends on OPM/opm-simulators#5831 and OPM/opm-tests#1271.
With this PR, the keyword GLIFTOPT is activated for the use in a PYACTION. Since GLIFTOPT needs the keyword LIFTOPT before, I've added a warning: When a keywords that requires other keywords is inserted via a PYACTION, the warning
Opm::OpmLog::warning("Attention, the keyword " + keyword.name() + " needs the keyword " + requiredKeyword + " before.");
about the required keywords is added. I've chosen this, since there is no way to access the keywords that have already been processed from inside the PYACTION.
jenkins build this opm-simulators=5831 opm-tests=1271 please
jenkins build this opm-simulators=5831 opm-tests=1271 please