mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
ContourMapProjection: Replace references with naked pointers
Replace reference members and constructor parameters with raw pointers in RigContourMapProjection and subclasses. Remove cvf::ref usage in RigEclipseContourMapProjection. Add updateRealizationData() to allow swapping active cell info and result data per realization without rebuilding the grid mapping.
This commit is contained in:
1 parent
ca2a4dcc2c
commit
831751a903
11 files changed
+71
-60
No files matched your search
@@ -237,8 +237,8 @@ void RimGeoMechContourMapProjection::updateGridInformation()
|
||||
expandedBoundingBox = cvf::BoundingBox( minExpandedPoint, maxExpandedPoint );
|
||||
|
||||
m_contourMapGrid = std::make_unique<RigContourMapGrid>( gridBoundingBox, expandedBoundingBox, sampleSpacing() );
|
||||
m_contourMapProjection = std::make_unique<RigGeoMechContourMapProjection>( *geoMechCase->geoMechData(),
|
||||
*m_contourMapGrid,
|
||||
m_contourMapProjection = std::make_unique<RigGeoMechContourMapProjection>( geoMechCase->geoMechData(),
|
||||
m_contourMapGrid.get(),
|
||||
m_limitToPorePressureRegions,
|
||||
m_paddingAroundPorePressureRegion );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user