mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1037 - pre-proto - removing wellpath from wellpath fractures
This commit is contained in:
@@ -48,7 +48,6 @@ RimWellPathFracture::RimWellPathFracture(void)
|
||||
CAF_PDM_InitField(&name, "UserDescription", QString("Fracture Name"), "Name", "", "", "");
|
||||
|
||||
CAF_PDM_InitField( &measuredDepth, "MeasuredDepth", 0.0f, "Measured Depth Location (if along well path)", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&wellpath, "WellPath", "Well path for measured deph", "", "", "");
|
||||
CAF_PDM_InitField( &positionAtWellpath, "PositionAtWellpath", cvf::Vec3d::ZERO, "Fracture Position at Well Path", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&i, "I", 1, "Fracture location cell I", "", "", "");
|
||||
@@ -91,22 +90,7 @@ QList<caf::PdmOptionItemInfo> RimWellPathFracture::calculateValueOptions(const c
|
||||
options.push_back(caf::PdmOptionItemInfo(fracDef->name(), fracDef));
|
||||
}
|
||||
}
|
||||
else if (fieldNeedingOptions == &wellpath)
|
||||
{
|
||||
RimWellPathCollection* wellPathColl = oilField->wellPathCollection();
|
||||
if (wellPathColl == nullptr) return options;
|
||||
|
||||
for (RimWellPath* wellPath : wellPathColl->wellPaths())
|
||||
{
|
||||
options.push_back(caf::PdmOptionItemInfo(wellPath->name(), wellPath));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return options;
|
||||
|
||||
|
||||
@@ -123,7 +107,6 @@ void RimWellPathFracture::defineUiOrdering(QString uiConfigName, caf::PdmUiOrder
|
||||
caf::PdmUiGroup* geometryGroup = uiOrdering.addNewGroup("Fractures");
|
||||
geometryGroup->add(&fractureDefinition);
|
||||
|
||||
geometryGroup->add(&wellpath);
|
||||
geometryGroup->add(&measuredDepth);
|
||||
geometryGroup->add(&positionAtWellpath);
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@ public:
|
||||
caf::PdmField<QString> name;
|
||||
caf::PdmPtrField<RimFractureDefinition* > fractureDefinition;
|
||||
|
||||
caf::PdmPtrField<RimWellPath*> wellpath;
|
||||
caf::PdmField<float> measuredDepth;
|
||||
caf::PdmField<cvf::Vec3d> positionAtWellpath;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user