mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve NNC memory use
This commit is contained in:
committed by
Magne Sjaastad
parent
97dd891d38
commit
ab0b05b31c
@@ -311,10 +311,10 @@ void RigNumberOfFloodedPoreVolumesCalculator::distributeNNCflow( const RigConnec
|
||||
RigConnection connection = connections[connectionIndex];
|
||||
double connectionValue = flowrateNNC->at( connectionIndex );
|
||||
|
||||
size_t cell1Index = connection.m_c1GlobIdx;
|
||||
size_t cell1Index = connection.c1GlobIdx();
|
||||
size_t cell1ResultIndex = actCellInfo->cellResultIndex( cell1Index );
|
||||
|
||||
size_t cell2Index = connection.m_c2GlobIdx;
|
||||
size_t cell2Index = connection.c2GlobIdx();
|
||||
size_t cell2ResultIndex = actCellInfo->cellResultIndex( cell2Index );
|
||||
|
||||
if ( connectionValue > 0 )
|
||||
|
||||
Reference in New Issue
Block a user