mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RFT Curves: Add more segment curves
- add CONGRAT - add pressure track - add CONFAC - fix some plot layout issues - Fix bug for first segment MD location - Add default scale factor 1e-3 for gas curves - Avoid inf values in some curves, seen in PRESSURE and CONFAC - Use assignment in statements instead of std::get
This commit is contained in:
@@ -327,9 +327,10 @@ std::vector<size_t> RifRftSegment::packerSegmentIndicesOnAnnulus( int branchInde
|
||||
auto segment = m_topology[segmentIndex];
|
||||
auto outflowSegmentNumber = segment.segNext();
|
||||
|
||||
auto candidateSegment = segmentData( outflowSegmentNumber );
|
||||
auto candidateBranchType = branchType( candidateSegment->segBrno() );
|
||||
auto candidateSegment = segmentData( outflowSegmentNumber );
|
||||
if ( !candidateSegment ) continue;
|
||||
|
||||
auto candidateBranchType = branchType( candidateSegment->segBrno() );
|
||||
if ( candidateBranchType == RiaDefines::RftBranchType::RFT_DEVICE )
|
||||
{
|
||||
packerSegmentIndices.push_back( segmentIndex );
|
||||
|
||||
Reference in New Issue
Block a user