1. 03 Oct, 2018 1 commit
  2. 05 Oct, 2018 1 commit
  3. 28 Sep, 2018 1 commit
  4. 11 Sep, 2018 1 commit
  5. 10 Sep, 2018 1 commit
  6. 09 Aug, 2018 1 commit
  7. 08 Aug, 2018 1 commit
  8. 03 Aug, 2018 2 commits
  9. 02 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: IOobject::selectIO helper method · 88e5334a
      Mark Olesen authored
      - centralizes IOobject handling and treatment of alternative locations.
        If an alternative file location is specified, it will be used instead.
      
      - provide decompositionMethod::canonicalName instead of using
        "decomposeParDict" in various places.
      88e5334a
  10. 31 Jul, 2018 1 commit
  11. 30 Jul, 2018 1 commit
  12. 27 Jul, 2018 1 commit
  13. 26 Jul, 2018 2 commits
  14. 24 Jul, 2018 1 commit
  15. 25 Jun, 2018 1 commit
  16. 18 Jun, 2018 1 commit
  17. 14 Jun, 2018 1 commit
    • Will Bainbridge's avatar
      twoPhaseMixtureThermo: Fix for collated file operation · 70bc72c2
      Will Bainbridge authored
      twoPhaseMixtureThermo writes the temperatures during construction only
      for them to be read again immediately after by construction of the
      individual phases' thermo models. When running with collated file
      handling this behaviour is not thread safe. This change deactivates
      threading for the duration of this behaviour.
      
      Patch contributed by Mattijs Janssens
      70bc72c2
  18. 22 Jun, 2018 2 commits
  19. 19 Jun, 2018 1 commit
  20. 01 Jun, 2018 2 commits
    • Mark Olesen's avatar
      ENH: detect excess tokens for "libs" entry (issue #762) · d571e523
      Mark Olesen authored
      - this addresses issue #843
      d571e523
    • Mark Olesen's avatar
      ENH: improve infrastructure for detecting excess tokens (issue #762) · 511b3562
      Mark Olesen authored
      - Always used for optional dictionary entries, since these are individual
        values, and not meant to be embedded in a larger stream of tokens.
      
        Methods:
           - lookupOrDefault, lookupOrAddDefault, lookupOrDefaultCompat
           - readIfPresent, readIfPresentCompat
      
      - Handling mandatory dictionary entries is slightly more complex,
        since these may be part of larger stream of tokens, and are often
        used in a constructor context. For example,
      
            word modelType(dict.lookup("type"));
      
        Or they are used without a definite context. For example,
      
            dict.lookup("format") >> outputFormat;
      
        Newly introduced methods for mandatory dictionary entries:
           - get, getCompat
           - read, readCompat
      
        In a constructor or assignment context:
      
            word modelType(dict.get<word>("type"));
            outputFormat = dict.lookup("format");
      
        without copy/move (similar to readIfPresent):
      
            dict.read("format", outputFormat);
      511b3562
  21. 30 May, 2018 2 commits
  22. 29 May, 2018 1 commit
  23. 28 May, 2018 1 commit
  24. 24 Jan, 2018 1 commit
  25. 20 Dec, 2017 1 commit
  26. 14 Dec, 2017 1 commit
  27. 13 Dec, 2017 1 commit
  28. 17 May, 2018 1 commit
    • Mark Olesen's avatar
      ENH: avoid memory leaks for HashPtrTable, PtrMap insertion (issue #749) · 48d654cf
      Mark Olesen authored
      - disallow insert() of raw pointers, since a failed insertion
        (ie, entry already existed) results in an unmanaged pointer.
      
        Either insert using an autoPtr, or set() with raw pointers or autoPtr.
      
      - IOobjectList::add() now takes an autoPtr instead of an object reference
      
      - IOobjectList::remove() now returns an autoPtr instead of a raw pointer
      48d654cf
  29. 07 May, 2018 1 commit
  30. 02 May, 2018 1 commit
  31. 27 Apr, 2018 2 commits
    • Mark Olesen's avatar
      ENH: make format of ExecutionTime = ... output configurable (issue #788) · dd8341f6
      Mark Olesen authored
      - controlled by the the 'printExecutionFormat' InfoSwitch in
        etc/controlDict
      
            // Style for "ExecutionTime = " output
            // - 0 = seconds (with trailing 's')
            // - 1 = day-hh:mm:ss
      
         ExecutionTime = 112135.2 s  ClockTime = 113017 s
      
         ExecutionTime = 1-07:08:55.20  ClockTime = 1-07:23:37
      
      - Callable via the new Time::printExecutionTime() method,
        which also helps to reduce clutter in the applications.
        Eg,
      
           runTime.printExecutionTime(Info);
      
        vs
      
           Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
               << "  ClockTime = " << runTime.elapsedClockTime() << " s"
               << nl << endl;
      
      --
      
      ENH: return elapsedClockTime() and clockTimeIncrement as double
      
      - previously returned as time_t, which is less portable.
      dd8341f6
    • Mark Olesen's avatar
      STYLE: consistent '// End namespace' markers · c0766ce8
      Mark Olesen authored
      c0766ce8
  32. 26 Apr, 2018 1 commit
    • Mark Olesen's avatar
      CONFIG: bump API version number to 1804 to account for bitSet · 497dde2b
      Mark Olesen authored
      - since PackedBoolList is now a compatibility typedef for bitSet,
        it is useful to have an additional means of distinction.
      
      STYLE: simplify internal version tests and compiler defines.
      
      - the API version is now conveyed via the OPENFOAM define directly.
        The older OPENFOAM_PLUS define is provided for existing code.
      497dde2b
  33. 25 Apr, 2018 2 commits