copying the EclipseGrid object is required as the final set of active cells requires knowledge of the grid used by the simulator which is not available in opm-parser. In turn, this requires to call EclipseGrid::resetACTNUM() which is non-const.
copying the EclipseGrid object is required as the final set of active cells requires knowledge of the grid used by the simulator which is not available in opm-parser. In turn, this requires to call EclipseGrid::resetACTNUM() which is non-const.