Convert m_virtualPerforationTransmissibilities in RigEclipseCaseData from
cvf::ref<RigVirtualPerforationTransmissibilities> to
std::shared_ptr<RigVirtualPerforationTransmissibilities>, following the same
pattern as previous modernizations.
Changes:
- RigEclipseCaseData: Updated memory management and accessor methods
- Added virtualPerforationTransmissibilitiesShared() methods
- RimEclipseCase: Updated to use std::make_shared for allocation
- Updated setVirtualPerforationTransmissibilities() signature to accept shared_ptr
All 569 unit tests pass successfully.
Convert m_matrixModelResults and m_fractureModelResults in RigEclipseCaseData from
cvf::ref<RigCaseCellResultsData> to std::shared_ptr<RigCaseCellResultsData>,
following the same pattern as previous modernizations.
Changes:
- RigEclipseCaseData: Updated memory management, accessors, and null checks
- Added resultsShared() accessor methods for direct shared_ptr access
- RigCaseCellResultsData.h: Added includes for RigEclipseResultInfo and
RigAllanDiagramData to support std::make_shared allocation
All 569 unit tests pass successfully.
Convert m_activeCellInfo and m_fractureActiveCellInfo in RigEclipseCaseData from
cvf::ref<RigActiveCellInfo> to std::shared_ptr<RigActiveCellInfo>, following the
same pattern as the previous m_mainGrid modernization.
Changes:
- RigEclipseCaseData: Updated memory management, accessors, and null checks
- RimIdenticalGridCaseGroup: Updated union cell storage and access patterns
- RimEclipseStatisticsCase: Updated to use shared_ptr for active cell info
All 569 unit tests pass successfully.
Replace cvf::ref<RigMainGrid> with std::shared_ptr<RigMainGrid> in
RigEclipseCaseData and related classes to use standard C++ smart pointers.
Changes:
- RigEclipseCaseData: Convert m_mainGrid member to shared_ptr, add
mainGridShared() accessor methods
- RimIdenticalGridCaseGroup: Update grid sharing logic to use shared_ptr
- RigGridManager: Store and return shared_ptr for grid deduplication
- RimEclipseStatisticsCase: Update setMainGrid() signature
- RimEclipseResultCase: Use mainGridShared() for grid copying
- RimEclipseCaseCollection: Update grid deduplication to work with shared_ptr
- RifReaderOpmCommonActive: Wrap RigActiveCellGrid in shared_ptr
- Test updates: Convert tests to use std::shared_ptr and .use_count()
Grid sharing and deduplication functionality preserved. RigMainGrid retains
cvf::Object inheritance for framework compatibility, but std::shared_ptr
handles all reference counting.
All grid-related tests pass (26/26).
Removes conditional compilation for OpenTelemetry, ensuring it is always included.
Reinitializes OpenTelemetry based on user preferences, ensuring that changes to telemetry settings are applied immediately.
Configures cloud services, including OpenTelemetry, after the logger is initialized, ensuring that telemetry data is properly captured and transmitted.
Retrieves system username for telemetry tracking.
Replaces the usage of `QIntValidator` with the `setRange` function available in the PDM framework for limiting integer input in UI fields.
This approach provides a more direct and maintainable way to specify value ranges for UI elements.
This change simplifies the code and reduces dependencies.
Modifies the stack trace reporting to only include the path relative to the ResInsight root folder, enhancing readability and reducing verbosity in crash reports.
Initializes OpenTelemetry after the application configuration
is loaded, allowing for telemetry data collection.
Reports application crashes to OpenTelemetry when enabled,
providing stack trace information for debugging.
Adds a new action to the test menu that allows users to manually
trigger the sending of test telemetry data (logging and stack trace)
to the OpenTelemetry endpoint.
This is useful for verifying that the OpenTelemetry integration is
working correctly and for testing different telemetry scenarios.
Adds support for loading OpenTelemetry configuration from a JSON file.
Generalizes configuration file loading to handle OSDU, SUMO and OpenTelemetry configurations using a common function.
Improves JSON value parsing to support strings, doubles, and booleans.
Adds support for OpenTelemetry to enable telemetry and crash reporting.
This change introduces:
- New RiaPreferencesOpenTelemetry class for managing OpenTelemetry configuration.
- RiaOpenTelemetryManager class for handling the OpenTelemetry lifecycle,
event processing, and error handling.
- Configuration options in preferences to enable, disable, and configure
OpenTelemetry.
- Asynchronous event reporting.
- Crash reporting capabilities.
- Health monitoring features.
Add virtual methods (isFileBased, filePath, setFilePath) to RimSurface base
class. Implement these in RimFileSurface and RimRegularFileSurface to provide
a common interface for all file-based surfaces.
Replace class-specific methods (setSurfaceFilePath/surfaceFilePath) with the
common interface methods (setFilePath/filePath) in both RimFileSurface and
RimRegularFileSurface. Update RimEnsembleSurface to use the common interface.
This enables polymorphic treatment of file-based surfaces without changing
the inheritance hierarchy or breaking backward compatibility.
Fixes#13296
* Add single case well target results into correct time step
* Speed up unique value calculations by providing unique values directly to statistics cache
* Switch to selected time step in view
Add refined grid border detection for BCCON_BCPROP boundary conditions.
The refined functions operate on the exported refined grid dimensions,
ensuring border cells are correctly identified when using grid refinement.
Adds checks for null case data in several functions to prevent potential crashes when the case data is not properly initialized.
These checks ensure that operations are only performed if valid case data is available.
Adds search history for well filter and field selection to the well import wizard.
Improves user experience by persisting and reusing previously entered search terms and filter values.
Also, adds filtering by existence kind in the well summary page.
- Add ExistenceKind field to OsduWellboreTrajectory struct
- Extract ExistenceKind from OSDU trajectory JSON data
- Add ExistenceKind field to WellInfo structure
- Display ExistenceKind in RimOsduWellPath UI under OSDU group
- Add Enter key support for field search in import wizard
- Show trajectory count in well import summary page
Extends the relative permeability plot to support PCGW curves, which are relevant in gas/water systems.
This involves:
- Adding PCGW curve styling to the plot's QSS themes.
- Modifying the plot panel to handle PCGW curves, including
dynamically updating checkbox labels based on the available phases
to reflect the correct PC* name (PCOG or PCGW).
Adds a new utility class, RiaPhaseTools, which provides functionalities to analyze phase systems in reservoir simulations.
This class includes methods for checking the presence of individual phases (oil, gas, water), identifying different phase systems (three-phase, two-phase, single-phase), and retrieving a system description for display in the UI. It also includes utility functions to retrieve the preferred name for PCOG curves based on the detected phase system.
- read VFP data using readers with no unit conversion
- remove existing unit conversion
- make sure correct units are displayed in UI for both Metric and Field