Skip to content
  • Mark OLESEN's avatar
    ENH: avoid prior communication when using mapDistribute · fb69a54b
    Mark OLESEN authored
    - in most cases can simply construct mapDistribute with the sendMap
      and have it take care of communication and addressing for the
      corresponding constructMap.
    
      This removes code duplication, which in some cases was also using
      much less efficient mechanisms (eg, combineReduce on list of
      lists, or an allGatherList on the send sizes etc) and also
      reduces the number of places where Pstream::exchange/exchangeSizes
      is being called.
    
    ENH: reduce communication in turbulentDFSEMInlet
    
    - was doing an allGatherList to populate a mapDistribute.
      Now simply use PstreamBuffers mechanisms directly.
    fb69a54b