streamLine: Added parallel distribution of age data

This commit is contained in:
Will Bainbridge
2020-11-25 11:50:54 +00:00
parent 45bfe725c9
commit 1416938f39

View File

@ -502,6 +502,20 @@ bool Foam::functionObjects::streamLine::write()
flipOp()
);
// Distribute the ages
mapDistributeBase::distribute
(
Pstream::commsTypes::scheduled,
distMap.schedule(),
distMap.constructSize(),
distMap.subMap(),
false,
distMap.constructMap(),
false,
allAges_,
flipOp()
);
// Distribute the scalars
forAll(allScalars_, scalari)
{