opm-grid
opm-grid copied to clipboard
Make entity marking dune conformant
This PR ensures that the entity marking process conforms to dune interface by adding a boolean flag that defines whether to throw an exception when the marking is invalid or not.
If the flag is false, the function returns gracefully as the dune-grid interface expects. If true, the function will throw a message with the reason of the failure. The default flag (false) follows the dune interface.
In cases where the LGR is explicitly requested by the user, the flag is set to true to still provide useful diagnostics.
jenkins build this please