mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8420 Janitor: Remove empty parameters in initialization macros
This commit is contained in:
@@ -153,17 +153,8 @@ RimGeoMechCase::RimGeoMechCase( void )
|
||||
CAF_PDM_InitField( &m_initialPermeabilityType,
|
||||
"InitialPermeabilityType",
|
||||
defaultInitialPermeabilityType,
|
||||
"Initial Permeability",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitField( &m_initialPermeabilityFixed,
|
||||
"InitialPermeabilityFixed",
|
||||
1.0,
|
||||
"Fixed Initial Permeability [mD]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Initial Permeability" );
|
||||
CAF_PDM_InitField( &m_initialPermeabilityFixed, "InitialPermeabilityFixed", 1.0, "Fixed Initial Permeability [mD]" );
|
||||
m_initialPermeabilityFixed.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_initialPermeabilityResultAddress, "InitialPermeabilityAddress", QString( "" ), "Value" );
|
||||
|
||||
@@ -59,16 +59,13 @@ CAF_PDM_SOURCE_INIT( RimGeoMechContourMapProjection, "RimGeoMechContourMapProjec
|
||||
RimGeoMechContourMapProjection::RimGeoMechContourMapProjection()
|
||||
: m_kLayers( 0u )
|
||||
{
|
||||
CAF_PDM_InitObject( "RimContourMapProjection", ":/2DMapProjection16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "RimContourMapProjection", ":/2DMapProjection16x16.png" );
|
||||
CAF_PDM_InitField( &m_limitToPorePressureRegions, "LimitToPorRegion", true, "Limit to Pore Pressure regions" );
|
||||
CAF_PDM_InitField( &m_applyPPRegionLimitVertically, "VerticalLimit", false, "Apply Limit Vertically" );
|
||||
CAF_PDM_InitField( &m_paddingAroundPorePressureRegion,
|
||||
"PaddingAroundPorRegion",
|
||||
0.0,
|
||||
"Horizontal Padding around PP regions",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Horizontal Padding around PP regions" );
|
||||
m_paddingAroundPorePressureRegion.uiCapability()->setUiEditorTypeName(
|
||||
caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
setName( "Map Projection" );
|
||||
|
||||
@@ -10,9 +10,9 @@ CAF_PDM_SOURCE_INIT( RimGeoMechContourMapViewCollection, "GeoMech2dViewCollectio
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGeoMechContourMapViewCollection::RimGeoMechContourMapViewCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "GeoMech Contour Maps", ":/2DMaps16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "GeoMech Contour Maps", ":/2DMaps16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_contourMapViews, "GeoMechViews", "Contour Maps", ":/CrossSection16x16.png", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_contourMapViews, "GeoMechViews", "Contour Maps", ":/CrossSection16x16.png" );
|
||||
m_contourMapViews.uiCapability()->setUiTreeHidden( true );
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ CAF_PDM_SOURCE_INIT( RimGeoMechModels, "ResInsightGeoMechModels" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGeoMechModels::RimGeoMechModels( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "Geomechanical Models", ":/GeoMechCases48x48.png", "", "" );
|
||||
CAF_PDM_InitObject( "Geomechanical Models", ":/GeoMechCases48x48.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_cases, "Cases", "" );
|
||||
m_cases.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -30,7 +30,7 @@ CAF_PDM_SOURCE_INIT( RimGeoMechPart, "GeoMechPart" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGeoMechPart::RimGeoMechPart()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "GeoMechPart", ":/GeoMechCase24x24.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "GeoMechPart", ":/GeoMechCase24x24.png" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_partId, "PartId", "Part Id" );
|
||||
m_partId.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
@@ -41,7 +41,7 @@ RimGeoMechPartCollection::RimGeoMechPartCollection()
|
||||
, m_currentScaleFactor( 1.0 )
|
||||
, m_noDisplacements()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Parts", ":/GeoMechCase24x24.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "Parts", ":/GeoMechCase24x24.png" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_parts, "Parts", "Parts" );
|
||||
m_parts.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -76,7 +76,7 @@ CAF_PDM_SOURCE_INIT( RimGeoMechResultDefinition, "GeoMechResultDefinition" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGeoMechResultDefinition::RimGeoMechResultDefinition( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "Color Result", ":/CellResult.png", "", "" );
|
||||
CAF_PDM_InitObject( "Color Result", ":/CellResult.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_resultPositionType, "ResultPositionType", "Result Position" );
|
||||
m_resultPositionType.uiCapability()->setUiHidden( true );
|
||||
@@ -90,10 +90,7 @@ RimGeoMechResultDefinition::RimGeoMechResultDefinition( void )
|
||||
CAF_PDM_InitField( &m_timeLapseBaseTimestep,
|
||||
"TimeLapseBaseTimeStep",
|
||||
RigFemResultAddress::noTimeLapseValue(),
|
||||
"Base Time Step",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Base Time Step" );
|
||||
CAF_PDM_InitField( &m_referenceTimeStep, "ReferenceTimeStep", 0, "Reference Time Step" );
|
||||
|
||||
CAF_PDM_InitField( &m_compactionRefLayer, "CompactionRefLayer", 0, "Compaction Ref Layer" );
|
||||
@@ -108,13 +105,7 @@ RimGeoMechResultDefinition::RimGeoMechResultDefinition( void )
|
||||
m_resultVariableUiField.uiCapability()->setUiEditorTypeName( caf::PdmUiListEditor::uiEditorTypeName() );
|
||||
m_resultVariableUiField.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::TOP );
|
||||
|
||||
CAF_PDM_InitField( &m_normalizeByHydrostaticPressure,
|
||||
"NormalizeByHSP",
|
||||
false,
|
||||
"Normalize by Hydrostatic Pressure",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitField( &m_normalizeByHydrostaticPressure, "NormalizeByHSP", false, "Normalize by Hydrostatic Pressure" );
|
||||
CAF_PDM_InitField( &m_normalizationAirGap, "NormalizationAirGap", 0.0, "Air Gap" );
|
||||
m_normalizationAirGap.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ RimGeoMechView::RimGeoMechView( void )
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Geomechanical View", ":/3DViewGeoMech16x16.png", "", "The Geomechanical 3d View" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &cellResult, "GridCellResult", "Color Result", ":/CellResult.png", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &cellResult, "GridCellResult", "Color Result", ":/CellResult.png" );
|
||||
cellResult = new RimGeoMechCellColors();
|
||||
cellResult.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user