Magne Sjaastad
544e9eedd9
Improve spell checker using codespell
...
* Configures automated spell checking with codespell
Adds GitHub workflows and configuration files for automated spell checking using `codespell`.
This includes:
- A workflow for checking pull requests and preventing new typos
- A workflow for automatically fixing typos in the main codebase
- Configuration files for `codespell` to ignore specific terms and file types
- Documentation on how to use and configure the spell checking workflows.
* Corrects minor spelling and grammar errors.
2025-11-19 10:25:32 +01:00
Magne Sjaastad
0b74a4accc
Removes addOneBasedCellIndex function
2025-11-17 19:45:14 +01:00
Kristian Bendiksen
3a8d521bc2
Sector Export: fix bug comparing caf::VecIjk1 with caf::VecIjk0.
2025-11-17 13:04:13 +01:00
Kristian Bendiksen
2bba6afe10
Sector Export: dump with "INLINE" to workaround strange inserts.
2025-11-15 11:22:44 +01:00
Kristian Bendiksen
9f597c63f9
Sector Export: handle missing OPERNUM.
...
Also use keyword when inserting in deck.
2025-11-15 11:22:44 +01:00
jonjenssen
eb08ceeedc
Fix overwriting wrong keyword in some cases
2025-11-14 23:19:41 +01:00
Kristian Bendiksen
38c691d9a4
Refactor: Update usage of caf::VecIjk.
2025-11-14 14:44:21 +01:00
Kristian Bendiksen
b1646d9a1f
#12950 Generate BCCON/BCPROP for simulation input.
2025-11-12 08:39:20 +01:00
Kristian Bendiksen
4291ebd91c
Refactor: use PROPS name from OPM common.
2025-11-12 08:39:20 +01:00
JJ
39c2282904
Handle active cells in files with thermal data (rockv) ( #13159 )
...
* Handle active cells in files with thermal data from intersect
2025-11-12 07:13:24 +01:00
Magne Sjaastad
5e7c3dd1f1
#13095 Avoid error message trying to read data not present in file
2025-11-10 13:19:47 +01:00
Magne Sjaastad
be7a01d0cf
#13147 Simplifies summary import options
...
Removes ensemble summary import mode as separate cases import is not supported.
Simplifies the UI by removing the ensemble import option, and updates the logic to handle summary import mode correctly by only supporting skip or unified imports. If separated cases is required for a single summary case, this can be activated by using the import dialog.
Adds logic to initialize after read to ensure that if SummaryImportMode is SEPARATE_CASES, it changes to NOT_IMPORT.
2025-11-10 13:07:21 +01:00
jonjenssen
a5d4e358ae
Clean up keyword generators
2025-11-07 14:46:35 +01:00
JJ
6286a34297
Wellplanning: use updated MSW table data api ( #13142 )
...
* Update to use new table variable names aligned with opm common naming.
2025-11-07 10:05:53 +01:00
Magne Sjaastad
de6a2a7aa8
#13137 Make sure calculated vectors appears in tree view
...
When populating the addresses to be displayed in the tree view, the native file readers must be populated first. The calculated addresses depend on addresses available in native readers.
2025-11-06 11:40:03 +01:00
Magne Sjaastad
a693aa6d09
#13062 Make search for restart header file more robust
...
Refactors restart file name retrieval to use preferences for reader mode.
Simplifies logic by removing separate OPM-specific retrieval methods, and
instead uses a unified method that dynamically selects the appropriate
reader based on user preferences.
Adds fallback mechanism to read restart file paths from SMSPEC files when
the RESTART keyword is missing in ESMRY files generated by ResInsight.
Corrects path handling for restart files by adjusting paths relative to the
header file.
2025-11-05 06:38:37 +01:00
Kristian Bendiksen
92f2b887ad
RifOpmFlowDeckFile: fix problem when replacing keyword in EDIT section.
2025-11-03 09:56:19 +01:00
Kristian Bendiksen
1cc1073af0
Remove MAPAXES keyword (for now).
2025-11-03 09:56:19 +01:00
Kristian Bendiksen
241cc34ed4
Find last created opernum.
2025-11-03 09:56:19 +01:00
Kristian Bendiksen
788e054734
Export sector model: Set opernum in regdims.
2025-11-03 09:56:19 +01:00
Kristian Bendiksen
864c56866d
Sector Export: fix well properties in deck file.
2025-11-03 09:56:19 +01:00
Kristian Bendiksen
2f3c0480fc
Thermal Fracture Import: block fracture without time steps.
2025-10-31 15:52:23 +01:00
Kristian Bendiksen
107a4dfe95
Thermal Fracture Import: handle more date time formats.
2025-10-31 15:52:23 +01:00
Magne Sjaastad
f384b5ef38
Adds helper functions to table formatter
2025-10-31 08:11:19 +01:00
JJ
948d6d82a6
Well planning: prepare for improved MSW handling ( #13096 )
...
* Refactor MSW data handling in opm flow job
2025-10-30 11:57:22 +01:00
jonjenssen
bc48a11524
Fix warning with qt 6.10
2025-10-27 05:48:23 +01:00
Magne Sjaastad
c75b2a1c6d
Revert "Avoid small allocation on every read of data from resdata"
...
This reverts commit ea06cdc291 .
2025-10-26 13:37:48 +01:00
Kristian Bendiksen
4e736a8cc0
Refactor: move opm-flow deck keyword generation to factory.
2025-10-24 19:33:35 +02:00
Kristian Bendiksen
2a82ee4670
Simulation Input Export: handle faults.
2025-10-24 19:33:35 +02:00
Kristian Bendiksen
7519eee8ae
Extract method for generating faults.
2025-10-24 19:33:35 +02:00
JJ
991e693f4d
WELSPECS and COMPDAT export improvements ( #13068 )
...
* Generate keywords directly.
* Make sure ensemble settings in duplicated job is reset.
* Use same sort as file export
2025-10-24 11:10:25 +02:00
Magne Sjaastad
ea06cdc291
Avoid small allocation on every read of data from resdata
2025-10-23 16:14:12 +02:00
Kristian Bendiksen
b329318e05
Replace more keywords.
2025-10-22 16:20:50 +02:00
Kristian Bendiksen
ebb8d62eb6
Replace values in deck file values.
2025-10-22 16:20:50 +02:00
Kristian Bendiksen
2392a6dfa1
Refactor: extract method for getting sector data.
2025-10-22 16:20:50 +02:00
Kristian Bendiksen
c38819bac7
CSV Parser: include line number in error message.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
2b974abfd1
Refactor CSV Parser: Modernize casts.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
4a4941f759
CSV Parser: use cell separator when determining layout type.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
dddb206dc4
Refactor CSV parser: Modernize enum.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
7ab1c62b30
Refactor CSV parser: Improve error handling in openDataStream.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
c6da9ad8a8
Refactor CSV parser: Extract method for parsing date time.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
c17736a232
Refactor CSV parser: Refactor to use lambda.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
b29db6e62d
Refactor CSV parser: Remove pointers in api.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
75ca1b5216
Refactor CSV parser: Modernize memory management.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
d137281066
Refactor CSV parser: modernize parser to use std::expected.
2025-10-17 07:52:42 +02:00
Kristian Bendiksen
5373484615
#12950 Sector Model: Add BCPROP keyword.
2025-10-13 14:14:44 +02:00
Kristian Bendiksen
dd689aec50
#12950 Sector Model: Add BCCON keyword.
2025-10-13 14:14:44 +02:00
jonjenssen
6fc8e826cf
Add missing time record to dates keyword
2025-10-10 12:10:53 +02:00
Magne Sjaastad
6de145ef50
#12996 Resdata: Prefer UNRST over FUNRST
2025-10-08 16:03:56 +02:00
magnesj
5d26f53472
Fixes by clang-tidy
2025-10-08 07:48:37 +02:00