mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 01:41:42 -06:00
#11812 Multi-segment RFT plot: Make sure reservoir Pressure is plotted
This commit is contained in:
parent
a9ea615bf0
commit
1f2b180ab7
@ -1130,12 +1130,12 @@ std::vector<double> RimWellLogRftCurve::tvDepthValues()
|
||||
|
||||
if ( m_rftDataType() == RftDataType::RFT_SEGMENT_DATA )
|
||||
{
|
||||
if ( RiaDefines::isSegmentConnectionResult( m_segmentResultName ) )
|
||||
if ( RiaDefines::isSegmentResult( m_segmentResultName ) )
|
||||
|
||||
{
|
||||
depthAddress = RifEclipseRftAddress::createBranchSegmentAddress( m_wellName(),
|
||||
m_timeStep,
|
||||
RiaDefines::segmentConnectionTvdDepthResultName(),
|
||||
RiaDefines::segmentTvdDepthResultName(),
|
||||
segmentBranchIndex(),
|
||||
m_segmentBranchType() );
|
||||
}
|
||||
@ -1143,7 +1143,7 @@ std::vector<double> RimWellLogRftCurve::tvDepthValues()
|
||||
{
|
||||
depthAddress = RifEclipseRftAddress::createBranchSegmentAddress( m_wellName(),
|
||||
m_timeStep,
|
||||
RiaDefines::segmentTvdDepthResultName(),
|
||||
RiaDefines::segmentConnectionTvdDepthResultName(),
|
||||
segmentBranchIndex(),
|
||||
m_segmentBranchType() );
|
||||
}
|
||||
@ -1165,13 +1165,13 @@ std::vector<double> RimWellLogRftCurve::measuredDepthValues( QString& prefixText
|
||||
{
|
||||
prefixText = "SEGMENT/";
|
||||
|
||||
if ( RiaDefines::isSegmentConnectionResult( m_segmentResultName() ) )
|
||||
if ( RiaDefines::isSegmentResult( m_segmentResultName() ) )
|
||||
{
|
||||
return RimRftTools::segmentConnectionMdValues( opmRftReader, m_wellName(), m_timeStep, segmentBranchIndex(), m_segmentBranchType() );
|
||||
// Always use segment end MD values for segment data, as the curve is plotted as step left
|
||||
return RimRftTools::segmentEndMdValues( opmRftReader, m_wellName(), m_timeStep, segmentBranchIndex(), m_segmentBranchType() );
|
||||
}
|
||||
|
||||
// Always use segment end MD values for segment data, as the curve is plotted as step left
|
||||
return RimRftTools::segmentEndMdValues( opmRftReader, m_wellName(), m_timeStep, segmentBranchIndex(), m_segmentBranchType() );
|
||||
return RimRftTools::segmentConnectionMdValues( opmRftReader, m_wellName(), m_timeStep, segmentBranchIndex(), m_segmentBranchType() );
|
||||
}
|
||||
|
||||
return {};
|
||||
|
Loading…
Reference in New Issue
Block a user