Commit Graph

906 Commits

Author SHA1 Message Date
Magne Sjaastad
2f6b2e57f5 Add support for radial grids
* Update radial grid operations in submodule
* Optionally display cell center and cell corners when clicking on cell
* Add support for import of radial grids
* Modify node coordinates to match host cell
2023-03-16 07:16:11 +01:00
Jon Jenssen
e7c81929d2 Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too. 2023-03-16 07:16:11 +01:00
Jon Jenssen
718577e203 Rearrange order of source stepping options 2023-03-16 07:16:11 +01:00
Magne Sjaastad
8c91d81854 Well measurement improvements
* Update 3D view and plot when measurement data is added
* #8625 Make visibility of measurement follow well path visibility
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c4993b6869 GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability.
- Improve use of clang-format and include source code changes
2023-03-16 07:16:11 +01:00
Jørgen Herje
043397b378 Change to point to point for Accumulated Flow Volume Percentage 2023-03-16 07:16:11 +01:00
Magne Sjaastad
cc722c1cfd #9147 Fix wrong curve name for summary group curves 2023-03-16 07:16:11 +01:00
Magne Sjaastad
38a093456f #9780: Compare axis unit text case insensitive 2023-03-16 07:16:11 +01:00
Magne Sjaastad
79820edcc8 #9771: Guard nullpointer access 2023-03-16 07:16:11 +01:00
jonjenssen
0c70a92f16 Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5118ed36e5 Remove unused variable 2023-03-16 07:16:11 +01:00
Magne Sjaastad
b8eb00b7e4 Improve RftPlt data source objects (#9769)
Move AppEnum init to RifDataSourceForRftPlt
Simplify constructors for RifDataSourceForRftPlt
Rename enum names in RifDataSourceForRftPlt::SourceType
Add missing pressureDepthData in RimDataSourceForRftPlt
2023-03-16 07:16:11 +01:00
Bård Skaflestad
5826c97f84 Look Up Time Step Object Exactly Once
Using .contains() followed by .at() with the same argument will
perform the same map lookup twice.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
93fe8d7a85 RFT improvements
* Avoid accessing nullptr
* remove unused function
* Allow RFT data from single summary case to be used in RFT plots
* #9736 Support horizontal plotting of LAS curves
2023-03-16 07:16:11 +01:00
Jørgen Herje
4159e599f3 Invert default isCurveHighlightSupported flag for RimPlot
- Make default flag = false, thus highlighting must be activated
- To prevent unwanted logic for new RimPlot objects
- Activate highlighting for RimSummaryPlot, RimVfpPlot and RimCorrelationMatrixPlot
2023-03-16 07:16:11 +01:00
Jørgen Herje
6f34a730a0 Well Allocation over time adjustements (#9738)
- Add font size settings
- Move legend to right side of plot
- Set default selected time steps to time step count = 10
- When excluding time steps, duplicates rates from next valid time step onto excluded time steps
- Allow time step selection "Show all time steps" or "Time step count" for subset of time steps
- Allow excluding on the active set, i.e. all or subset, of time steps
2023-03-16 07:16:11 +01:00
Jon Jenssen
c70ad2f9a8 Fix geomech reload issues 2023-03-16 07:16:11 +01:00
jonjenssen
09248011ef Support loading only last geomech frame (#9727)
Support option for loading only the last frame for each geomech timestep. Turn it default on for old projects.
2023-03-16 07:16:11 +01:00
Jørgen Herje
3e8c85a202 Move Reference Well functionality to WellLogExtractionCurve
* Remove reference well feature from plot objects
* Move Reference Well functionality to WellLogExtractionCurve
* Reset reference well selection if new selected well path equals ref
2023-03-16 07:16:11 +01:00
Jørgen Herje
d634fcd4b4 Create depth adjusted LAS files
* Add support for creating depth adjustment LAS files
* Add RiaDefine for LAS file depth property names
* Remove incorrect check in K-index Calculator

Co-authored-by: jorgenherje <jorgenherje@users.noreply.github.com>
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-03-16 07:16:11 +01:00
Magne Sjaastad
264fbbfadc Fix issues related to well bore stability plots
* Check if data is present
* Move plot update to geomech case
* Return empty vector if no data is present
2023-03-16 07:16:11 +01:00
jonjenssen
82fc42cc19 Improve range filter slider gui 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
ea4a4df580 Fracture: show perforation length field in fracture for azimuth + user-defined perf length. 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
5f9b6e08fa Recompute completion type results when input values change. 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
b0d01a988f #9620 Pressure/depth data: add user interface. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
eb1413e2b3 System: Enable and use c++20
Enable c++20 in top level cmake. Keep c++17 for GrpcInterface, as the protoc tool does not work with c++20.
Several code adjustments to fix compiler issues.
2023-03-16 07:16:11 +01:00
jonjenssen
dc5d53ad20 Geomech frames support (#9678)
Support for showing frames in geomech data.
2023-03-16 07:16:11 +01:00
Jørgen Herje
05bf744197 Well allocation over time plot (#9655)
- Plot for showing well allocation over time. 
- Select time range
- Option to exclude time steps in selected range
- Possible value types: Flow rate, flow rate percentage, flow volume, accumulated flow volume, accumulated flow volume percentage
- Group small contributors into group "Others"
2023-03-16 07:16:11 +01:00
jonjenssen
796160960d Add toolbar toggle button for showing displacements (#9677)
* Add toolbar toggle button for showing displacements
2023-03-16 07:16:11 +01:00
Magne Sjaastad
a2e73d7cee Move prepareForDelete() to Rim3dView 2023-01-11 12:30:06 +01:00
Magne Sjaastad
8e161a5c89 Stabilization fixes related to regression testing
* Added fmtlib to LicenseInformation.txt
* Add license info for roffcpp
* Regression Tests: Guard use of invalid bounding box
* Regression Test: Check if file is present before opening
2023-01-10 11:45:37 +01:00
Kristian Bendiksen
6b631b3d5a #9591 Janitor: remove unused parameter in RiuPlotWigdet::createPlotCurve. 2023-01-09 15:39:42 +01:00
Magne Sjaastad
fe181ed60e Guard use of pointers 2023-01-06 13:30:56 +01:00
Magne Sjaastad
752363a4b8 #9624 Add alphabetical and by value sorting 2023-01-05 12:14:49 +01:00
Jon Jenssen
10960ea2fa Add safeguard 2023-01-02 16:51:27 +01:00
Magne Sjaastad
09e05e9996 Fix summary issues
* Add missing time conversion for month
* #9606: FIx wrong usage of function when accessing data from summary file
The result values are aggregated into the destination vector in RimSummaryCaseCollection::computeMinMax(), so make sure the vector is recreated per case.
* #9602 : Make sure the plot is updated correctly for "Time since simulation start"
* Move roundToNumSignificantDigits() to RiaNumericalTools
* Make sure the time axis is consistent when individual time range differs
2023-01-02 10:22:44 +01:00
Kristian Bendiksen
142d8f0cc6 Janitor: Fix spelling of "synchronize". 2022-12-22 19:24:14 +01:00
Kristian Bendiksen
fc4294a6ad Roff: allow roff files in input property import 2022-12-22 19:24:14 +01:00
Kristian Bendiksen
ca5064e7da Roff: import properties from Roff grid files. 2022-12-22 19:24:14 +01:00
Magne Sjaastad
5d072663f1 Set version to 2023.01.0-RC_01 and disable debug output of AABB tree 2022-12-22 09:49:34 +01:00
Magne Sjaastad
c1aceb7134 Avoid random assignment of sub/lateral index to make regression test stable 2022-12-21 15:30:08 +01:00
Magne Sjaastad
f27f47fad5 Ensemble: Disable auto name for old projects
Set auto name to false to be able to use the stored name in project files.
2022-12-21 13:59:20 +01:00
Magne Sjaastad
e815a02758 Minor GUI adjustments
* Select view when MDI window is activated

* Update linked views when property filter is linked

* Do not ask for restore of cell filters if none are present

* Update tree view when linking of property filters is disabled

* Add check box for multiple results in Result Info box
2022-12-21 10:50:26 +01:00
Kristian Bendiksen
8f33caef74 Fracture: Make conductivity type scriptable from python. 2022-12-20 08:44:42 +01:00
Kristian Bendiksen
8b51160ac4 Roff support with submodule
* Roff: Add initial roff support (with roffcpp as submodule).
* Roff: Create viewer when importing roff files.
* Roff: add timing for roff import.
* Roff: precompute active cell indexes.
* Roff: parallelize using OpenMP.
* Roff: Handle exceptions when importing.
* Roff: improvements from review.
* Invert ordering

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 15:28:26 +01:00
Magne Sjaastad
38bfa9ef1f #9588 Accumulate N cells for AABB tree 2022-12-19 15:24:53 +01:00
Magne Sjaastad
a423ecf95f Several OpenMP improvements
Several optimizations based on profiling of 20M grid model. These fixes will improve the largest performance issues, but there are still more operations that can be refactored.

* OpenMP: Use in fault geometry generator
* OpenMP: Use when computing statistics for result values
* OpenMP: Use multithreading on fault detection
* Add RiaOpenMPTools
* VizFwk: Use openMP for texture generation
2022-12-19 13:49:03 +01:00
Kristian Bendiksen
254c74be13 #9439 Fix unstable location of generated well target at sea level
NB! This fix will update the location of well target at sea level, and can potentially change the MD from sea level to first user defined well target. This will affect completions defined for the modelled well, as they are defined by MD.

* #9439 Make MD more predictable when toggling sea level target.
* #9439 Avoid updating well path tangents when toggling sea level target
* Disable IO of well target at sea level


Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 13:24:04 +01:00
Magne Sjaastad
befab37588 Add debug output of AABB tree 2022-12-16 15:36:48 +01:00
Magne Sjaastad
16239cd80c #9522 Contour Map: Ensure correct update of grid calculator maps 2022-12-16 06:57:31 +01:00