Skip to content

Updates to function objects handling of patches / selection names for parallel consistent order

Mark OLESEN requested to merge update-selection-ordering into develop
  • update IOobjectList to have a csorted() method (as per objectRegistry) and noisily deprecate sorted() 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() and csorted() 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

Merge request reports