mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3595 Implement auto naming for contour maps
This commit is contained in:
@@ -52,7 +52,7 @@ namespace caf
|
||||
addItem(RimContourMapProjection::RESULTS_GAS_COLUMN, "GAS_COLUMN", "Gas Column");
|
||||
addItem(RimContourMapProjection::RESULTS_HC_COLUMN, "HC_COLUMN", "Hydrocarbon Column");
|
||||
|
||||
setDefault(RimContourMapProjection::RESULTS_TOP_VALUE);
|
||||
setDefault(RimContourMapProjection::RESULTS_OIL_COLUMN);
|
||||
}
|
||||
}
|
||||
CAF_PDM_SOURCE_INIT(RimContourMapProjection, "RimContourMapProjection");
|
||||
@@ -347,6 +347,14 @@ double RimContourMapProjection::sampleSpacing() const
|
||||
return m_relativeSampleSpacing * mainGrid()->characteristicIJCellSize();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimContourMapProjection::sampleSpacingFactor() const
|
||||
{
|
||||
return m_relativeSampleSpacing();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user