Improve NNC memory use

This commit is contained in:
Gaute Lindkvist authored and Magne Sjaastad committed 2020-05-15 12:55:25 +02:00
1 parent 97dd891d38
commit ab0b05b31c
18 files changed
+178 -162

No files matched your search

@@ -73,8 +73,8 @@ public:
{
RigConnection connection = mainGrid->nncData()->connections()[i];
const RigCell& cell1 = mainGrid->globalCellArray()[connection.m_c1GlobIdx];
const RigCell& cell2 = mainGrid->globalCellArray()[connection.m_c2GlobIdx];
const RigCell& cell1 = mainGrid->globalCellArray()[connection.c1GlobIdx()];
const RigCell& cell2 = mainGrid->globalCellArray()[connection.c2GlobIdx()];
sendCellInfo( socketStream, cell1 );
sendCellInfo( socketStream, cell2 );