mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
The Completion Type result was registered only as a dynamic result, which requires simulation time steps. Loading only grid geometry (e.g. a ROFF grid) therefore made the result unavailable, since there are no time steps to compute it for. Register and compute a STATIC_NATIVE variant of Completion Type in addition to the existing DYNAMIC_NATIVE one, computed as a single time-step-independent frame. The shared per-frame computation is factored out of computeCompletionTypeForTimeStep so both variants reuse it. The virtual perforation transmissibilities already handle the no-restart case by clamping to a single frame, so the static result can be computed at calc time step 0. The legend/category predicates and the completion-type result clearing are broadened to recognise the static variant so it renders with the same discrete named-category legend as the dynamic one.
ResInsight Processing Server - rips
A Python interface for the ResInsight visualization and post-processing suite for Reservoir Simulations