1. 12 Jun, 2019 1 commit
  2. 24 Apr, 2019 1 commit
  3. 02 Apr, 2019 1 commit
    • Mark Olesen's avatar
      ENH: improve code isolation for signal-handling · c24fbfd7
      Mark Olesen authored
      - file-local static for saving the old action, which moves system
        dependencies out of the header files.
      
      - set/reset of signals as file-local functions
      
      STYLE: use csignal header instead of signal.h
      c24fbfd7
  4. 06 Feb, 2019 1 commit
  5. 18 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: cleanup of Enum class · 3b745122
      Mark Olesen authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      
      - new readEntry, readIfPresent methods
      
      - The get() method replaces the now deprecate lookup() method.
      
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      
      - output of the names is now always flatted without line-breaks.
        Thus,
      
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
      
        both generate the same output.
      
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using this class to enumerate
        other things since it internally uses an 'int' for its values.
      
        Changed volumeType accordingly to enumerate on its type (enum),
        not the class itself.
      3b745122
  6. 13 Mar, 2018 1 commit
    • Mark Olesen's avatar
      ENH: code reduction in PackedList, PackedBoolList (issue #751) · 5d1fb235
      Mark Olesen authored
      - eliminate iterators from PackedList since they were unused, had
        lower performance than direct access and added unneeded complexity.
      
      - eliminate auto-vivify for the PackedList '[] operator.
        The set() method provides any required auto-vivification and
        removing this ability from the '[]' operator allows for a lower
        when accessing the values. Replaced the previous cascade of iterators
        with simpler reference class.
      
      PackedBoolList:
      
      - (temporarily) eliminate logic and addition operators since
        these contained partially unclear semantics.
      
      - the new test() method tests the value of a single bit position and
        returns a bool without any ambiguity caused by the return type
        (like the get() method), nor the const/non-const access (like
        operator[] has). The name corresponds to what std::bitset uses.
      
      - more consistent use of PackedBoolList test(), set(), unset() methods
        for fewer operation and clearer code. Eg,
      
            if (list.test(index)) ...    |  if (list[index]) ...
            if (!list.test(index)) ...   |  if (list[index] == 0u) ...
            list.set(index);             |  list[index] = 1u;
            list.unset(index);           |  list[index] = 0u;
      
      - deleted the operator=(const labelUList&) and replaced with a setMany()
        method for more clarity about the intended operation and to avoid any
        potential inadvertent behaviour.
      5d1fb235
  7. 17 Jul, 2017 1 commit
  8. 03 Jul, 2017 1 commit
  9. 25 Nov, 2016 1 commit
  10. 05 Aug, 2016 1 commit
  11. 29 Feb, 2016 1 commit
  12. 11 Nov, 2015 1 commit
  13. 14 Feb, 2015 1 commit
  14. 31 Dec, 2014 2 commits
    • Henry's avatar
      Updated headers · ded2f257
      Henry authored
      ded2f257
    • Henry's avatar
      Added and verified support for 64bit labels · 325b003b
      Henry authored
      To compile with 64bit labels set
      
      WM_LABEL_SIZE=64
      
      in ~/OpenFOAM/dev/prefs.sh
      
      source ~/.bashrc
      
      then Allwmake in OpenFOAM-dev.
      
      This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt
      
      If WM_LABEL_SIZE is unset or set to 32:
      
      WM_LABEL_SIZE=32
      
      the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt
      
      Thus both 32bit and 64bit label builds can coexist without problem.
      325b003b
  15. 14 Oct, 2013 1 commit
  16. 12 Mar, 2013 1 commit
  17. 17 Dec, 2012 1 commit
  18. 24 Sep, 2012 1 commit
  19. 29 Apr, 2012 1 commit
  20. 14 Aug, 2011 1 commit
  21. 19 Jul, 2011 1 commit
  22. 07 Feb, 2011 1 commit
  23. 19 Jan, 2011 1 commit
  24. 07 Jan, 2011 1 commit
  25. 05 Jan, 2011 2 commits
  26. 17 Dec, 2010 1 commit
  27. 02 Dec, 2010 1 commit
  28. 29 Nov, 2010 1 commit
  29. 16 Nov, 2010 1 commit
  30. 26 Oct, 2010 1 commit
  31. 21 Oct, 2010 1 commit
  32. 19 Oct, 2010 1 commit
  33. 12 Oct, 2010 1 commit
  34. 29 Aug, 2010 1 commit
  35. 26 Aug, 2010 1 commit
  36. 15 Jul, 2010 1 commit
  37. 07 Jun, 2010 1 commit
  38. 02 Jun, 2010 1 commit