mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed block transfer
This commit is contained in:
parent
c0f5d0090f
commit
8eb040e7cb
@ -132,9 +132,10 @@ public:
|
|||||||
quint64 timestepByteCount = (quint64)(timestepResultCount*sizeof(qint32));
|
quint64 timestepByteCount = (quint64)(timestepResultCount*sizeof(qint32));
|
||||||
socketStream << timestepByteCount;
|
socketStream << timestepByteCount;
|
||||||
|
|
||||||
|
for (size_t tIdx = 0; tIdx < columnCount; ++tIdx)
|
||||||
// Write data as raw bytes, fast but does not handle byteswapping
|
{
|
||||||
RiaSocketTools::writeBlockData(server, server->currentClient(), (const char *)activeCellInfo.data(), columnCount*timestepByteCount);
|
RiaSocketTools::writeBlockData(server, server->currentClient(), (const char *)activeCellInfo[tIdx].data(), timestepByteCount);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user