mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: globalIndex: local operation set other processors' sizes to 0
This commit is contained in:
@ -36,7 +36,7 @@ Foam::globalIndex::globalIndex
|
||||
:
|
||||
offsets_(Pstream::nProcs()+1)
|
||||
{
|
||||
labelList localSizes(Pstream::nProcs());
|
||||
labelList localSizes(Pstream::nProcs(), 0);
|
||||
localSizes[Pstream::myProcNo()] = localSize;
|
||||
if (parallel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user