Skip to content
Snippets Groups Projects
  1. Apr 12, 2018
    • Mark OLESEN's avatar
      ENH: make it easier to switch between the various make dependencies programs. · de72a04a
      Mark OLESEN authored
      - However, the new ragel-based parser is much faster
        than the others, and does not cause 'too many open files' error
        that the flex-based parser does (issue #784).
      
        The timings (using src/sampling as being somewhat representative)
      
          $ wclean; wmakeLnInclude -u .; time wmake -s dep
      
              3.4s  wmkdepend (ragel) [now default]
              5.7s  wmkdep (flex)
              6.1s  cpp -M
      
      - The makeDepend script is for testing purposes only, but could used as
        a hook for other dependency generation systems (eg, ninja).
        It simply wraps 'cpp -M' in a form that is calling compatible with
        wmkdepend.
      
      BUG: wmkdepend parser was missing optional leading space on #include match
      
      STYLE: use -G2 (goto-based) option for wmkdepend state machine
      
      - the machine is compact with few states and lends itself to this
      de72a04a
  2. Apr 11, 2018
  3. Apr 09, 2018
  4. Apr 12, 2018
  5. Apr 11, 2018
  6. Apr 10, 2018
    • Mark OLESEN's avatar
      ENH: additional text expansion shortcuts (issue #792) · a9741cea
      Mark OLESEN authored
      Support the following expansions when they occur at the start of a
      string:
      
          Short-form       Equivalent
          =========       ===========
            <etc>/          ~OpenFOAM/   (as per foamEtcFile)
            <case>/         $FOAM_CASE/
            <constant>/     $FOAM_CASE/constant/
            <system>/       $FOAM_CASE/system/
      
      These can be used in fileName expansions to improve clarity and reduce
      some typing
      
           "<constant>/reactions"   vs  "$FOAM_CASE/constant/reactions"
      a9741cea
  7. Apr 11, 2018
    • Mark OLESEN's avatar
      CONFIG: adjust paraview lib path for 5.5 (issue #793) · d814bce3
      Mark OLESEN authored
        ParaView 5.4 and older:
          - requires lib/paraview-X.X only
      
        ParaView 5.5:
          - requires lib/
          - does not appear to require lib/paraview-X.X, but retained for simplicity
      
      - Change default version to paraview-5.5.0 for testing purposes
      d814bce3
  8. Apr 10, 2018
  9. Apr 09, 2018
    • Mark OLESEN's avatar
      ENH: provide Rand48 as generator in the expected C++11 form · b85d0b5c
      Mark OLESEN authored
      - this removes an OS-specific dependency (eg, drand48_r is not POSIX)
        and allows easier use of other random number generators.
      
        The Rand48 generator has identical behaviour and period as the
        lrand48() library routine, but holds its own seed and state
        (which makes it re-entrant) and can be combined with other
        random distributions.
      
        However, when using the modified form to obtain scalar values
        they will not be identical to what drand48() yields.
      
        This is because drand48() uses the raw 48-bit values to directly
        set the mantissa of an IEEE double where as the newer distribution
        normalizes based on the 32-bit value.
      
      STYLE: simplify code in Random::shuffle and use Swap
      b85d0b5c
  10. Apr 11, 2018
  11. Apr 08, 2018
  12. Apr 06, 2018
  13. Apr 05, 2018
  14. Apr 03, 2018
  15. Mar 28, 2018
  16. Mar 27, 2018
  17. Mar 26, 2018