mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
Sector model export removed all ACTNUM and FAULTS keywords from the deck and re-inserted the sector-specific replacements at the end of the GRID section, which always lands in the main DATA file. Decks that keep these keywords in separate include files lost their file organization, leaving the original include files empty while the data was written inline. Collapse duplicates to a single occurrence instead of removing all occurrences, so the subsequent in-place replacement keeps the keyword in its original file when the deck is saved with OutputMode::COPY. ACTNUM keeps the last occurrence since a later ACTNUM overrides an earlier one; FAULTS keeps the first so fault definitions do not move past keywords referencing them.