STYLE: broadcast instead of combineScatter/listCombineScatter/mapCombineScatter

- these are the same thing now and 'broadcast' expresses the intention
  more directly/consistently
This commit is contained in:
Mark Olesen
2022-03-10 21:54:52 +01:00
parent de8ef5332d
commit 62fc3bbc33
68 changed files with 153 additions and 148 deletions

View File

@ -303,7 +303,6 @@ int main(int argc, char *argv[])
Pstream::mapCombineGather(patchSize, plusEqOp<label>());
Pstream::mapCombineGather(zoneSize, plusEqOp<label>());
// Allocate compact numbering for all patches/faceZones
forAllConstIters(patchSize, iter)
{
@ -315,8 +314,7 @@ int main(int argc, char *argv[])
compactZoneID.insert(iter.key(), compactZoneID.size());
}
Pstream::mapCombineScatter(compactZoneID);
Pstream::broadcast(compactZoneID);
// Rework HashTable into labelList just for speed of conversion