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:
@@ -34,12 +34,7 @@ RimElasticPropertyScalingCollection::RimElasticPropertyScalingCollection()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Elastic Property Scalings" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_elasticPropertyScalings,
|
||||
"ElasticPropertyScalings",
|
||||
"Elastic Property Scalings",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_elasticPropertyScalings, "ElasticPropertyScalings", "Elastic Property Scalings" );
|
||||
m_elasticPropertyScalings.uiCapability()->setUiTreeHidden( true );
|
||||
}
|
||||
|
||||
|
||||
@@ -149,10 +149,7 @@ RimStimPlanModel::RimStimPlanModel()
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_initialPressureEclipseCase,
|
||||
"InitialPressureEclipseCase",
|
||||
"Initial Pressure Case",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Initial Pressure Case" );
|
||||
m_initialPressureEclipseCase.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_staticEclipseCase, "StaticEclipseCase", "Static Case" );
|
||||
@@ -178,10 +175,7 @@ RimStimPlanModel::RimStimPlanModel()
|
||||
CAF_PDM_InitScriptableField( &m_extractionType,
|
||||
"ExtractionType",
|
||||
caf::AppEnum<ExtractionType>( ExtractionType::TRUE_STRATIGRAPHIC_THICKNESS ),
|
||||
"Extraction Type",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Extraction Type" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_anchorPosition, "AnchorPosition", "Anchor Position" );
|
||||
m_anchorPosition.uiCapability()->setUiReadOnly( true );
|
||||
@@ -198,10 +192,7 @@ RimStimPlanModel::RimStimPlanModel()
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_thicknessDirectionWellPath,
|
||||
"ThicknessDirectionWellPath",
|
||||
"Thickness Direction Well Path",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Thickness Direction Well Path" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_boundingBoxHorizontal, "BoundingBoxHorizontal", 50.0, "Bounding Box Horizontal" );
|
||||
CAF_PDM_InitScriptableField( &m_boundingBoxVertical, "BoundingBoxVertical", 100.0, "Bounding Box Vertical" );
|
||||
@@ -211,27 +202,18 @@ RimStimPlanModel::RimStimPlanModel()
|
||||
CAF_PDM_InitScriptableField( &m_relativePermeabilityFactorDefault,
|
||||
"RelativePermeabilityFactor",
|
||||
0.5,
|
||||
"Relative Permeability Factor",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Relative Permeability Factor" );
|
||||
CAF_PDM_InitScriptableField( &m_poroElasticConstantDefault, "PoroElasticConstant", 0.0, "Poro-Elastic Constant" );
|
||||
CAF_PDM_InitScriptableField( &m_thermalExpansionCoeffientDefault,
|
||||
"ThermalExpansionCoefficient",
|
||||
0.0,
|
||||
"Thermal Expansion Coefficient [1/C]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Thermal Expansion Coefficient [1/C]" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_perforationLength, "PerforationLength", 10.0, "Perforation Length [m]" );
|
||||
CAF_PDM_InitScriptableField( &m_fractureOrientation,
|
||||
"FractureOrientation",
|
||||
caf::AppEnum<FractureOrientation>( FractureOrientation::ALONG_WELL_PATH ),
|
||||
"Fracture Orientation",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Fracture Orientation" );
|
||||
CAF_PDM_InitScriptableField( &m_azimuthAngle, "AzimuthAngle", 0.0, "Azimuth Angle" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_formationDip, "FormationDip", 0.0, "Formation Dip" );
|
||||
@@ -257,12 +239,7 @@ RimStimPlanModel::RimStimPlanModel()
|
||||
CAF_PDM_InitScriptableField( &m_barrierFaultName, "BarrierFaultName", QString( "" ), "Barrier Fault" );
|
||||
m_barrierFaultName.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_barrierTextAnnotation,
|
||||
"BarrierTextAnnotation",
|
||||
"Barrier Text Annotation",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_barrierTextAnnotation, "BarrierTextAnnotation", "Barrier Text Annotation" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_perforationInterval, "PerforationInterval", "Perforation Interval" );
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ CAF_PDM_SOURCE_INIT( RimStimPlanModelPlotCollection, "StimPlanModelPlotCollectio
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimStimPlanModelPlotCollection::RimStimPlanModelPlotCollection()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "StimPlan Model Plots", ":/WellLogPlots16x16.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "StimPlan Model Plots", ":/WellLogPlots16x16.png" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanModelPlots, "StimPlanModelPlots", "" );
|
||||
m_stimPlanModelPlots.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
@@ -77,17 +77,8 @@ RimStimPlanModelTemplate::RimStimPlanModelTemplate()
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_initialPressureEclipseCase,
|
||||
"InitialPressureEclipseCase",
|
||||
"Initial Pressure Case",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitField( &m_useTableForInitialPressure,
|
||||
"UseForInitialPressure",
|
||||
false,
|
||||
"Use Pressure Table For Initial Pressure",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Initial Pressure Case" );
|
||||
CAF_PDM_InitField( &m_useTableForInitialPressure, "UseForInitialPressure", false, "Use Pressure Table For Initial Pressure" );
|
||||
CAF_PDM_InitField( &m_useTableForPressure, "UseForPressure", false, "Use Pressure Table For Pressure" );
|
||||
CAF_PDM_InitField( &m_editPressureTable, "EditPressureTable", false, "Edit" );
|
||||
m_editPressureTable.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );
|
||||
@@ -98,25 +89,13 @@ RimStimPlanModelTemplate::RimStimPlanModelTemplate()
|
||||
CAF_PDM_InitField( &m_useEqlnumForPressureInterpolation,
|
||||
"UseEqlNumForPressureInterpolation",
|
||||
true,
|
||||
"Use EQLNUM For Pressure Interpolation",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Use EQLNUM For Pressure Interpolation" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_defaultPorosity,
|
||||
"DefaultPorosity",
|
||||
RiaDefines::defaultPorosity(),
|
||||
"Default Porosity",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_defaultPorosity, "DefaultPorosity", RiaDefines::defaultPorosity(), "Default Porosity" );
|
||||
CAF_PDM_InitScriptableField( &m_defaultPermeability,
|
||||
"DefaultPermeability",
|
||||
RiaDefines::defaultPermeability(),
|
||||
"Default Permeability",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Default Permeability" );
|
||||
|
||||
// Stress unit: bar
|
||||
// Stress gradient unit: bar/m
|
||||
@@ -130,10 +109,7 @@ RimStimPlanModelTemplate::RimStimPlanModelTemplate()
|
||||
CAF_PDM_InitScriptableField( &m_verticalStressGradient,
|
||||
"VerticalStressGradient",
|
||||
defaultStressGradient,
|
||||
"Vertical Stress Gradient",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Vertical Stress Gradient" );
|
||||
CAF_PDM_InitScriptableField( &m_stressDepth, "StressDepth", defaultStressDepth, "Stress Depth" );
|
||||
m_stressDepth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
@@ -141,62 +117,29 @@ RimStimPlanModelTemplate::RimStimPlanModelTemplate()
|
||||
CAF_PDM_InitScriptableField( &m_referenceTemperatureGradient,
|
||||
"ReferenceTemperatureGradient",
|
||||
0.025,
|
||||
"Temperature Gradient [C/m]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_referenceTemperatureDepth,
|
||||
"ReferenceTemperatureDepth",
|
||||
2500.0,
|
||||
"Temperature Depth [m]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Temperature Gradient [C/m]" );
|
||||
CAF_PDM_InitScriptableField( &m_referenceTemperatureDepth, "ReferenceTemperatureDepth", 2500.0, "Temperature Depth [m]" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_overburdenHeight, "OverburdenHeight", 50.0, "Overburden Height" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_overburdenFormation, "OverburdenFormation", "Overburden Formation" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_overburdenFacies, "OverburdenFacies", "Overburden Facies" );
|
||||
CAF_PDM_InitScriptableField( &m_overburdenPorosity, "OverburdenPorosity", 0.0, "Overburden Porosity" );
|
||||
CAF_PDM_InitScriptableField( &m_overburdenPermeability,
|
||||
"OverburdenPermeability",
|
||||
10.0e-6,
|
||||
"Overburden Permeability",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_overburdenFluidDensity,
|
||||
"OverburdenFluidDensity",
|
||||
1.03,
|
||||
"Overburden Fluid Density [g/cm^3]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_overburdenPermeability, "OverburdenPermeability", 10.0e-6, "Overburden Permeability" );
|
||||
CAF_PDM_InitScriptableField( &m_overburdenFluidDensity, "OverburdenFluidDensity", 1.03, "Overburden Fluid Density [g/cm^3]" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_underburdenHeight, "UnderburdenHeight", 50.0, "Underburden Height" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_underburdenFormation, "UnderburdenFormation", "Underburden Formation" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_underburdenFacies, "UnderburdenFacies", "Underburden Facies" );
|
||||
CAF_PDM_InitScriptableField( &m_underburdenPorosity, "UnderburdenPorosity", 0.0, "Underburden Porosity" );
|
||||
CAF_PDM_InitScriptableField( &m_underburdenPermeability,
|
||||
"UnderburdenPermeability",
|
||||
10.0e-6,
|
||||
"Underburden Permeability",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableField( &m_underburdenPermeability, "UnderburdenPermeability", 10.0e-6, "Underburden Permeability" );
|
||||
CAF_PDM_InitScriptableField( &m_underburdenFluidDensity,
|
||||
"UnderburdenFluidDensity",
|
||||
1.03,
|
||||
"Underburden Fluid Density [g/cm^3]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Underburden Fluid Density [g/cm^3]" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_faciesInitialPressureConfigs,
|
||||
"FaciesInitialPressureConfigs",
|
||||
"Facies Initial Pressure Configs",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Facies Initial Pressure Configs" );
|
||||
m_faciesInitialPressureConfigs.uiCapability()->setUiEditorTypeName( caf::PdmUiTableViewEditor::uiEditorTypeName() );
|
||||
m_faciesInitialPressureConfigs.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
m_faciesInitialPressureConfigs.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
@@ -36,14 +36,9 @@ CAF_PDM_SOURCE_INIT( RimStimPlanModelTemplateCollection, "StimPlanModelTemplateC
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimStimPlanModelTemplateCollection::RimStimPlanModelTemplateCollection()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "StimPlan Model Templates", ":/FractureTemplates16x16.png", "", "" );
|
||||
CAF_PDM_InitScriptableObject( "StimPlan Model Templates", ":/FractureTemplates16x16.png" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanModelTemplates,
|
||||
"StimPlanModelTemplates",
|
||||
"StimPlan Model Templates",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanModelTemplates, "StimPlanModelTemplates", "StimPlan Model Templates" );
|
||||
m_stimPlanModelTemplates.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_nextValidId, "NextValidId", 0, "" );
|
||||
|
||||
Reference in New Issue
Block a user