mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: use sorted order for patch IDs in fieldFunctionObjects (#2819)
- replaces labelHashSet with a sorted labelList to ensure that patches will be processed in consistent order in parallel
This commit is contained in:
@ -86,6 +86,7 @@ VoFPatchTransfer::VoFPatchTransfer
|
||||
wordRes patchNames;
|
||||
if (coeffDict_.readIfPresent("patches", patchNames))
|
||||
{
|
||||
// Can also use pbm.indices(), but no warnings...
|
||||
patchIDs_ = pbm.patchSet(patchNames).sortedToc();
|
||||
|
||||
Info<< " applying to " << patchIDs_.size() << " patches:" << nl;
|
||||
|
||||
Reference in New Issue
Block a user