mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
48070f6539
The plotting of curve values for connections to a segment fails in some cases. The current implementation finds the segment a connection is attached to, and use the depth (both MD and TVD) information from this segment. This method is not working in all cases. Use the reported location of connections attached to segments based on CONLENST and CONLENEN. When measured depth is requested, use these values. There might be gaps in the reported segment sequence. Use CONDEPTH when TVD depth is requested. Use CONBRNO to find the branch number, and then use lookup table branchIdsAndOneBasedBranchIndices to find the branch index. Use the branch index to filter the results for requested branch. The number of values in CON* result values is different to result values for SEG* results.
53 lines
1.6 KiB
C++
53 lines
1.6 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 2022- Equinor 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 <QString>
|
|
|
|
namespace RiaDefines
|
|
{
|
|
bool isSegmentResult( const QString& resultName );
|
|
QString segmentStartDepthResultName();
|
|
QString segmentEndDepthResultName();
|
|
QString segmentTvdDepthResultName();
|
|
QString segmentNumberResultName();
|
|
|
|
bool isSegmentConnectionResult( const QString& resultName );
|
|
QString segmentConnectionTvdDepthResultName();
|
|
std::string segmentConnectionEndDepthResultName();
|
|
std::string segmentConnectionStartDepthResultName();
|
|
std::string segmentConnectionBranchNoResultName();
|
|
QString segmentConnectionMeasuredDepthResultName();
|
|
std::string segmentConnectionIPos();
|
|
std::string segmentConnectionJPos();
|
|
std::string segmentConnectionKPos();
|
|
|
|
QString allBranches();
|
|
QString segmentBranchNumberResultName();
|
|
|
|
enum class RftBranchType
|
|
{
|
|
RFT_TUBING,
|
|
RFT_DEVICE,
|
|
RFT_ANNULUS,
|
|
RFT_UNKNOWN
|
|
};
|
|
|
|
}; // namespace RiaDefines
|