Simulation Input: Convert RigCaseCellResultsData to std::shared_ptr

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.
This commit is contained in:
Kristian Bendiksen committed 2025-12-22 19:19:33 +01:00
1 parent e08056360f
commit 870b1e640e
29 files changed
+91 -85

No files matched your search

@@ -1098,7 +1098,7 @@ public:
std::vector<QString> propNames;
std::vector<QString> propTypes;
RigCaseCellResultsData* results = rimCase->eclipseCaseData()->results( porosityModelEnum );
std::shared_ptr<RigCaseCellResultsData> results = rimCase->eclipseCaseData()->results( porosityModelEnum );
std::vector<RiaDefines::ResultCatType> resTypes;
std::vector<QString> resTypeNames;