Skip to content
Snippets Groups Projects
  1. Nov 15, 2022
  2. Nov 14, 2022
  3. Nov 11, 2022
  4. Nov 09, 2022
  5. Nov 08, 2022
    • Andrew Heather's avatar
      Merge branch 'feature-mpi-updates' into 'develop' · 7fa4f1ef
      Andrew Heather authored
      More consistent use of combineReduce, simpler and/or reductions
      
      See merge request !566
      7fa4f1ef
    • Mark OLESEN's avatar
      ENH: consolidate 'formatOptions' handling for coordSetWriter/surfaceWriter · 5b29ff0e
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - replaced ad hoc handling of formatOptions with coordSetWriter and
        surfaceWriter helpers.
      
        Accompanying this change, it is now possible to specify "default"
        settings to be inherited, format-specific settings and have a
        similar layering with surface-specific overrides.
      
      - snappyHexMesh now conforms to setFormats
      
        Eg,
      
            formatOptions
            {
                default
                {
                    verbose     true;
                    format      binary;
                }
                vtk
                {
                    precision   10;
                }
           }
      
           surfaces
           {
               surf1
               {
                   ...
      
                   formatOptions
                   {
                       ensight
                       {
                           scale   1000;
                       }
                   }
               }
           }
      5b29ff0e
    • Mark OLESEN's avatar
      ENH: preserve globalIndex merge information within mergedSurf · b7592c1e
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - for later reuse with fields (for example)
      
      ENH: use 'scheduled' for surfaceWriter field merging (#2402)
      
      - in tests with merging fields (surfaceWriter), 'scheduled' was
        generally faster than 'nonBlocking' for scalars, minorly faster for
        vectors.
        Thus make 'scheduled' the default for the surfaceWriter but with a
        user-option to adjust as required. Previously simply relied on
        whichever default globalIndex had (currently nonBlocking).
      
        Reuse globalIndex information from mergedSurf instead of
        globalIndex::gatherOp to avoid an extra MPI call to gather sizes
        each time.
      
        These changes will not be noticable unless surface sampling is done
        very frequently (eg, every iteration) and with large core counts.
      b7592c1e
    • Mark OLESEN's avatar
      ENH: PatchTools::gatherAndMerge with recovery of the globalIndex · 799d2471
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - support globalIndex for points/faces as an output parameter,
        which allows reuse in subsequent field merge operations.
      
      - make pointMergeMap an optional parameter. This information is not
        always required. Eg, if only using gatherAndMerge to combine faces
        but without any point fields.
      
      ENH: make globalIndex() noexcept, add globalIndex::clear() method
      799d2471
    • Mark OLESEN's avatar
      ENH: use returnReduceAnd(), returnReduceOr() functions · 70208a73
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      DOC: document which MPI send/recv are associated with commType
      70208a73
    • Mark OLESEN's avatar
      ENH: more consistent use of broadcast, combineReduce etc. · 473e1441
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
        - broadcast           : (replaces scatter)
        - combineReduce       == combineGather + broadcast
        - listCombineReduce   == listCombineGather + broadcast
        - mapCombineReduce    == mapCombineGather + broadcast
        - allGatherList       == gatherList + scatterList
      
        Before settling on a more consistent naming convention,
        some intermediate namings were used in OpenFOAM-v2206:
      
          - combineReduce       (2206: combineAllGather)
          - listCombineReduce   (2206: listCombineAllGather)
          - mapCombineReduce    (2206: mapCombineAllGather)
      473e1441
    • Mark OLESEN's avatar
      b9c15b85
    • mattijs's avatar
      18216a46
  6. Nov 07, 2022