mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 23:50:19 -05:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user