Commit Graph

17 Commits

Author SHA1 Message Date
Magne Sjaastad
e9ff3540ba Update dev branch after patch release
* Fix calculation for active cell values
Always allocate result data for active cells in destination case. Make sure that active cells is used for both population of expression variables and filtering of data. Improved naming to make it clear that we always work with active cell data.

* Check if scalar result index is valid
* Create the static scalar results once
addStaticScalarResult will clear already computed data, causing calculations to be triggered once more

* Early return if data already is available
If not checking if data is available, data is read from file and appended to result vector.

* Always check date for H5 files, and recreate if required

* Always recreate ESMRY if file exists and is older than SMSPEC

* #11355 Use category if result name starts with FIP or ends with NUM

* #11337 Summary import: Make sure ESMRY includes restart history

* #11334 Fix cvf::Viewport assert triggered for small contour map/2d intersection
Size of the overlay is could become negative, and would overflow for small views.

* #11310 Fix assert on single cell model.
Well pipe radius would become HUGE_VAL due to off-by-one error.
The assert could only happen on model with a single cell.

* Check equal grid size only when required
Equal grid size is required if there is more than one grid case in the expression. If a cell filter view is active, the visibility is based on one view and reused for all other grid models, and requires equal grid size.

* Remove obsolete log message

* Do not show dialog during regression tests

* Fix eclipse case contour map left click (#11378)

* Make sure we operate in the correct domain when picking points in the contour map

* Remove obsolete code causing grid to be loaded for all cases


* Bump version to 2024.03.1

---------

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
Co-authored-by: jonjenssen <69144954+jonjenssen@users.noreply.github.com>
2024-04-19 15:09:15 +02:00
Magne Sjaastad
f8c5cf389f clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Magne Sjaastad
28b3f16db1 #9614 Check last write time for ESMRY files and SMSPEC files 2023-01-05 09:29:19 +01:00
Magne Sjaastad
7a0bfd4917 Use updated version of opm-common as submodule
* Adjustments to build system for opm-common
* Add opm-common as submodule
* Disable use of unity build for opm-common
2022-07-07 22:17:33 +02:00
Magne Sjaastad
1559d72766 #8339 Summary Preferences : Adjust default settings 2021-12-01 16:27:28 +01:00
Magne Sjaastad
e5e1f59aef #8069 Summary ESMRY : Improve robustness and error reporting 2021-09-29 18:46:26 +02:00
Magne Sjaastad
0b724da685 #7746 Plot window Messages: Simplify comments related to h5-files 2021-06-10 08:09:48 +02:00
Magne Sjaastad
9cd36fab5b Fix use of std::filesystem on older compilers 2021-04-16 16:14:55 +02:00
Magne Sjaastad
d18abce39a Fix missing include 2021-04-16 12:39:09 +02:00
Magne Sjaastad
52799e8b4c Minor HDF adjustments (#7577)
* #7575 Summary HDF : Do not import summary if no UNSRMY file is found
* #7575 Summary HDF : Add optional check on time stamp of h5 file
* Use std::filesystem to check file access
* Do not keep h5 file open
2021-04-16 10:52:30 +02:00
Magne Sjaastad
27e3bc1b56 #7563 HDF5 Export : Add support for defining how many threads to use 2021-04-14 13:53:21 +02:00
Magne Sjaastad
30687e18bc HDF : Create ESmry reader in try catch block 2021-04-14 13:53:21 +02:00
Magne Sjaastad
c50e7cdd51 Summary HDF : Make sure all summary data is loaded before export to HDF 2021-04-13 10:39:34 +02:00
Magne Sjaastad
9ecfefe094 #7568 Summary HDF : Use time conversion methods from Opm::TimeStampUTC 2021-04-12 05:13:40 -07:00
Magne Sjaastad
8f00c527b1 #7568 Summary HDF : Avoid exeptions when exporting to h5 2021-04-12 05:13:40 -07:00
Magne Sjaastad
3bc569e2a6 #7563 HDF5 Export : Add flag to generated HDF5, default off
Fixes by cmake-format

Try to fix copy constructor issues


Fix missing initialization


Unused variable
2021-04-11 13:04:49 -07:00
Magne Sjaastad
5e3aef5ca9 #7563 HDF5 Export : Add export of summary data to HDF5 2021-04-11 13:04:49 -07:00