Skip to content
  • Mark OLESEN's avatar
    ENH: add UPstream::allProcs() method · e18ff114
    Mark OLESEN authored
    - returns a range of `int` values that can be iterated across.
      For example,
    
          for (const int proci : Pstream::allProcs()) { ... }
    
      instead of
    
          for (label proci = 0; proci < Pstream::nProcs(); ++proci) { ... }
    e18ff114