Skip to content
Snippets Groups Projects
  1. Mar 13, 2024
  2. Mar 11, 2024
  3. Mar 10, 2024
    • Mark OLESEN's avatar
      ENH: refine renumberMesh and renumberMethod (addenda to !669) · 0c84e505
      Mark OLESEN authored
      - provide no_topology() characteristic to avoid triggering potentially
        expensive mesh connectivity calculations when they are not required.
      
      - remove/deprecate unused pointField references from the renumber
        methods. These appear to have crept in from outer similarities
        with decompositionMethod, but have no meaning for renumbering.
      
      - remove/deprecate various unused aggregation renumberings since these
        have been previously replaced by pre-calling calcCellCells, or
        using bandCompression directly.
      
      - make regionFaceOrder for block-wise renumbering optional and
        treat as experimental (ie, default is now disabled).
      
        The original idea was to sort the intra-region and inter-region faces
        separately. However, this will mostly lead to non-upper triangular
        ordering between regions, which checkMesh and others don't really like.
      
      ENH: add timing information for various renumberMesh stages
      
      ENH: add reset of clockTime and cpuTime increment
      
      ...
      0c84e505
  4. Mar 07, 2024
  5. Mar 06, 2024
    • Kutalmış Berçin's avatar
      Merge branch 'update-renumbering-methods' into 'develop' · 05194796
      Kutalmış Berçin authored
      ENH: adjust renumbering methods, extend renumberMesh options
      
      See merge request Development/openfoam!669
      05194796
    • Mark OLESEN's avatar
      ENH: adjust renumbering methods, extend renumberMesh options · 61aaacd0
      Mark OLESEN authored
      - renumberMesh now has -dry-run, -write-maps, -no-fields,
        -renumber-method, -renumber-coeffs options.
      
        * Use -dry-run with -write-maps to visualize the before/after
          effects of renumbering (creates a VTK file).
      
        * -no-fields to renumber the mesh only.
          This is useful and faster when the input fields are uniform
          and the -overwrite option is specified.
      
        * -renumber-method allows a quick means of specifying a different
          default renumber method (instead of Cuthill-McKee).
      
          The -renumber-coeffs option allows passing of dictionary content
          for the method.
      
          Examples,
      
             // Different ways to specify reverse Cuthill-McKee
      
             *  -renumber-method RCM
             *  -renumber-coeffs 'reverse true;'
             *  -renumber-method CuthillMcKee
             *  -renumber-coeffs 'reverse true;'
             *  -renumber-coeffs 'method CuthillMcKee; reverse true;'
      
             // Other (without dictionary coefficients)
             *  renumberMesh -renumber-method random
      
             // Other (with dictionary coefficients)
             renumberMesh \
                 -renumber-method spring \
                 -renumber-coeffs 'maxCo 0.1; maxIter 1000; freezeFraction 0.99;'
      
             // Other (with additional libraries)
             renumberMesh -renumber-method zoltan -lib zoltanRenumber
      
      COMP: build zoltan renumbering to MPI-specific location
      
      - zoltan and Sloan renumbering are now longer automatically linked to
        the renumberMesh utility but must be separately loaded by a
        command-line option or through a dictionary "libs" entry.
      
      ENH: add output cellID for decomposePar -dry-run -cellDist
      61aaacd0
    • Mark OLESEN's avatar
      ENH: promote IFstream::readContents() to public static function · e7f0628d
      Mark OLESEN authored
      - reads file contents into a DynamicList<char>, which can then be
        broadcast, moved to a ICharStream etc.
      e7f0628d
    • Mark OLESEN's avatar
      ENH: remove blocking communication for gather patterns · 7006056e
      Mark OLESEN authored
      ENH: eliminate unnecessary duplicate communicator
      
      - in globalMeshData previously had a comm_dup hack to avoid clashes
        with deltaCoeffs calculations. However, this was largely due to a
        manual implementation of reduce() that used point-to-point
        communication. This has since been updated to use an MPI_Allreduce
        and now an MPI_Allgather, neither of which need this hack.
      7006056e
    • Mark OLESEN's avatar
      ENH: make ITstream positioning methods noexcept · b98f53ce
      Mark OLESEN authored
      ENH: add rank() method for compound tokens
      
      ENH: add IOstream::minPrecision(unsigned)
      
      - reduced typing, more expressive, no namespace ambiguity with max()
      
          new: IOstream::minPrecision(10);
          old: IOstream::defaultPrecision(max(10u, IOstream::defaultPrecision()));
      
      STYLE: namespace qualify min/max for some buffer sizing [clang/hipp]
      b98f53ce
    • Mark OLESEN's avatar
      ENH: use SubList for CompactListList access · 5a70be08
      Mark OLESEN authored
      - this was previously a UList instead of SubList,
        but SubList supports better assignment of values
      
      ENH: add invertOneToManyCompact
      
      - returns a CompactListList<label> instead of labelListList, which
        allows for reuse as partitioning table etc and/or slightly reduced
        memory overhead
      5a70be08
    • Mark OLESEN's avatar
      ENH: minor reduction in allocations for inactive profiling (#3112) · 78fc102d
      Mark OLESEN authored
      - avoid string conversion/concatenation unless profiling hooks
        are possible (ie, active or Extrae is loaded).
      78fc102d
  6. Mar 05, 2024
  7. Feb 28, 2024
  8. Feb 24, 2024
  9. Feb 23, 2024
  10. Feb 22, 2024