Skip to content
Snippets Groups Projects
  1. Jul 06, 2018
  2. Jun 27, 2018
    • Will Bainbridge's avatar
      fileHandler: Added flush method · 2ae4bf73
      Will Bainbridge authored
      This method waits until all the threads have completed IO operations and
      then clears any cached information about the files on disk. This
      replaces the deactivation of threading by means of zeroing the buffer
      size when writing and reading of a file happen in sequence. It also
      allows paraFoam to update the list of available times.
      
      Patch contributed by Mattijs Janssens
      Resolves bug report https://bugs.openfoam.org/view.php?id=2962
      2ae4bf73
  3. Jun 14, 2018
    • 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
  4. Jun 19, 2018
  5. Aug 13, 2018
  6. Aug 14, 2018
  7. Aug 13, 2018
  8. Aug 10, 2018
  9. Aug 09, 2018
  10. Aug 08, 2018
    • Mark OLESEN's avatar
      STYLE: use edgeHashes include · ca5d9123
      Mark OLESEN authored
      STYLE: use initial hash size 128 instead of 100 in a few places
      ca5d9123
    • Mark OLESEN's avatar
      ENH: add missing Hash function for List/UList (issue #966) · dd9ecd49
      Mark OLESEN authored
      - there were previously no hashing mechanisms for lists so they
        would fall back to the definition for primitives and hash the
        memory location of the allocated List object.
      
      - provide a UList::Hash<> sub-class for inheritance, and also a global
        specialization for UList<T>, List<T> such that the hash value for
        List<List<T>> cascades properly.
      
      - provide similar function in triFace to ensure that it remains
        similar in behaviour to face.
      
      - added SymmHash to Pair, for use when order is unimportant.
      
      STYLE: use string::hash() more consistently
      
      - no particular reason to use Hash<word>() which forwards to
        string::hash() anyhow
      dd9ecd49
    • Mark OLESEN's avatar
      STYLE: use readList mechanism for -funcs option · 82bad81d
      Mark OLESEN authored
      - allows single or multiple entries
      82bad81d
    • Mark OLESEN's avatar
      ENH: ignore -noFunctionObjects option when disabled · e0f83938
      Mark OLESEN authored
      - With argList::noFunctionObjects() we use the logic added in
        4b933332 (issue #352)
      
        By removing the '-noFunctionObjects' option, we automatically
        suppress the creation of function-objects via Time (with argList
        as a parameter).
        There is generally no need in these cases for an additional
      
            runTime.functionObjects().off()  statement
      
        Use the argList::noFunctionObjects() for more direct configuration
        and reduce unnecessary clutter in the -help information.
      
        In previous versions, the -noFunctionObjects would have been redundant
        anyhow, so we can also just ignore it now instead.
      e0f83938
  11. Aug 07, 2018
    • Mark OLESEN's avatar
      ENH: make indices for boundBox::add() a templated parameter · 822acaf6
      Mark OLESEN authored
      - allows use with any container with begin(), end() and where the
        "*iterator" dereference returns a label, which is used for indexing
        into the list of points.
        This container could be labelUList, bitSet, labelHashSet, etc
      822acaf6
    • Mark OLESEN's avatar
      ENH: new cuttingPlane cutting scheme · 7bb68b4d
      Mark OLESEN authored
      - takes a direct approach of determining which cells are cut and walks
        the cell faces directly to build the resulting surface.
      
      - better handling of corner cases.
        * Avoids redundant points when the cut passes exactly through a
          mesh point.
        * Supresses generation of duplicates faces when the plane cut
          coincides exactly with a mesh face.
      
      - for severely concave cells where the plane cuts a face multiple times
        there is currently no remedial action taken, except to note the
        failure and unwind the insertion of the corresponding points and
        faces.
      7bb68b4d
  12. Aug 06, 2018
  13. Aug 07, 2018
  14. Aug 06, 2018