mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Reduce NNC memory use
This commit is contained in:
committed by
Magne Sjaastad
parent
34dcd3c737
commit
97dd891d38
@@ -592,8 +592,8 @@ void RigReservoirBuilderMock::addNnc( RigMainGrid* grid,
|
||||
size_t c2GlobalIndex = grid->cellIndexFromIJK( i2, j2, k2 );
|
||||
|
||||
RigConnection conn;
|
||||
conn.m_c1GlobIdx = c1GlobalIndex;
|
||||
conn.m_c2GlobIdx = c2GlobalIndex;
|
||||
conn.m_c1GlobIdx = static_cast<unsigned>( c1GlobalIndex );
|
||||
conn.m_c2GlobIdx = static_cast<unsigned>( c2GlobalIndex );
|
||||
|
||||
nncConnections.push_back( conn );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user