mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8250 Use variadic macros and remove obsolete parameters
This commit is contained in:
@@ -34,14 +34,14 @@ Rim3dWellLogCurveCollection::Rim3dWellLogCurveCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "3D Track", ":/WellLogCurve16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_showPlot, "Show3dWellLogCurves", true, "Show 3d Well Log Curves", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showPlot, "Show3dWellLogCurves", true, "Show 3d Well Log Curves" );
|
||||
m_showPlot.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_planeWidthScaling, "PlaneWidthScaling", 1.0f, "Width Scaling", "", "", "" );
|
||||
CAF_PDM_InitField( &m_planeWidthScaling, "PlaneWidthScaling", 1.0f, "Width Scaling" );
|
||||
m_planeWidthScaling.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
CAF_PDM_InitField( &m_showGrid, "Show3dWellLogGrid", true, "Show Grid", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showBackground, "Show3dWellLogBackground", false, "Show Background", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_3dWellLogCurves, "ArrayOf3dWellLogCurves", "", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showGrid, "Show3dWellLogGrid", true, "Show Grid" );
|
||||
CAF_PDM_InitField( &m_showBackground, "Show3dWellLogBackground", false, "Show Background" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_3dWellLogCurves, "ArrayOf3dWellLogCurves", "" );
|
||||
m_3dWellLogCurves.uiCapability()->setUiTreeHidden( true );
|
||||
}
|
||||
|
||||
|
@@ -36,17 +36,17 @@ RimCompletionTemplateCollection::RimCompletionTemplateCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Completion Templates", ":/CompletionsSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureTemplates, "FractureTemplates", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureTemplates, "FractureTemplates", "" );
|
||||
m_fractureTemplates = new RimFractureTemplateCollection;
|
||||
m_fractureTemplates->addDefaultEllipseTemplate();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelTemplates, "StimPlanModelTemplates", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelTemplates, "StimPlanModelTemplates", "" );
|
||||
m_stimPlanModelTemplates = new RimStimPlanModelTemplateCollection;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveTemplates, "ValveTemplates", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveTemplates, "ValveTemplates", "" );
|
||||
m_valveTemplates = new RimValveTemplateCollection;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatisticsCollection, "FractureGroupStatisticsCollection", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatisticsCollection, "FractureGroupStatisticsCollection", "" );
|
||||
m_fractureGroupStatisticsCollection = new RimEnsembleFractureStatisticsCollection;
|
||||
}
|
||||
|
||||
|
@@ -52,10 +52,10 @@ RimEllipseFractureTemplate::RimEllipseFractureTemplate()
|
||||
{
|
||||
CAF_PDM_InitObject( "Fracture Template", ":/FractureTemplate16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_halfLength, "HalfLength", 0.0, "Half Length X<sub>f</sub>", "", "", "" );
|
||||
CAF_PDM_InitField( &m_height, "Height", 0.0, "Height", "", "", "" );
|
||||
CAF_PDM_InitField( &m_width, "Width", 0.0, "Width", "", "", "" );
|
||||
CAF_PDM_InitField( &m_permeability, "Permeability", 0.0, "Permeability [mD]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_halfLength, "HalfLength", 0.0, "Half Length X<sub>f</sub>" );
|
||||
CAF_PDM_InitField( &m_height, "Height", 0.0, "Height" );
|
||||
CAF_PDM_InitField( &m_width, "Width", 0.0, "Width" );
|
||||
CAF_PDM_InitField( &m_permeability, "Permeability", 0.0, "Permeability [mD]" );
|
||||
|
||||
setDeletable( true );
|
||||
}
|
||||
|
@@ -123,9 +123,9 @@ RimEnsembleFractureStatistics::RimEnsembleFractureStatistics()
|
||||
{
|
||||
CAF_PDM_InitObject( "Ensemble Fracture Statistics", ":/FractureTemplate16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_filePaths, "FilePaths", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_filePaths, "FilePaths", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_filePathsTable, "FilePathsTable", "File Paths Table", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_filePathsTable, "FilePathsTable", "File Paths Table" );
|
||||
m_filePathsTable.uiCapability()->setUiEditorTypeName( caf::PdmUiTextEditor::uiEditorTypeName() );
|
||||
m_filePathsTable.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
m_filePathsTable.uiCapability()->setUiReadOnly( true );
|
||||
@@ -139,32 +139,32 @@ RimEnsembleFractureStatistics::RimEnsembleFractureStatistics()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_statisticsTable, "StatisticsTable", "Statistics Table", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_statisticsTable, "StatisticsTable", "Statistics Table" );
|
||||
m_statisticsTable.uiCapability()->setUiEditorTypeName( caf::PdmUiTextEditor::uiEditorTypeName() );
|
||||
m_statisticsTable.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
m_statisticsTable.uiCapability()->setUiReadOnly( true );
|
||||
m_statisticsTable.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_meshAlignmentType, "MeshAlignmentType", "Mesh Alignment", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_meshType, "MeshType", "Mesh Type", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_meshAlignmentType, "MeshAlignmentType", "Mesh Alignment" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_meshType, "MeshType", "Mesh Type" );
|
||||
|
||||
// Uniform sampling
|
||||
CAF_PDM_InitField( &m_numSamplesX, "NumberOfSamplesX", 100, "X", "", "", "" );
|
||||
CAF_PDM_InitField( &m_numSamplesY, "NumberOfSamplesY", 200, "Y", "", "", "" );
|
||||
CAF_PDM_InitField( &m_numSamplesX, "NumberOfSamplesX", 100, "X" );
|
||||
CAF_PDM_InitField( &m_numSamplesY, "NumberOfSamplesY", 200, "Y" );
|
||||
|
||||
// Adaptive sampling
|
||||
CAF_PDM_InitFieldNoDefault( &m_adaptiveMeanType, "AdaptiveMeanType", "Mean Type", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_adaptiveNumLayersType, "AdaptiveNumLayersType", "Number of Layers", "", "", "" );
|
||||
CAF_PDM_InitField( &m_adaptiveNumLayers, "AdaptiveNumLayers", 30, "Number of Layers Y", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_adaptiveMeanType, "AdaptiveMeanType", "Mean Type" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_adaptiveNumLayersType, "AdaptiveNumLayersType", "Number of Layers" );
|
||||
CAF_PDM_InitField( &m_adaptiveNumLayers, "AdaptiveNumLayers", 30, "Number of Layers Y" );
|
||||
|
||||
std::vector<caf::AppEnum<RimEnsembleFractureStatistics::StatisticsType>> defaultStatisticsTypes = {
|
||||
caf::AppEnum<RimEnsembleFractureStatistics::StatisticsType>( RimEnsembleFractureStatistics::StatisticsType::MEAN ) };
|
||||
|
||||
CAF_PDM_InitField( &m_selectedStatisticsType, "SelectedStatisticsType", defaultStatisticsTypes, "Statistics Type", "", "", "" );
|
||||
CAF_PDM_InitField( &m_selectedStatisticsType, "SelectedStatisticsType", defaultStatisticsTypes, "Statistics Type" );
|
||||
m_selectedStatisticsType.uiCapability()->setUiEditorTypeName( caf::PdmUiTreeSelectionEditor::uiEditorTypeName() );
|
||||
m_selectedStatisticsType.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::TOP );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_computeStatistics, "ComputeStatistics", "Compute Templates", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_computeStatistics, "ComputeStatistics", "Compute Templates" );
|
||||
m_computeStatistics.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );
|
||||
m_computeStatistics.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
|
||||
|
@@ -29,7 +29,7 @@ RimEnsembleFractureStatisticsCollection::RimEnsembleFractureStatisticsCollection
|
||||
{
|
||||
CAF_PDM_InitObject( "Ensemble Fracture Statistics", ":/FractureTemplates16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatistics, "FractureGroupStatistics", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatistics, "FractureGroupStatistics", "" );
|
||||
m_fractureGroupStatistics.uiCapability()->setUiTreeHidden( true );
|
||||
}
|
||||
|
||||
|
@@ -71,18 +71,18 @@ RimFishbones::RimFishbones()
|
||||
{
|
||||
CAF_PDM_InitObject( "FishbonesMultipleSubs", ":/FishBoneGroup16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_isActive, "Active", true, "Active", "", "", "" );
|
||||
CAF_PDM_InitField( &m_isActive, "Active", true, "Active" );
|
||||
m_isActive.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_name, "Name", "Name", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_name, "Name", "Name" );
|
||||
m_name.registerGetMethod( this, &RimFishbones::generatedName );
|
||||
m_name.uiCapability()->setUiReadOnly( true );
|
||||
m_name.xmlCapability()->setIOWritable( false );
|
||||
|
||||
cvf::Color3f defaultColor = RiaColorTables::wellPathComponentColors()[RiaDefines::WellPathComponentType::FISHBONES];
|
||||
CAF_PDM_InitField( &fishbonesColor, "Color", defaultColor, "Fishbones Color", "", "", "" );
|
||||
CAF_PDM_InitField( &fishbonesColor, "Color", defaultColor, "Fishbones Color" );
|
||||
|
||||
CAF_PDM_InitField( &m_lateralCountPerSub, "LateralCountPerSub", 3, "Laterals Per Sub", "", "", "" );
|
||||
CAF_PDM_InitField( &m_lateralCountPerSub, "LateralCountPerSub", 3, "Laterals Per Sub" );
|
||||
CAF_PDM_InitField( &m_lateralLength,
|
||||
"LateralLength",
|
||||
QString( "11.0" ),
|
||||
@@ -91,10 +91,10 @@ RimFishbones::RimFishbones()
|
||||
"Specify multiple length values if the sub lengths differ",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_lateralExitAngle, "LateralExitAngle", 35.0, "Exit Angle [deg]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_lateralBuildAngle, "LateralBuildAngle", 6.0, "Build Angle [deg/m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_lateralExitAngle, "LateralExitAngle", 35.0, "Exit Angle [deg]" );
|
||||
CAF_PDM_InitField( &m_lateralBuildAngle, "LateralBuildAngle", 6.0, "Build Angle [deg/m]" );
|
||||
|
||||
CAF_PDM_InitField( &m_lateralTubingDiameter, "LateralTubingDiameter", 8.0, "Tubing Diameter [mm]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_lateralTubingDiameter, "LateralTubingDiameter", 8.0, "Tubing Diameter [mm]" );
|
||||
|
||||
CAF_PDM_InitField( &m_lateralOpenHoleRoghnessFactor,
|
||||
"LateralOpenHoleRoghnessFactor",
|
||||
@@ -119,12 +119,12 @@ RimFishbones::RimFishbones()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_icdCount, "IcdCount", 2, "ICDs per Sub", "", "", "" );
|
||||
CAF_PDM_InitField( &m_icdOrificeDiameter, "IcdOrificeDiameter", 7.0, "ICD Orifice Diameter [mm]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_icdFlowCoefficient, "IcdFlowCoefficient", 1.5, "ICD Flow Coefficient", "", "", "" );
|
||||
CAF_PDM_InitField( &m_icdCount, "IcdCount", 2, "ICDs per Sub" );
|
||||
CAF_PDM_InitField( &m_icdOrificeDiameter, "IcdOrificeDiameter", 7.0, "ICD Orifice Diameter [mm]" );
|
||||
CAF_PDM_InitField( &m_icdFlowCoefficient, "IcdFlowCoefficient", 1.5, "ICD Flow Coefficient" );
|
||||
|
||||
initialiseObsoleteFields();
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveLocations, "ValveLocations", "Valve Locations", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveLocations, "ValveLocations", "Valve Locations" );
|
||||
m_valveLocations = new RimMultipleValveLocations();
|
||||
m_valveLocations->findField( "RangeValveCount" )->uiCapability()->setUiName( "Number of Subs" );
|
||||
m_valveLocations.uiCapability()->setUiTreeHidden( true );
|
||||
@@ -140,10 +140,7 @@ RimFishbones::RimFishbones()
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_installationRotationAngles,
|
||||
"InstallationRotationAngles",
|
||||
"Installation Rotation Angles [deg]",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Installation Rotation Angles [deg]" );
|
||||
m_installationRotationAngles.uiCapability()->setUiHidden( true );
|
||||
CAF_PDM_InitField( &m_fixedInstallationRotationAngle,
|
||||
"FixedInstallationRotationAngle",
|
||||
@@ -153,7 +150,7 @@ RimFishbones::RimFishbones()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_pipeProperties, "PipeProperties", "Pipe Properties", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_pipeProperties, "PipeProperties", "Pipe Properties" );
|
||||
m_pipeProperties.uiCapability()->setUiTreeHidden( true );
|
||||
m_pipeProperties.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
@@ -767,10 +764,10 @@ void RimFishbones::initialiseObsoleteFields()
|
||||
"" );
|
||||
m_subsLocationMode_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeStart_OBSOLETE, "RangeStart", std::numeric_limits<double>::infinity(), "Start MD [m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeStart_OBSOLETE, "RangeStart", std::numeric_limits<double>::infinity(), "Start MD [m]" );
|
||||
m_rangeStart_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeEnd_OBSOLETE, "RangeEnd", std::numeric_limits<double>::infinity(), "End MD [m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeEnd_OBSOLETE, "RangeEnd", std::numeric_limits<double>::infinity(), "End MD [m]" );
|
||||
m_rangeEnd_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeSubSpacing_OBSOLETE,
|
||||
@@ -782,10 +779,10 @@ void RimFishbones::initialiseObsoleteFields()
|
||||
"" );
|
||||
m_rangeSubSpacing_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeSubCount_OBSOLETE, "RangeSubCount", -1, "Number of Subs", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeSubCount_OBSOLETE, "RangeSubCount", -1, "Number of Subs" );
|
||||
m_rangeSubCount_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_locationOfSubs_OBSOLETE, "LocationOfSubs", "Measured Depths [m]", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_locationOfSubs_OBSOLETE, "LocationOfSubs", "Measured Depths [m]" );
|
||||
m_locationOfSubs_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
}
|
||||
|
||||
|
@@ -45,12 +45,12 @@ RimFishbonesCollection::RimFishbonesCollection()
|
||||
nameField()->uiCapability()->setUiHidden( true );
|
||||
this->setName( "Fishbones" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fishbones, "FishbonesSubs", "fishbonesSubs", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fishbones, "FishbonesSubs", "fishbonesSubs" );
|
||||
m_fishbones.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_startMD, "StartMD", HUGE_VAL, "Start MD", "", "", "" );
|
||||
CAF_PDM_InitField( &m_mainBoreDiameter, "MainBoreDiameter", 0.216, "Main Bore Diameter", "", "", "" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "MainBoreSkinFactor", 0., "Main Bore Skin Factor [0..1]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_startMD, "StartMD", HUGE_VAL, "Start MD" );
|
||||
CAF_PDM_InitField( &m_mainBoreDiameter, "MainBoreDiameter", 0.216, "Main Bore Diameter" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "MainBoreSkinFactor", 0., "Main Bore Skin Factor [0..1]" );
|
||||
manuallyModifiedStartMD = false;
|
||||
}
|
||||
|
||||
|
@@ -31,10 +31,10 @@ CAF_PDM_SOURCE_INIT( RimFishbonesPipeProperties, "FishbonesPipeProperties" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFishbonesPipeProperties::RimFishbonesPipeProperties()
|
||||
{
|
||||
CAF_PDM_InitObject( "FishbonesPipeProperties", "", "", "" );
|
||||
CAF_PDM_InitObject( "FishbonesPipeProperties" );
|
||||
|
||||
CAF_PDM_InitField( &m_lateralHoleDiameter, "LateralHoleDiameter", 12.5, "Hole Diameter [mm]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0, "Skin Factor [0..1]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_lateralHoleDiameter, "LateralHoleDiameter", 12.5, "Hole Diameter [mm]" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0, "Skin Factor [0..1]" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -95,10 +95,10 @@ void setDefaultFractureColorResult()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFracture::RimFracture()
|
||||
{
|
||||
CAF_PDM_InitObject( "Fracture", "", "", "" );
|
||||
CAF_PDM_InitObject( "Fracture" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureTemplate, "FractureDef", "Fracture Template", "", "", "" );
|
||||
CAF_PDM_InitField( &m_editFractureTemplate, "EditTemplate", false, "Edit", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureTemplate, "FractureDef", "Fracture Template" );
|
||||
CAF_PDM_InitField( &m_editFractureTemplate, "EditTemplate", false, "Edit" );
|
||||
m_editFractureTemplate.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );
|
||||
m_editFractureTemplate.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
|
||||
@@ -112,7 +112,7 @@ RimFracture::RimFracture()
|
||||
m_createEllipseFractureTemplate.uiCapability()->setUiEditorTypeName( caf::PdmUiPushButtonEditor::uiEditorTypeName() );
|
||||
m_createEllipseFractureTemplate.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::TOP );
|
||||
|
||||
CAF_PDM_InitField( &m_createStimPlanFractureTemplate, "CreateStimPlanTemplate", false, "Create New Template?", "", "", "" );
|
||||
CAF_PDM_InitField( &m_createStimPlanFractureTemplate, "CreateStimPlanTemplate", false, "Create New Template?" );
|
||||
m_createStimPlanFractureTemplate.uiCapability()->setUiEditorTypeName( caf::PdmUiPushButtonEditor::uiEditorTypeName() );
|
||||
m_createStimPlanFractureTemplate.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::TOP );
|
||||
|
||||
@@ -124,28 +124,28 @@ RimFracture::RimFracture()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth" );
|
||||
m_wellPathDepthAtFracture.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_anchorPosition, "AnchorPosition", "Anchor Position", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_anchorPosition, "AnchorPosition", "Anchor Position" );
|
||||
m_anchorPosition.uiCapability()->setUiHidden( true );
|
||||
m_anchorPosition.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_uiAnchorPosition, "ui_positionAtWellpath", "Fracture Position", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_uiAnchorPosition, "ui_positionAtWellpath", "Fracture Position" );
|
||||
m_uiAnchorPosition.registerGetMethod( this, &RimFracture::fracturePositionForUi );
|
||||
m_uiAnchorPosition.uiCapability()->setUiReadOnly( true );
|
||||
m_uiAnchorPosition.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitField( &m_azimuth, "Azimuth", 0.0, "Azimuth", "", "", "" );
|
||||
CAF_PDM_InitField( &m_azimuth, "Azimuth", 0.0, "Azimuth" );
|
||||
m_azimuth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_perforationLength, "PerforationLength", 1.0, "Perforation Length", "", "", "" );
|
||||
CAF_PDM_InitField( &m_perforationEfficiency, "PerforationEfficiency", 1.0, "Perforation Efficiency", "", "", "" );
|
||||
CAF_PDM_InitField( &m_perforationLength, "PerforationLength", 1.0, "Perforation Length" );
|
||||
CAF_PDM_InitField( &m_perforationEfficiency, "PerforationEfficiency", 1.0, "Perforation Efficiency" );
|
||||
m_perforationEfficiency.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture", "", "", "" );
|
||||
CAF_PDM_InitField( &m_dip, "Dip", 0.0, "Dip", "", "", "" );
|
||||
CAF_PDM_InitField( &m_tilt, "Tilt", 0.0, "Tilt", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture" );
|
||||
CAF_PDM_InitField( &m_dip, "Dip", 0.0, "Dip" );
|
||||
CAF_PDM_InitField( &m_tilt, "Tilt", 0.0, "Tilt" );
|
||||
|
||||
CAF_PDM_InitField( &m_fractureUnit,
|
||||
"FractureUnit",
|
||||
@@ -156,19 +156,16 @@ RimFracture::RimFracture()
|
||||
"" );
|
||||
m_fractureUnit.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitField( &m_stimPlanTimeIndexToPlot, "TimeIndexToPlot", 0, "StimPlan Time Step", "", "", "" );
|
||||
CAF_PDM_InitField( &m_stimPlanTimeIndexToPlot, "TimeIndexToPlot", 0, "StimPlan Time Step" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_uiWellPathAzimuth, "WellPathAzimuth", "Well Path Azimuth", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_uiWellPathAzimuth, "WellPathAzimuth", "Well Path Azimuth" );
|
||||
m_uiWellPathAzimuth.registerGetMethod( this, &RimFracture::wellAzimuthAtFracturePositionText );
|
||||
m_uiWellPathAzimuth.uiCapability()->setUiReadOnly( true );
|
||||
m_uiWellPathAzimuth.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_uiWellFractureAzimuthDiff,
|
||||
"WellFractureAzimuthDiff",
|
||||
"Azimuth Difference Between\nFracture and Well",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Azimuth Difference Between\nFracture and Well" );
|
||||
m_uiWellFractureAzimuthDiff.registerGetMethod( this, &RimFracture::wellFractureAzimuthDiffText );
|
||||
m_uiWellFractureAzimuthDiff.uiCapability()->setUiReadOnly( true );
|
||||
m_uiWellFractureAzimuthDiff.xmlCapability()->disableIO();
|
||||
|
@@ -30,9 +30,9 @@ CAF_PDM_SOURCE_INIT( RimFractureContainment, "FractureContainment" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFractureContainment::RimFractureContainment()
|
||||
{
|
||||
CAF_PDM_InitObject( "Fracture Containment", "", "", "" );
|
||||
CAF_PDM_InitObject( "Fracture Containment" );
|
||||
|
||||
CAF_PDM_InitField( &m_useContainment, "IsUsingFractureContainment", false, "Use Containment", "", "", "" );
|
||||
CAF_PDM_InitField( &m_useContainment, "IsUsingFractureContainment", false, "Use Containment" );
|
||||
CAF_PDM_InitField( &m_topKLayer, "TopKLayer", 0, " Top Layer", "", "Do not allow fracture to grow into this layer", "" );
|
||||
CAF_PDM_InitField( &m_baseKLayer, "BaseKLayer", 0, " Base Layer", "", "Do not allow fracture to grow into this layer", "" );
|
||||
|
||||
|
@@ -30,12 +30,12 @@ CAF_PDM_SOURCE_INIT( RimFractureExportSettings, "RimFractureExportSettings" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFractureExportSettings::RimFractureExportSettings()
|
||||
{
|
||||
CAF_PDM_InitObject( "RimFractureExportSettings", "", "", "" );
|
||||
CAF_PDM_InitObject( "RimFractureExportSettings" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &fileName, "Filename", "Export Filename", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &fileName, "Filename", "Export Filename" );
|
||||
fileName.uiCapability()->setUiEditorTypeName( caf::PdmUiFilePathEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &caseToApply, "CaseToApply", "Case to Apply", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &caseToApply, "CaseToApply", "Case to Apply" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -102,10 +102,6 @@ void caf::AppEnum<RimFractureTemplate::BetaFactorEnum>::setUp()
|
||||
|
||||
} // namespace caf
|
||||
|
||||
// TODO Move to cafPdmObject.h
|
||||
#define CAF_PDM_InitField_Basic( field, keyword, default, uiName ) \
|
||||
CAF_PDM_InitField( field, keyword, default, uiName, "", "", "" )
|
||||
|
||||
CAF_PDM_XML_ABSTRACT_SOURCE_INIT( RimFractureTemplate, "FractureTemplate", "RimFractureTemplate" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -116,12 +112,12 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Fracture Template", ":/FractureTemplate16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_id, "Id", -1, "ID", "", "", "" );
|
||||
CAF_PDM_InitField( &m_id, "Id", -1, "ID" );
|
||||
m_id.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitField( &m_name, "UserDescription", QString( "Fracture Template" ), "Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_name, "UserDescription", QString( "Fracture Template" ), "Name" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_nameAndUnit, "NameAndUnit", "NameAndUnit", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_nameAndUnit, "NameAndUnit", "NameAndUnit" );
|
||||
m_nameAndUnit.registerGetMethod( this, &RimFractureTemplate::nameAndUnit );
|
||||
m_nameAndUnit.uiCapability()->setUiHidden( true );
|
||||
m_nameAndUnit.xmlCapability()->disableIO();
|
||||
@@ -143,16 +139,16 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitScriptableField( &m_azimuthAngle, "AzimuthAngle", 0.0f, "Azimuth Angle", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_azimuthAngle, "AzimuthAngle", 0.0f, "Azimuth Angle" );
|
||||
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0f, "Skin Factor", "", "", "" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0f, "Skin Factor" );
|
||||
|
||||
CAF_PDM_InitField( &m_perforationLength, "PerforationLength", 1.0, "Perforation Length", "", "", "" );
|
||||
CAF_PDM_InitField( &m_perforationLength, "PerforationLength", 1.0, "Perforation Length" );
|
||||
|
||||
CAF_PDM_InitField( &m_perforationEfficiency, "PerforationEfficiency", 1.0, "Perforation Efficiency", "", "", "" );
|
||||
CAF_PDM_InitField( &m_perforationEfficiency, "PerforationEfficiency", 1.0, "Perforation Efficiency" );
|
||||
m_perforationEfficiency.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture" );
|
||||
CAF_PDM_InitField( &m_conductivityType,
|
||||
"ConductivityType",
|
||||
caf::AppEnum<FracConductivityEnum>( FINITE_CONDUCTIVITY ),
|
||||
@@ -161,30 +157,30 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth" );
|
||||
m_wellPathDepthAtFracture.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureContainment, "FractureContainmentField", "Fracture Containment", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureContainment, "FractureContainmentField", "Fracture Containment" );
|
||||
m_fractureContainment = new RimFractureContainment();
|
||||
m_fractureContainment.uiCapability()->setUiTreeHidden( true );
|
||||
m_fractureContainment.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
// Non-Darcy Flow options
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyFlowType, "NonDarcyFlowType", "Non-Darcy Flow", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyFlowType, "NonDarcyFlowType", "Non-Darcy Flow" );
|
||||
|
||||
CAF_PDM_InitField( &m_userDefinedDFactor, "UserDefinedDFactor", 1.0, "D Factor", "", "", "" );
|
||||
CAF_PDM_InitField( &m_userDefinedDFactor, "UserDefinedDFactor", 1.0, "D Factor" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureWidthType, "FractureWidthType", "Type", "", "", "" );
|
||||
CAF_PDM_InitField_Basic( &m_fractureWidth, "FractureWidth", 0.01, "Fracture Width (h)" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureWidthType, "FractureWidthType", "Type" );
|
||||
CAF_PDM_InitField( &m_fractureWidth, "FractureWidth", 0.01, "Fracture Width (h)" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_betaFactorType, "BetaFactorType", "Type", "", "", "" );
|
||||
CAF_PDM_InitField_Basic( &m_inertialCoefficient,
|
||||
"InertialCoefficient",
|
||||
0.006083236,
|
||||
"<html>Inertial Coefficient (β)</html> [Forch. unit]" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_betaFactorType, "BetaFactorType", "Type" );
|
||||
CAF_PDM_InitField( &m_inertialCoefficient,
|
||||
"InertialCoefficient",
|
||||
0.006083236,
|
||||
"<html>Inertial Coefficient (β)</html> [Forch. unit]" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_permeabilityType, "PermeabilityType", "Type", "", "", "" );
|
||||
CAF_PDM_InitField_Basic( &m_relativePermeability, "RelativePermeability", 1.0, "Relative Permeability" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_permeabilityType, "PermeabilityType", "Type" );
|
||||
CAF_PDM_InitField( &m_relativePermeability, "RelativePermeability", 1.0, "Relative Permeability" );
|
||||
CAF_PDM_InitField( &m_userDefinedEffectivePermeability,
|
||||
"EffectivePermeability",
|
||||
0.0,
|
||||
@@ -208,22 +204,22 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
"Gas viscosity at bottom hole pressure",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_dFactorDisplayField, "dFactorDisplayField", "D Factor", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_dFactorDisplayField, "dFactorDisplayField", "D Factor" );
|
||||
m_dFactorDisplayField.registerGetMethod( this, &RimFractureTemplate::dFactorForTemplate );
|
||||
m_dFactorDisplayField.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
m_dFactorDisplayField.uiCapability()->setUiReadOnly( true );
|
||||
m_dFactorDisplayField.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_dFactorSummaryText, "dFactorSummaryText", "D Factor Summary", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_dFactorSummaryText, "dFactorSummaryText", "D Factor Summary" );
|
||||
m_dFactorSummaryText.registerGetMethod( this, &RimFractureTemplate::dFactorSummary );
|
||||
m_dFactorSummaryText.uiCapability()->setUiReadOnly( true );
|
||||
m_dFactorSummaryText.uiCapability()->setUiEditorTypeName( caf::PdmUiTextEditor::uiEditorTypeName() );
|
||||
m_dFactorSummaryText.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::LabelPosType::TOP );
|
||||
m_dFactorSummaryText.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitField( &m_heightScaleFactor, "HeightScaleFactor", 1.0, "Height", "", "", "" );
|
||||
CAF_PDM_InitField( &m_halfLengthScaleFactor, "WidthScaleFactor", 1.0, "Half Length", "", "", "" );
|
||||
CAF_PDM_InitField( &m_dFactorScaleFactor, "DFactorScaleFactor", 1.0, "D-factor", "", "", "" );
|
||||
CAF_PDM_InitField( &m_heightScaleFactor, "HeightScaleFactor", 1.0, "Height" );
|
||||
CAF_PDM_InitField( &m_halfLengthScaleFactor, "WidthScaleFactor", 1.0, "Half Length" );
|
||||
CAF_PDM_InitField( &m_dFactorScaleFactor, "DFactorScaleFactor", 1.0, "D-factor" );
|
||||
CAF_PDM_InitField( &m_conductivityScaleFactor,
|
||||
"ConductivityFactor",
|
||||
1.0,
|
||||
@@ -231,7 +227,7 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
"",
|
||||
"The conductivity values read from file will be scaled with this parameters",
|
||||
"" );
|
||||
CAF_PDM_InitField( &m_scaleApplyButton, "ScaleApplyButton", false, "Apply", "", "", "" );
|
||||
CAF_PDM_InitField( &m_scaleApplyButton, "ScaleApplyButton", false, "Apply" );
|
||||
|
||||
m_scaleApplyButton.xmlCapability()->disableIO();
|
||||
m_scaleApplyButton.uiCapability()->setUiEditorTypeName( caf::PdmUiPushButtonEditor::uiEditorTypeName() );
|
||||
|
@@ -62,10 +62,10 @@ RimFractureTemplateCollection::RimFractureTemplateCollection()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureDefinitions, "FractureDefinitions", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureDefinitions, "FractureDefinitions", "" );
|
||||
m_fractureDefinitions.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_nextValidFractureTemplateId, "NextValidFractureTemplateId", 0, "", "", "", "" );
|
||||
CAF_PDM_InitField( &m_nextValidFractureTemplateId, "NextValidFractureTemplateId", 0, "" );
|
||||
m_nextValidFractureTemplateId.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
|
@@ -65,10 +65,10 @@ RimMswCompletionParameters::RimMswCompletionParameters()
|
||||
{
|
||||
CAF_PDM_InitObject( "MSW Completion Parameters", ":/CompletionsSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_refMDType, "RefMDType", "Reference MD", "", "", "" );
|
||||
CAF_PDM_InitField( &m_refMD, "RefMD", 0.0, "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_refMDType, "RefMDType", "Reference MD" );
|
||||
CAF_PDM_InitField( &m_refMD, "RefMD", 0.0, "" );
|
||||
|
||||
CAF_PDM_InitField( &m_customValuesForLateral, "CustomValuesForLateral", false, "Custom Values for Lateral", "", "", "" );
|
||||
CAF_PDM_InitField( &m_customValuesForLateral, "CustomValuesForLateral", false, "Custom Values for Lateral" );
|
||||
CAF_PDM_InitField( &m_linerDiameter,
|
||||
"LinerDiameter",
|
||||
std::numeric_limits<double>::infinity(),
|
||||
@@ -84,11 +84,11 @@ RimMswCompletionParameters::RimMswCompletionParameters()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_pressureDrop, "PressureDrop", "Pressure Drop", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_lengthAndDepth, "LengthAndDepth", "Length and Depth", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_pressureDrop, "PressureDrop", "Pressure Drop" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_lengthAndDepth, "LengthAndDepth", "Length and Depth" );
|
||||
|
||||
CAF_PDM_InitField( &m_enforceMaxSegmentLength, "EnforceMaxSegmentLength", false, "Enforce Max Segment Length", "", "", "" );
|
||||
CAF_PDM_InitField( &m_maxSegmentLength, "MaxSegmentLength", 200.0, "Max Segment Length", "", "", "" );
|
||||
CAF_PDM_InitField( &m_enforceMaxSegmentLength, "EnforceMaxSegmentLength", false, "Enforce Max Segment Length" );
|
||||
CAF_PDM_InitField( &m_maxSegmentLength, "MaxSegmentLength", 200.0, "Max Segment Length" );
|
||||
m_maxSegmentLength.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
|
@@ -60,18 +60,18 @@ RimMultipleValveLocations::RimMultipleValveLocations()
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitField( &m_rangeStart, "RangeStart", 100.0, "Start MD [m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeStart, "RangeStart", 100.0, "Start MD [m]" );
|
||||
m_rangeStart.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeEnd, "RangeEnd", 250.0, "End MD [m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeEnd, "RangeEnd", 250.0, "End MD [m]" );
|
||||
m_rangeEnd.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_rangeValveSpacing, "ValveSpacing", "Spacing [m]", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_rangeValveSpacing, "ValveSpacing", "Spacing [m]" );
|
||||
m_rangeValveSpacing.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleValueEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_rangeValveCount, "RangeValveCount", 13, "Number of Valves", "", "", "" );
|
||||
CAF_PDM_InitField( &m_rangeValveCount, "RangeValveCount", 13, "Number of Valves" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_locationOfValves, "LocationOfValves", "Measured Depths [m]", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_locationOfValves, "LocationOfValves", "Measured Depths [m]" );
|
||||
m_locationOfValves.uiCapability()->setUiEditorTypeName( caf::PdmUiListEditor::uiEditorTypeName() );
|
||||
}
|
||||
|
||||
|
@@ -45,9 +45,9 @@ RimNonDarcyPerforationParameters::RimNonDarcyPerforationParameters()
|
||||
{
|
||||
CAF_PDM_InitObject( "NonDarcyPerforationParameters", ":/CompletionsSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyFlowType, "NonDarcyFlowType", "Non-Darcy Flow", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyFlowType, "NonDarcyFlowType", "Non-Darcy Flow" );
|
||||
|
||||
CAF_PDM_InitField( &m_userDefinedDFactor, "UserDefinedDFactor", 1.0, "D Factor", "", "", "" );
|
||||
CAF_PDM_InitField( &m_userDefinedDFactor, "UserDefinedDFactor", 1.0, "D Factor" );
|
||||
|
||||
CAF_PDM_InitField( &m_gridPermeabilityScalingFactor,
|
||||
"GridPermeabilityScalingFactor",
|
||||
@@ -57,7 +57,7 @@ RimNonDarcyPerforationParameters::RimNonDarcyPerforationParameters()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_wellRadius, "WellRadius", 0.108, "<html>Well Radius (r<sub>w</sub>)</html> [m]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellRadius, "WellRadius", 0.108, "<html>Well Radius (r<sub>w</sub>)</html> [m]" );
|
||||
|
||||
CAF_PDM_InitField( &m_relativeGasDensity,
|
||||
"RelativeGasDensity",
|
||||
@@ -90,7 +90,7 @@ RimNonDarcyPerforationParameters::RimNonDarcyPerforationParameters()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_porosityScalingFactor, "PorosityScalingFactor", 0.0, "Porosity Scaling Factor (C)", "", "", "" );
|
||||
CAF_PDM_InitField( &m_porosityScalingFactor, "PorosityScalingFactor", 0.0, "Porosity Scaling Factor (C)" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -45,10 +45,10 @@ RimPerforationCollection::RimPerforationCollection()
|
||||
nameField()->uiCapability()->setUiHidden( true );
|
||||
this->setName( "Perforations" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_perforations, "Perforations", "Perforations", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_perforations, "Perforations", "Perforations" );
|
||||
m_perforations.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyParameters, "NonDarcyParameters", "Non-Darcy Parameters", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_nonDarcyParameters, "NonDarcyParameters", "Non-Darcy Parameters" );
|
||||
m_nonDarcyParameters = new RimNonDarcyPerforationParameters();
|
||||
m_nonDarcyParameters.uiCapability()->setUiTreeHidden( true );
|
||||
m_nonDarcyParameters.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
@@ -43,21 +43,21 @@ RimPerforationInterval::RimPerforationInterval()
|
||||
{
|
||||
CAF_PDM_InitObject( "Perforation", ":/PerforationInterval16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_startMD, "StartMeasuredDepth", 0.0, "Start MD", "", "", "" );
|
||||
CAF_PDM_InitField( &m_endMD, "EndMeasuredDepth", 0.0, "End MD", "", "", "" );
|
||||
CAF_PDM_InitField( &m_diameter, "Diameter", 0.216, "Diameter", "", "", "" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0, "Skin Factor", "", "", "" );
|
||||
CAF_PDM_InitField( &m_startMD, "StartMeasuredDepth", 0.0, "Start MD" );
|
||||
CAF_PDM_InitField( &m_endMD, "EndMeasuredDepth", 0.0, "End MD" );
|
||||
CAF_PDM_InitField( &m_diameter, "Diameter", 0.216, "Diameter" );
|
||||
CAF_PDM_InitField( &m_skinFactor, "SkinFactor", 0.0, "Skin Factor" );
|
||||
|
||||
CAF_PDM_InitField( &m_startOfHistory_OBSOLETE, "StartOfHistory", true, "All Timesteps", "", "", "" );
|
||||
CAF_PDM_InitField( &m_startOfHistory_OBSOLETE, "StartOfHistory", true, "All Timesteps" );
|
||||
m_startOfHistory_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitField( &m_useCustomStartDate, "UseCustomStartDate", false, "Custom Start Date", "", "", "" );
|
||||
CAF_PDM_InitField( &m_startDate, "StartDate", QDateTime::currentDateTime(), "Start Date", "", "", "" );
|
||||
CAF_PDM_InitField( &m_useCustomStartDate, "UseCustomStartDate", false, "Custom Start Date" );
|
||||
CAF_PDM_InitField( &m_startDate, "StartDate", QDateTime::currentDateTime(), "Start Date" );
|
||||
|
||||
CAF_PDM_InitField( &m_useCustomEndDate, "UseCustomEndDate", false, "Custom End Date", "", "", "" );
|
||||
CAF_PDM_InitField( &m_endDate, "EndDate", QDateTime::currentDateTime(), "End Date", "", "", "" );
|
||||
CAF_PDM_InitField( &m_useCustomEndDate, "UseCustomEndDate", false, "Custom End Date" );
|
||||
CAF_PDM_InitField( &m_endDate, "EndDate", QDateTime::currentDateTime(), "End Date" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_valves, "Valves", "Valves", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valves, "Valves", "Valves" );
|
||||
m_valves.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
nameField()->uiCapability()->setUiReadOnly( true );
|
||||
|
@@ -42,15 +42,15 @@ RimSimWellFracture::RimSimWellFracture( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "SimWellFracture", ":/FractureSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_location, "MeasuredDepth", 0.0f, "Pseudo Length Location", "", "", "" );
|
||||
CAF_PDM_InitField( &m_location, "MeasuredDepth", 0.0f, "Pseudo Length Location" );
|
||||
m_location.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_displayIJK, "Cell_IJK", "Cell IJK", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_displayIJK, "Cell_IJK", "Cell IJK" );
|
||||
m_displayIJK.registerGetMethod( this, &RimSimWellFracture::createOneBasedIJKText );
|
||||
m_displayIJK.uiCapability()->setUiReadOnly( true );
|
||||
m_displayIJK.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitField( &m_branchIndex, "Branch", 0, "Branch", "", "", "" );
|
||||
CAF_PDM_InitField( &m_branchIndex, "Branch", 0, "Branch" );
|
||||
|
||||
setDeletable( true );
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ RimSimWellFractureCollection::RimSimWellFractureCollection( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &simwellFractures, "Fractures", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &simwellFractures, "Fractures", "" );
|
||||
simwellFractures.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
setDeletable( true );
|
||||
|
@@ -74,7 +74,7 @@ RimStimPlanFractureTemplate::RimStimPlanFractureTemplate()
|
||||
{
|
||||
CAF_PDM_InitScriptableObject( "Fracture Template", ":/FractureTemplate16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanFileName, "StimPlanFileName", "File Name", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanFileName, "StimPlanFileName", "File Name" );
|
||||
m_stimPlanFileName.uiCapability()->setUiEditorTypeName( caf::PdmUiFilePathEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_userDefinedWellPathDepthAtFracture,
|
||||
@@ -85,10 +85,10 @@ RimStimPlanFractureTemplate::RimStimPlanFractureTemplate()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitField( &m_borderPolygonResultName, "BorderPolygonResultName", QString( "" ), "Parameter", "", "", "" );
|
||||
CAF_PDM_InitField( &m_borderPolygonResultName, "BorderPolygonResultName", QString( "" ), "Parameter" );
|
||||
m_borderPolygonResultName.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_activeTimeStepIndex, "ActiveTimeStepIndex", 0, "Active TimeStep Index", "", "", "" );
|
||||
CAF_PDM_InitField( &m_activeTimeStepIndex, "ActiveTimeStepIndex", 0, "Active TimeStep Index" );
|
||||
CAF_PDM_InitField( &m_conductivityResultNameOnFile,
|
||||
"ConductivityResultName",
|
||||
QString( "" ),
|
||||
@@ -97,13 +97,13 @@ RimStimPlanFractureTemplate::RimStimPlanFractureTemplate()
|
||||
"",
|
||||
"" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_propertiesTable, "PropertiesTable", "Properties Table", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_propertiesTable, "PropertiesTable", "Properties Table" );
|
||||
m_propertiesTable.uiCapability()->setUiEditorTypeName( caf::PdmUiTextEditor::uiEditorTypeName() );
|
||||
m_propertiesTable.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
|
||||
m_propertiesTable.uiCapability()->setUiReadOnly( true );
|
||||
m_propertiesTable.xmlCapability()->disableIO();
|
||||
|
||||
CAF_PDM_InitField( &m_showStimPlanMesh_OBSOLETE, "ShowStimPlanMesh", true, "", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showStimPlanMesh_OBSOLETE, "ShowStimPlanMesh", true, "" );
|
||||
m_showStimPlanMesh_OBSOLETE.uiCapability()->setUiHidden( true );
|
||||
|
||||
m_readError = false;
|
||||
|
@@ -41,16 +41,16 @@ RimValveTemplate::RimValveTemplate()
|
||||
"" );
|
||||
m_valveTemplateUnit.uiCapability()->setUiReadOnly( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_type, "CompletionType", "Type", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_type, "CompletionType", "Type" );
|
||||
m_type = RiaDefines::WellPathComponentType::ICD;
|
||||
CAF_PDM_InitField( &m_userLabel, "UserLabel", QString( "Template" ), "Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_userLabel, "UserLabel", QString( "Template" ), "Name" );
|
||||
|
||||
this->setName( fullLabel() );
|
||||
|
||||
CAF_PDM_InitField( &m_orificeDiameter, "OrificeDiameter", 8.0, "Orifice Diameter [mm]", "", "", "" );
|
||||
CAF_PDM_InitField( &m_flowCoefficient, "FlowCoefficient", 0.7, "Flow Coefficient", "", "", "" );
|
||||
CAF_PDM_InitField( &m_orificeDiameter, "OrificeDiameter", 8.0, "Orifice Diameter [mm]" );
|
||||
CAF_PDM_InitField( &m_flowCoefficient, "FlowCoefficient", 0.7, "Flow Coefficient" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameters, "AICDParameters", "AICD Parameters", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameters, "AICDParameters", "AICD Parameters" );
|
||||
m_aicdParameters = new RimWellPathAicdParameters;
|
||||
m_aicdParameters.uiCapability()->setUiTreeHidden( true );
|
||||
m_aicdParameters.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
@@ -29,13 +29,8 @@ CAF_PDM_SOURCE_INIT( RimValveTemplateCollection, "ValveTemplateCollection" );
|
||||
RimValveTemplateCollection::RimValveTemplateCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Valve Templates", ":/ICDValve16x16.png", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveDefinitions, "ValveDefinitions", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_defaultUnitsForValveTemplates,
|
||||
"ValveUnits",
|
||||
"Default unit system for valve templates",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveDefinitions, "ValveDefinitions", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_defaultUnitsForValveTemplates, "ValveUnits", "Default unit system for valve templates" );
|
||||
m_defaultUnitsForValveTemplates = RiaDefines::EclipseUnitSystem::UNITS_METRIC;
|
||||
m_valveDefinitions.uiCapability()->setUiTreeHidden( true );
|
||||
addDefaultValveTemplates();
|
||||
|
@@ -35,35 +35,23 @@ CAF_PDM_SOURCE_INIT( RimWellPathAicdParameters, "WellPathAicdParameters" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPathAicdParameters::RimWellPathAicdParameters()
|
||||
{
|
||||
CAF_PDM_InitObject( "RimWellPathAicdParameters", "", "", "" );
|
||||
CAF_PDM_InitObject( "RimWellPathAicdParameters" );
|
||||
|
||||
CAF_PDM_InitField( &m_deviceOpen, "DeviceOpen", true, "Device Open?", "", "", "" );
|
||||
CAF_PDM_InitField( &m_deviceOpen, "DeviceOpen", true, "Device Open?" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_STRENGTH], "StrengthAICD", "Strength of AICD", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_STRENGTH], "StrengthAICD", "Strength of AICD" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_DENSITY_CALIB_FLUID],
|
||||
"DensityCalibrationFluid",
|
||||
"Calibration Fluid Density (kg/m^3)",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Calibration Fluid Density (kg/m^3)" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_VISCOSITY_CALIB_FLUID],
|
||||
"ViscosityCalibrationFluid",
|
||||
"Calibration Fluid Viscosity (cP)",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Calibration Fluid Viscosity (cP)" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_VOL_FLOW_EXP],
|
||||
"VolumeFlowRateExponent",
|
||||
"Volume Flow Rate Exponent",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Volume Flow Rate Exponent" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_aicdParameterFields[AICD_VISOSITY_FUNC_EXP],
|
||||
"ViscosityFunctionExponent",
|
||||
"Viscosity Function Exponent",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
"Viscosity Function Exponent" );
|
||||
|
||||
CAF_PDM_InitField( &m_aicdParameterFields[AICD_CRITICAL_WATER_IN_LIQUID_FRAC],
|
||||
"CriticalWaterLiquidFractionEmul",
|
||||
|
@@ -78,21 +78,21 @@ CAF_PDM_SOURCE_INIT( RimWellPathCompletionSettings, "WellPathCompletionSettings"
|
||||
RimWellPathCompletionSettings::RimWellPathCompletionSettings()
|
||||
{
|
||||
CAF_PDM_InitObject( "Completion Settings", ":/CompletionsSymbol16x16.png", "", "" );
|
||||
CAF_PDM_InitField( &m_wellNameForExport, "WellNameForExport", QString(), "Well Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellNameForExport, "WellNameForExport", QString(), "Well Name" );
|
||||
m_wellNameForExport.uiCapability()->setUiEditorTypeName( caf::PdmUiLineEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_wellGroupName, "WellGroupNameForExport", QString(), "Well Group Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_referenceDepth, "ReferenceDepthForExport", QString(), "Reference Depth for BHP", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_preferredFluidPhase, "WellTypeForExport", "Preferred Fluid Phase", "", "", "" );
|
||||
CAF_PDM_InitField( &m_drainageRadiusForPI, "DrainageRadiusForPI", QString( "0.0" ), "Drainage Radius for PI", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_gasInflowEquation, "GasInflowEq", "Gas Inflow Equation", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_automaticWellShutIn, "AutoWellShutIn", "Automatic well shut-in", "", "", "" );
|
||||
CAF_PDM_InitField( &m_allowWellCrossFlow, "AllowWellCrossFlow", true, "Allow Well Cross-Flow", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellBoreFluidPVTTable, "WellBoreFluidPVTTable", 0, "Wellbore Fluid PVT table", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_hydrostaticDensity, "HydrostaticDensity", "Hydrostatic Density", "", "", "" );
|
||||
CAF_PDM_InitField( &m_fluidInPlaceRegion, "FluidInPlaceRegion", 0, "Fluid In-Place Region", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellGroupName, "WellGroupNameForExport", QString(), "Well Group Name" );
|
||||
CAF_PDM_InitField( &m_referenceDepth, "ReferenceDepthForExport", QString(), "Reference Depth for BHP" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_preferredFluidPhase, "WellTypeForExport", "Preferred Fluid Phase" );
|
||||
CAF_PDM_InitField( &m_drainageRadiusForPI, "DrainageRadiusForPI", QString( "0.0" ), "Drainage Radius for PI" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_gasInflowEquation, "GasInflowEq", "Gas Inflow Equation" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_automaticWellShutIn, "AutoWellShutIn", "Automatic well shut-in" );
|
||||
CAF_PDM_InitField( &m_allowWellCrossFlow, "AllowWellCrossFlow", true, "Allow Well Cross-Flow" );
|
||||
CAF_PDM_InitField( &m_wellBoreFluidPVTTable, "WellBoreFluidPVTTable", 0, "Wellbore Fluid PVT table" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_hydrostaticDensity, "HydrostaticDensity", "Hydrostatic Density" );
|
||||
CAF_PDM_InitField( &m_fluidInPlaceRegion, "FluidInPlaceRegion", 0, "Fluid In-Place Region" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_mswParameters, "MswParameters", "Multi Segment Well Parameters", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_mswParameters, "MswParameters", "Multi Segment Well Parameters" );
|
||||
m_mswParameters = new RimMswCompletionParameters;
|
||||
m_mswParameters.uiCapability()->setUiTreeHidden( true );
|
||||
m_mswParameters.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
@@ -51,29 +51,29 @@ RimWellPathCompletions::RimWellPathCompletions()
|
||||
{
|
||||
CAF_PDM_InitObject( "Completions", ":/CompletionsSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_perforationCollection, "Perforations", "Perforations", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_perforationCollection, "Perforations", "Perforations" );
|
||||
m_perforationCollection = new RimPerforationCollection;
|
||||
m_perforationCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fishbonesCollection, "Fishbones", "Fishbones", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fishbonesCollection, "Fishbones", "Fishbones" );
|
||||
m_fishbonesCollection = new RimFishbonesCollection;
|
||||
m_fishbonesCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureCollection, "Fractures", "Fractures", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureCollection, "Fractures", "Fractures" );
|
||||
m_fractureCollection = new RimWellPathFractureCollection;
|
||||
m_fractureCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelCollection, "StimPlanModels", "StimPlan Models", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelCollection, "StimPlanModels", "StimPlan Models" );
|
||||
m_stimPlanModelCollection = new RimStimPlanModelCollection;
|
||||
m_stimPlanModelCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_wellNameForExport_OBSOLETE, "WellNameForExport", QString(), "Well Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellNameForExport_OBSOLETE, "WellNameForExport", QString(), "Well Name" );
|
||||
m_wellNameForExport_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_wellGroupName_OBSOLETE, "WellGroupNameForExport", QString(), "Well Group Name", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellGroupName_OBSOLETE, "WellGroupNameForExport", QString(), "Well Group Name" );
|
||||
m_wellGroupName_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_referenceDepth_OBSOLETE, "ReferenceDepthForExport", QString(), "Reference Depth for BHP", "", "", "" );
|
||||
CAF_PDM_InitField( &m_referenceDepth_OBSOLETE, "ReferenceDepthForExport", QString(), "Reference Depth for BHP" );
|
||||
m_referenceDepth_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitFieldNoDefault( &m_preferredFluidPhase_OBSOLETE, "WellTypeForExport", "Preferred Fluid Phase", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_preferredFluidPhase_OBSOLETE, "WellTypeForExport", "Preferred Fluid Phase" );
|
||||
m_preferredFluidPhase_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_drainageRadiusForPI_OBSOLETE,
|
||||
"DrainageRadiusForPI",
|
||||
@@ -83,17 +83,17 @@ RimWellPathCompletions::RimWellPathCompletions()
|
||||
"",
|
||||
"" );
|
||||
m_drainageRadiusForPI_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitFieldNoDefault( &m_gasInflowEquation_OBSOLETE, "GasInflowEq", "Gas Inflow Equation", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_gasInflowEquation_OBSOLETE, "GasInflowEq", "Gas Inflow Equation" );
|
||||
m_gasInflowEquation_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitFieldNoDefault( &m_automaticWellShutIn_OBSOLETE, "AutoWellShutIn", "Automatic well shut-in", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_automaticWellShutIn_OBSOLETE, "AutoWellShutIn", "Automatic well shut-in" );
|
||||
m_automaticWellShutIn_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_allowWellCrossFlow_OBSOLETE, "AllowWellCrossFlow", true, "Allow Well Cross-Flow", "", "", "" );
|
||||
CAF_PDM_InitField( &m_allowWellCrossFlow_OBSOLETE, "AllowWellCrossFlow", true, "Allow Well Cross-Flow" );
|
||||
m_allowWellCrossFlow_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_wellBoreFluidPVTTable_OBSOLETE, "WellBoreFluidPVTTable", 0, "Wellbore Fluid PVT table", "", "", "" );
|
||||
CAF_PDM_InitField( &m_wellBoreFluidPVTTable_OBSOLETE, "WellBoreFluidPVTTable", 0, "Wellbore Fluid PVT table" );
|
||||
m_wellBoreFluidPVTTable_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitFieldNoDefault( &m_hydrostaticDensity_OBSOLETE, "HydrostaticDensity", "Hydrostatic Density", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_hydrostaticDensity_OBSOLETE, "HydrostaticDensity", "Hydrostatic Density" );
|
||||
m_hydrostaticDensity_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
CAF_PDM_InitField( &m_fluidInPlaceRegion_OBSOLETE, "FluidInPlaceRegion", 0, "Fluid In-Place Region", "", "", "" );
|
||||
CAF_PDM_InitField( &m_fluidInPlaceRegion_OBSOLETE, "FluidInPlaceRegion", 0, "Fluid In-Place Region" );
|
||||
m_fluidInPlaceRegion_OBSOLETE.xmlCapability()->setIOWritable( false );
|
||||
}
|
||||
|
||||
|
@@ -37,7 +37,7 @@ RimWellPathFracture::RimWellPathFracture( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "Fracture", ":/FractureSymbol16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_measuredDepth, "MeasuredDepth", 0.0f, "Measured Depth Location", "", "", "" );
|
||||
CAF_PDM_InitField( &m_measuredDepth, "MeasuredDepth", 0.0f, "Measured Depth Location" );
|
||||
m_measuredDepth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
setDeletable( true );
|
||||
|
@@ -32,7 +32,7 @@ RimWellPathFractureCollection::RimWellPathFractureCollection( void )
|
||||
{
|
||||
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractures, "Fractures", "", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractures, "Fractures", "" );
|
||||
m_fractures.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
setName( "Fractures" );
|
||||
|
@@ -46,11 +46,11 @@ RimWellPathValve::RimWellPathValve()
|
||||
{
|
||||
CAF_PDM_InitObject( "WellPathValve", ":/ICDValve16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveTemplate, "ValveTemplate", "Valve Template", "", "", "" );
|
||||
CAF_PDM_InitField( &m_measuredDepth, "StartMeasuredDepth", 0.0, "Start MD", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_multipleValveLocations, "ValveLocations", "Valve Locations", "", "", "" );
|
||||
CAF_PDM_InitField( &m_editValveTemplate, "EditTemplate", false, "Edit", "", "", "" );
|
||||
CAF_PDM_InitField( &m_createValveTemplate, "CreateTemplate", false, "Create", "", "", "" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveTemplate, "ValveTemplate", "Valve Template" );
|
||||
CAF_PDM_InitField( &m_measuredDepth, "StartMeasuredDepth", 0.0, "Start MD" );
|
||||
CAF_PDM_InitFieldNoDefault( &m_multipleValveLocations, "ValveLocations", "Valve Locations" );
|
||||
CAF_PDM_InitField( &m_editValveTemplate, "EditTemplate", false, "Edit" );
|
||||
CAF_PDM_InitField( &m_createValveTemplate, "CreateTemplate", false, "Create" );
|
||||
|
||||
m_measuredDepth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
m_multipleValveLocations = new RimMultipleValveLocations;
|
||||
|
Reference in New Issue
Block a user