Updates to function objects handling of patches / selection names for parallel consistent order
-
update IOobjectList to have a
csorted()
method (as per objectRegistry) and noisily deprecatesorted() const
versions in various places since resolution of the correct return type (<const T>
vs<T>
) makes it susceptible to the object access type. -
use sorted patch Ids and selectionNames in functionObjects to avoid possible differences in ordering (parallel consistency).
-
prefer use of
sorted()
andcsorted()
instead of via HashTable-based names or toc(), since this generally provides lower overhead and allows more compact expression. It also avoids subsequent hash lookups when accessing the object pointers. -
use MinMax range to simplify binModels