mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1667 MSW Export : Move parameters from export dialog to project
This commit is contained in:
parent
6dac618af0
commit
03aa6c8eb7
@ -10,7 +10,6 @@ ${CEE_CURRENT_LIST_DIR}RicEditPerforationCollectionFeature.h
|
|||||||
${CEE_CURRENT_LIST_DIR}RicExportCompletionDataSettingsUi.h
|
${CEE_CURRENT_LIST_DIR}RicExportCompletionDataSettingsUi.h
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportFishbonesLateralsFeature.h
|
${CEE_CURRENT_LIST_DIR}RicExportFishbonesLateralsFeature.h
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportFishbonesWellSegmentsFeature.h
|
${CEE_CURRENT_LIST_DIR}RicExportFishbonesWellSegmentsFeature.h
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportWellSegmentsSettingsUi.h
|
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsAtMeasuredDepthFeature.h
|
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsAtMeasuredDepthFeature.h
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsFeature.h
|
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsFeature.h
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewPerforationIntervalFeature.h
|
${CEE_CURRENT_LIST_DIR}RicNewPerforationIntervalFeature.h
|
||||||
@ -27,7 +26,6 @@ ${CEE_CURRENT_LIST_DIR}RicEditPerforationCollectionFeature.cpp
|
|||||||
${CEE_CURRENT_LIST_DIR}RicExportCompletionDataSettingsUi.cpp
|
${CEE_CURRENT_LIST_DIR}RicExportCompletionDataSettingsUi.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportFishbonesLateralsFeature.cpp
|
${CEE_CURRENT_LIST_DIR}RicExportFishbonesLateralsFeature.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportFishbonesWellSegmentsFeature.cpp
|
${CEE_CURRENT_LIST_DIR}RicExportFishbonesWellSegmentsFeature.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RicExportWellSegmentsSettingsUi.cpp
|
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsAtMeasuredDepthFeature.cpp
|
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsAtMeasuredDepthFeature.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsFeature.cpp
|
${CEE_CURRENT_LIST_DIR}RicNewFishbonesSubsFeature.cpp
|
||||||
${CEE_CURRENT_LIST_DIR}RicNewPerforationIntervalFeature.cpp
|
${CEE_CURRENT_LIST_DIR}RicNewPerforationIntervalFeature.cpp
|
||||||
|
@ -63,7 +63,7 @@ void RicExportFishbonesWellSegmentsFeature::onActionTriggered(bool isChecked)
|
|||||||
QString projectFolder = app->currentProjectPath();
|
QString projectFolder = app->currentProjectPath();
|
||||||
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallback("COMPLETIONS", projectFolder);
|
QString defaultDir = RiaApplication::instance()->lastUsedDialogDirectoryWithFallback("COMPLETIONS", projectFolder);
|
||||||
|
|
||||||
RicExportWellSegmentsSettingsUi exportSettings;
|
RicCaseAndFileExportSettingsUi exportSettings;
|
||||||
std::vector<RimCase*> cases;
|
std::vector<RimCase*> cases;
|
||||||
app->project()->allCases(cases);
|
app->project()->allCases(cases);
|
||||||
for (auto c : cases)
|
for (auto c : cases)
|
||||||
@ -155,7 +155,7 @@ bool RicExportFishbonesWellSegmentsFeature::isCommandEnabled()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicExportFishbonesWellSegmentsFeature::exportWellSegments(const RimWellPath* wellPath, const std::vector<RimFishbonesMultipleSubs*>& fishbonesSubs, const RicExportWellSegmentsSettingsUi& settings)
|
void RicExportFishbonesWellSegmentsFeature::exportWellSegments(const RimWellPath* wellPath, const std::vector<RimFishbonesMultipleSubs*>& fishbonesSubs, const RicCaseAndFileExportSettingsUi& settings)
|
||||||
{
|
{
|
||||||
QString filePath = QDir(settings.folder()).filePath("Welsegs");
|
QString filePath = QDir(settings.folder()).filePath("Welsegs");
|
||||||
QFile exportFile(filePath);
|
QFile exportFile(filePath);
|
||||||
@ -186,7 +186,7 @@ void RicExportFishbonesWellSegmentsFeature::exportWellSegments(const RimWellPath
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataTableFormatter& formatter,
|
void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataTableFormatter& formatter,
|
||||||
const RimWellPath* wellPath,
|
const RimWellPath* wellPath,
|
||||||
const RicExportWellSegmentsSettingsUi& settings,
|
const RicCaseAndFileExportSettingsUi& settings,
|
||||||
const std::vector<WellSegmentLocation>& locations)
|
const std::vector<WellSegmentLocation>& locations)
|
||||||
{
|
{
|
||||||
RiaEclipseUnitTools::UnitSystem unitSystem = settings.caseToApply->eclipseCaseData()->unitsType();
|
RiaEclipseUnitTools::UnitSystem unitSystem = settings.caseToApply->eclipseCaseData()->unitsType();
|
||||||
@ -211,8 +211,8 @@ void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataT
|
|||||||
formatter.add(startTVD);
|
formatter.add(startTVD);
|
||||||
formatter.add(startMD);
|
formatter.add(startMD);
|
||||||
formatter.add("1*");
|
formatter.add("1*");
|
||||||
formatter.add(settings.lengthAndDepth().text());
|
formatter.add(wellPath->fishbonesCollection()->lengthAndDepth().text());
|
||||||
formatter.add(settings.pressureDrop().text());
|
formatter.add(wellPath->fishbonesCollection()->pressureDrop().text());
|
||||||
|
|
||||||
formatter.rowCompleted();
|
formatter.rowCompleted();
|
||||||
}
|
}
|
||||||
@ -241,7 +241,7 @@ void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataT
|
|||||||
|
|
||||||
for (const WellSegmentLocation& location : locations)
|
for (const WellSegmentLocation& location : locations)
|
||||||
{
|
{
|
||||||
if (settings.lengthAndDepth() == RicExportWellSegmentsSettingsUi::INC)
|
if (wellPath->fishbonesCollection()->lengthAndDepth() == RimFishbonesCollection::INC)
|
||||||
{
|
{
|
||||||
depth = location.trueVerticalDepth - previousTVD;
|
depth = location.trueVerticalDepth - previousTVD;
|
||||||
length = location.fishbonesSubs->measuredDepth(location.subIndex) - previousMD;
|
length = location.fishbonesSubs->measuredDepth(location.subIndex) - previousMD;
|
||||||
@ -292,7 +292,7 @@ void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataT
|
|||||||
|
|
||||||
for (const WellSegmentLateralIntersection& intersection : lateral.intersections)
|
for (const WellSegmentLateralIntersection& intersection : lateral.intersections)
|
||||||
{
|
{
|
||||||
if (settings.lengthAndDepth() == RicExportWellSegmentsSettingsUi::INC)
|
if (wellPath->fishbonesCollection()->lengthAndDepth() == RimFishbonesCollection::INC)
|
||||||
{
|
{
|
||||||
depth = intersection.depth;
|
depth = intersection.depth;
|
||||||
length = intersection.length;
|
length = intersection.length;
|
||||||
@ -325,7 +325,7 @@ void RicExportFishbonesWellSegmentsFeature::generateWelsegsTable(RifEclipseDataT
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicExportFishbonesWellSegmentsFeature::generateCompsegsTable(RifEclipseDataTableFormatter& formatter,
|
void RicExportFishbonesWellSegmentsFeature::generateCompsegsTable(RifEclipseDataTableFormatter& formatter,
|
||||||
const RimWellPath* wellPath,
|
const RimWellPath* wellPath,
|
||||||
const RicExportWellSegmentsSettingsUi& settings,
|
const RicCaseAndFileExportSettingsUi& settings,
|
||||||
const std::vector<WellSegmentLocation>& locations)
|
const std::vector<WellSegmentLocation>& locations)
|
||||||
{
|
{
|
||||||
RigMainGrid* grid = settings.caseToApply->eclipseCaseData()->mainGrid();
|
RigMainGrid* grid = settings.caseToApply->eclipseCaseData()->mainGrid();
|
||||||
@ -383,7 +383,7 @@ void RicExportFishbonesWellSegmentsFeature::generateCompsegsTable(RifEclipseData
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicExportFishbonesWellSegmentsFeature::generateWsegvalvTable(RifEclipseDataTableFormatter& formatter,
|
void RicExportFishbonesWellSegmentsFeature::generateWsegvalvTable(RifEclipseDataTableFormatter& formatter,
|
||||||
const RimWellPath* wellPath,
|
const RimWellPath* wellPath,
|
||||||
const RicExportWellSegmentsSettingsUi& settings,
|
const RicCaseAndFileExportSettingsUi& settings,
|
||||||
const std::vector<WellSegmentLocation>& locations)
|
const std::vector<WellSegmentLocation>& locations)
|
||||||
{
|
{
|
||||||
RiaEclipseUnitTools::UnitSystem unitSystem = settings.caseToApply->eclipseCaseData()->unitsType();
|
RiaEclipseUnitTools::UnitSystem unitSystem = settings.caseToApply->eclipseCaseData()->unitsType();
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "RifEclipseDataTableFormatter.h"
|
#include "RifEclipseDataTableFormatter.h"
|
||||||
|
|
||||||
#include "RicExportWellSegmentsSettingsUi.h"
|
#include "RicCaseAndFileExportSettingsUi.h"
|
||||||
|
|
||||||
#include "RicWellPathExportCompletionDataFeature.h"
|
#include "RicWellPathExportCompletionDataFeature.h"
|
||||||
|
|
||||||
@ -46,10 +46,10 @@ private:
|
|||||||
static RimFishbonesCollection* selectedFishbonesCollection();
|
static RimFishbonesCollection* selectedFishbonesCollection();
|
||||||
static RimWellPath* selectedWellPath();
|
static RimWellPath* selectedWellPath();
|
||||||
|
|
||||||
static void exportWellSegments(const RimWellPath* wellPath, const std::vector<RimFishbonesMultipleSubs*>& fishbonesSubs, const RicExportWellSegmentsSettingsUi& settings);
|
static void exportWellSegments(const RimWellPath* wellPath, const std::vector<RimFishbonesMultipleSubs*>& fishbonesSubs, const RicCaseAndFileExportSettingsUi& settings);
|
||||||
static void generateWelsegsTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicExportWellSegmentsSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
static void generateWelsegsTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicCaseAndFileExportSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
||||||
static void generateCompsegsTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicExportWellSegmentsSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
static void generateCompsegsTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicCaseAndFileExportSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
||||||
static void generateWsegvalvTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicExportWellSegmentsSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
static void generateWsegvalvTable(RifEclipseDataTableFormatter& formatter, const RimWellPath* wellPath, const RicCaseAndFileExportSettingsUi& settings, const std::vector<WellSegmentLocation>& locations);
|
||||||
|
|
||||||
static double computeEffectiveDiameter(double innerDiameter, double outerDiameter);
|
static double computeEffectiveDiameter(double innerDiameter, double outerDiameter);
|
||||||
};
|
};
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Copyright (C) 2017- Statoil ASA
|
|
||||||
//
|
|
||||||
// ResInsight is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License as published by
|
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
//
|
|
||||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
//
|
|
||||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
||||||
// for more details.
|
|
||||||
//
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#include "RicExportWellSegmentsSettingsUi.h"
|
|
||||||
|
|
||||||
namespace caf {
|
|
||||||
template<>
|
|
||||||
void RicExportWellSegmentsSettingsUi::PressureDropEnum::setUp()
|
|
||||||
{
|
|
||||||
addItem(RicExportWellSegmentsSettingsUi::HYDROSTATIC, "H--", "Hydrostatic");
|
|
||||||
addItem(RicExportWellSegmentsSettingsUi::HYDROSTATIC_FRICTION, "HF-", "Hydrostatic + Friction");
|
|
||||||
addItem(RicExportWellSegmentsSettingsUi::HYDROSTATIC_FRICTION_ACCELERATION, "HFA", "Hydrostatic + Friction + Acceleration");
|
|
||||||
setDefault(RicExportWellSegmentsSettingsUi::HYDROSTATIC);
|
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
|
||||||
void RicExportWellSegmentsSettingsUi::LengthAndDepthEnum::setUp()
|
|
||||||
{
|
|
||||||
addItem(RicExportWellSegmentsSettingsUi::INC, "INC", "Incremental");
|
|
||||||
addItem(RicExportWellSegmentsSettingsUi::ABS, "ABS", "Absolute");
|
|
||||||
setDefault(RicExportWellSegmentsSettingsUi::INC);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(RicExportWellSegmentsSettingsUi, "RicExportWellSegmentsSettingsUi");
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
RicExportWellSegmentsSettingsUi::RicExportWellSegmentsSettingsUi()
|
|
||||||
{
|
|
||||||
CAF_PDM_InitObject("RimExportWellSegmentsSettings", "", "", "");
|
|
||||||
|
|
||||||
CAF_PDM_InitFieldNoDefault(&pressureDrop, "PressureDrop", "Pressure Drop", "", "", "");
|
|
||||||
CAF_PDM_InitFieldNoDefault(&lengthAndDepth, "LengthAndDepth", "Length and Depth", "", "", "");
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////////
|
|
||||||
//
|
|
||||||
// Copyright (C) 2017- Statoil ASA
|
|
||||||
//
|
|
||||||
// ResInsight is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License as published by
|
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
//
|
|
||||||
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
//
|
|
||||||
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
||||||
// for more details.
|
|
||||||
//
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "RicCaseAndFileExportSettingsUi.h"
|
|
||||||
|
|
||||||
#include "cafPdmField.h"
|
|
||||||
|
|
||||||
//==================================================================================================
|
|
||||||
///
|
|
||||||
///
|
|
||||||
//==================================================================================================
|
|
||||||
class RicExportWellSegmentsSettingsUi : public RicCaseAndFileExportSettingsUi
|
|
||||||
{
|
|
||||||
CAF_PDM_HEADER_INIT;
|
|
||||||
public:
|
|
||||||
|
|
||||||
enum PressureDropType {
|
|
||||||
HYDROSTATIC,
|
|
||||||
HYDROSTATIC_FRICTION,
|
|
||||||
HYDROSTATIC_FRICTION_ACCELERATION
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef caf::AppEnum<RicExportWellSegmentsSettingsUi::PressureDropType> PressureDropEnum;
|
|
||||||
|
|
||||||
enum LengthAndDepthType {
|
|
||||||
ABS,
|
|
||||||
INC
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef caf::AppEnum<RicExportWellSegmentsSettingsUi::LengthAndDepthType> LengthAndDepthEnum;
|
|
||||||
|
|
||||||
RicExportWellSegmentsSettingsUi();
|
|
||||||
|
|
||||||
caf::PdmField<PressureDropEnum> pressureDrop;
|
|
||||||
caf::PdmField<LengthAndDepthEnum> lengthAndDepth;
|
|
||||||
};
|
|
@ -31,6 +31,25 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
namespace caf {
|
||||||
|
template<>
|
||||||
|
void RimFishbonesCollection::PressureDropEnum::setUp()
|
||||||
|
{
|
||||||
|
addItem(RimFishbonesCollection::HYDROSTATIC, "H--", "Hydrostatic");
|
||||||
|
addItem(RimFishbonesCollection::HYDROSTATIC_FRICTION, "HF-", "Hydrostatic + Friction");
|
||||||
|
addItem(RimFishbonesCollection::HYDROSTATIC_FRICTION_ACCELERATION, "HFA", "Hydrostatic + Friction + Acceleration");
|
||||||
|
setDefault(RimFishbonesCollection::HYDROSTATIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
template<>
|
||||||
|
void RimFishbonesCollection::LengthAndDepthEnum::setUp()
|
||||||
|
{
|
||||||
|
addItem(RimFishbonesCollection::INC, "INC", "Incremental");
|
||||||
|
addItem(RimFishbonesCollection::ABS, "ABS", "Absolute");
|
||||||
|
setDefault(RimFishbonesCollection::INC);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(RimFishbonesCollection, "FishbonesCollection");
|
CAF_PDM_SOURCE_INIT(RimFishbonesCollection, "FishbonesCollection");
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -56,6 +75,9 @@ RimFishbonesCollection::RimFishbonesCollection()
|
|||||||
CAF_PDM_InitField(&m_linerDiameter, "LinerDiameter", 0.152, "Liner Inner Diameter", "", "", "");
|
CAF_PDM_InitField(&m_linerDiameter, "LinerDiameter", 0.152, "Liner Inner Diameter", "", "", "");
|
||||||
CAF_PDM_InitField(&m_roughnessFactor, "RoughnessFactor", 1e-05, "Roughness Factor", "", "", "");
|
CAF_PDM_InitField(&m_roughnessFactor, "RoughnessFactor", 1e-05, "Roughness Factor", "", "", "");
|
||||||
|
|
||||||
|
CAF_PDM_InitFieldNoDefault(&m_pressureDrop, "PressureDrop", "Pressure Drop", "", "", "");
|
||||||
|
CAF_PDM_InitFieldNoDefault(&m_lengthAndDepth, "LengthAndDepth", "Length and Depth", "", "", "");
|
||||||
|
|
||||||
manuallyModifiedStartMD = false;
|
manuallyModifiedStartMD = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,6 +140,8 @@ void RimFishbonesCollection::defineUiOrdering(QString uiConfigName, caf::PdmUiOr
|
|||||||
caf::PdmUiGroup* mswGroup = uiOrdering.addNewGroup("Multi Segment Wells");
|
caf::PdmUiGroup* mswGroup = uiOrdering.addNewGroup("Multi Segment Wells");
|
||||||
mswGroup->add(&m_linerDiameter);
|
mswGroup->add(&m_linerDiameter);
|
||||||
mswGroup->add(&m_roughnessFactor);
|
mswGroup->add(&m_roughnessFactor);
|
||||||
|
mswGroup->add(&m_pressureDrop);
|
||||||
|
mswGroup->add(&m_lengthAndDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -41,6 +41,21 @@ class RimFishbonesCollection : public RimCheckableNamedObject
|
|||||||
CAF_PDM_HEADER_INIT;
|
CAF_PDM_HEADER_INIT;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
enum PressureDropType {
|
||||||
|
HYDROSTATIC,
|
||||||
|
HYDROSTATIC_FRICTION,
|
||||||
|
HYDROSTATIC_FRICTION_ACCELERATION
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef caf::AppEnum<PressureDropType> PressureDropEnum;
|
||||||
|
|
||||||
|
enum LengthAndDepthType {
|
||||||
|
ABS,
|
||||||
|
INC
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef caf::AppEnum<LengthAndDepthType> LengthAndDepthEnum;
|
||||||
|
|
||||||
RimFishbonesCollection();
|
RimFishbonesCollection();
|
||||||
|
|
||||||
RimFishboneWellPathCollection* wellPathCollection() const;
|
RimFishboneWellPathCollection* wellPathCollection() const;
|
||||||
@ -54,6 +69,9 @@ public:
|
|||||||
double linerDiameter(RiaEclipseUnitTools::UnitSystem unitSystem) const;
|
double linerDiameter(RiaEclipseUnitTools::UnitSystem unitSystem) const;
|
||||||
double roughnessFactor(RiaEclipseUnitTools::UnitSystem unitSystem) const;
|
double roughnessFactor(RiaEclipseUnitTools::UnitSystem unitSystem) const;
|
||||||
|
|
||||||
|
PressureDropEnum pressureDrop() const { return m_pressureDrop(); }
|
||||||
|
LengthAndDepthEnum lengthAndDepth() const { return m_lengthAndDepth(); }
|
||||||
|
|
||||||
void setUnitSystemSpecificDefaults();
|
void setUnitSystemSpecificDefaults();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@ -71,5 +89,8 @@ private:
|
|||||||
caf::PdmField<double> m_linerDiameter;
|
caf::PdmField<double> m_linerDiameter;
|
||||||
caf::PdmField<double> m_roughnessFactor;
|
caf::PdmField<double> m_roughnessFactor;
|
||||||
|
|
||||||
|
caf::PdmField<PressureDropEnum> m_pressureDrop;
|
||||||
|
caf::PdmField<LengthAndDepthEnum> m_lengthAndDepth;
|
||||||
|
|
||||||
bool manuallyModifiedStartMD;
|
bool manuallyModifiedStartMD;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user