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:
Mark Olesen
2023-07-06 13:05:34 +02:00
parent 5397c9ac04
commit ed314b2740
32 changed files with 279 additions and 302 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2021-2022 OpenCFD Ltd.
Copyright (C) 2021-2023 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -84,7 +84,7 @@ protected:
label nBin_;
//- Indices of operand patches
labelHashSet patchSet_;
labelList patchIDs_;
//- Names of operand fields
wordList fieldNames_;