mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename measuredDepth and TVD methods in well log extractor code
This commit is contained in:
@@ -205,7 +205,7 @@ void Rim3dWellLogExtractionCurve::curveValuesAndMdsAtTimeStep(std::vector<double
|
||||
|
||||
if (eclExtractor.notNull() && eclipseCase)
|
||||
{
|
||||
*measuredDepthValues = eclExtractor->measuredDepth();
|
||||
*measuredDepthValues = eclExtractor->cellIntersectionMDs();
|
||||
|
||||
m_eclipseResultDefinition->loadResult();
|
||||
|
||||
@@ -220,7 +220,7 @@ void Rim3dWellLogExtractionCurve::curveValuesAndMdsAtTimeStep(std::vector<double
|
||||
}
|
||||
else if (geomExtractor.notNull())
|
||||
{
|
||||
*measuredDepthValues = geomExtractor->measuredDepth();
|
||||
*measuredDepthValues = geomExtractor->cellIntersectionMDs();
|
||||
|
||||
RimWellLogExtractionCurve::findAndLoadWbsParametersFromLasFiles(wellPath, geomExtractor.p());
|
||||
|
||||
|
||||
@@ -102,13 +102,9 @@ RimPlotCurve::RimPlotCurve()
|
||||
CAF_PDM_InitField(&m_curveThickness, "Thickness", 1, "Line Thickness", "", "", "");
|
||||
m_curveThickness.uiCapability()->setUiEditorTypeName(caf::PdmUiComboBoxEditor::uiEditorTypeName());
|
||||
|
||||
caf::AppEnum< RiuQwtPlotCurve::LineStyleEnum > lineStyle = RiuQwtPlotCurve::STYLE_SOLID;
|
||||
CAF_PDM_InitField(&m_lineStyle, "LineStyle", lineStyle, "Line Style", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_curveInterpolation, "CurveInterpolation", "Interpolation", "", "", "");
|
||||
|
||||
caf::AppEnum< RiuQwtSymbol::PointSymbolEnum > pointSymbol = RiuQwtSymbol::SYMBOL_NONE;
|
||||
CAF_PDM_InitField(&m_pointSymbol, "PointSymbol", pointSymbol, "Symbol", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_lineStyle, "LineStyle", "Line Style", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&m_pointSymbol, "PointSymbol", "Symbol", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&m_symbolSkipPixelDistance, "SymbolSkipPxDist", 0.0f, "Symbol Skip Distance", "", "Minimum pixel distance between symbols", "");
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
cvf::Color3f color() const { return m_curveColor; }
|
||||
void setLineStyle(RiuQwtPlotCurve::LineStyleEnum lineStyle);
|
||||
void setSymbol(RiuQwtSymbol::PointSymbolEnum symbolStyle);
|
||||
RiuQwtSymbol::PointSymbolEnum symbol();
|
||||
RiuQwtSymbol::PointSymbolEnum symbol();
|
||||
void setSymbolSkipDistance(float distance);
|
||||
void setSymbolLabel(const QString& label);
|
||||
void setSymbolSize(int sizeInPixels);
|
||||
|
||||
@@ -370,8 +370,8 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate(bool updateParentPlot)
|
||||
|
||||
if (eclExtractor.notNull() && eclipseCase)
|
||||
{
|
||||
measuredDepthValues = eclExtractor->measuredDepth();
|
||||
tvDepthValues = eclExtractor->trueVerticalDepth();
|
||||
measuredDepthValues = eclExtractor->cellIntersectionMDs();
|
||||
tvDepthValues = eclExtractor->cellIntersectionTVDs();
|
||||
|
||||
m_eclipseResultDefinition->loadResult();
|
||||
|
||||
@@ -396,8 +396,8 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate(bool updateParentPlot)
|
||||
else if (geomExtractor.notNull()) // geomExtractor
|
||||
{
|
||||
|
||||
measuredDepthValues = geomExtractor->measuredDepth();
|
||||
tvDepthValues = geomExtractor->trueVerticalDepth();
|
||||
measuredDepthValues = geomExtractor->cellIntersectionMDs();
|
||||
tvDepthValues = geomExtractor->cellIntersectionTVDs();
|
||||
|
||||
findAndLoadWbsParametersFromLasFiles(m_wellPath(), geomExtractor.p());
|
||||
|
||||
|
||||
@@ -709,7 +709,7 @@ std::vector<double> RimWellLogRftCurve::measuredDepthValues()
|
||||
|
||||
if (!eclExtractor) return measuredDepthForCells;
|
||||
|
||||
std::vector<double> measuredDepthForIntersections = eclExtractor->measuredDepth();
|
||||
std::vector<double> measuredDepthForIntersections = eclExtractor->cellIntersectionMDs();
|
||||
|
||||
if (measuredDepthForIntersections.empty())
|
||||
{
|
||||
|
||||
@@ -1413,8 +1413,8 @@ CurveSamplingPointData RimWellLogTrack::curveSamplingPointData(RigEclipseWellLog
|
||||
{
|
||||
CurveSamplingPointData curveData;
|
||||
|
||||
curveData.md = extractor->measuredDepth();
|
||||
curveData.tvd = extractor->trueVerticalDepth();
|
||||
curveData.md = extractor->cellIntersectionMDs();
|
||||
curveData.tvd = extractor->cellIntersectionTVDs();
|
||||
|
||||
extractor->curveData(resultAccessor, &curveData.data);
|
||||
|
||||
@@ -1428,8 +1428,8 @@ CurveSamplingPointData RimWellLogTrack::curveSamplingPointData(RigGeoMechWellLog
|
||||
{
|
||||
CurveSamplingPointData curveData;
|
||||
|
||||
curveData.md = extractor->measuredDepth();
|
||||
curveData.tvd = extractor->trueVerticalDepth();
|
||||
curveData.md = extractor->cellIntersectionMDs();
|
||||
curveData.tvd = extractor->cellIntersectionTVDs();
|
||||
|
||||
extractor->curveData(resultAddress, 0, &curveData.data);
|
||||
return curveData;
|
||||
|
||||
@@ -40,6 +40,22 @@ RigWellLogExtractor::~RigWellLogExtractor()
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const std::vector<double>& RigWellLogExtractor::cellIntersectionMDs()
|
||||
{
|
||||
return m_intersectionMeasuredDepths;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const std::vector<double>& RigWellLogExtractor::cellIntersectionTVDs()
|
||||
{
|
||||
return m_intersectionTVDs;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -79,6 +95,14 @@ const std::vector<size_t>& RigWellLogExtractor::intersectedCellsGlobIdx()
|
||||
return m_intersectedCellsGlobIdx;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const RigWellPath* RigWellLogExtractor::wellPathData()
|
||||
{
|
||||
return m_wellPath.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -59,11 +59,11 @@ public:
|
||||
RigWellLogExtractor(const RigWellPath* wellpath, const std::string& wellCaseErrorMsgName);
|
||||
virtual ~RigWellLogExtractor();
|
||||
|
||||
const std::vector<double>& measuredDepth() { return m_intersectionMeasuredDepths; }
|
||||
const std::vector<double>& trueVerticalDepth() { return m_intersectionTVDs; }
|
||||
const std::vector<double>& cellIntersectionMDs();
|
||||
const std::vector<double>& cellIntersectionTVDs();
|
||||
const std::vector<size_t>& intersectedCellsGlobIdx();
|
||||
|
||||
const RigWellPath* wellPathData() { return m_wellPath.p();}
|
||||
const RigWellPath* wellPathData();
|
||||
|
||||
std::vector<WellPathCellIntersectionInfo> cellIntersectionInfosAlongWellPath() const;
|
||||
|
||||
@@ -92,7 +92,6 @@ protected:
|
||||
std::vector<double> m_intersectionMeasuredDepths;
|
||||
std::vector<double> m_intersectionTVDs;
|
||||
|
||||
private:
|
||||
std::string m_wellCaseErrorMsgName;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user