• 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
STDMD.C 32.4 KB