1. 07 Feb, 2019 3 commits
  2. 22 Jan, 2019 1 commit
    • Mark OLESEN's avatar
      ENH: improved handling of zone allocation in surfMesh · 0800e021
      Mark OLESEN authored
      - relocate zone IO from Detail::MeshedSurfaceIOAllocator into surfMesh
        directly to allow re-purposing of MeshedSurfaceIOAllocator
      - provide meshedSurf::emptySurface zero-sized placeholder implementation
      - add concrete implementation of meshedSurf::zoneIds() to simplify
  3. 07 Feb, 2019 2 commits
    • Mark OLESEN's avatar
      ENH: extend size of NullObject for safer reinterpret cast · eaa3da72
      Mark OLESEN authored
      - previously had a single pointer/value zeros (8 bytes), this meant
        that the reinterpret cast to a List would yield a reference that
        could be unsafe under certain conditions.
           const labelList& myList = labelList::null();
           Info<< myList.size() << nl; // OK since size is the first parameter
           SubList<label>(myList, 0);  // Unsafe
        The SubList usage is unsafe since it passes in pointer and size into
        the underlying UList. However, the pointer from the labelList::null()
        will be whatever happens to be around in memory immediately after the
        NullObject singleton. This is mostly not a problem if the List size
        is always checked, but does mean that the data pointer is rather
      - Increase the size of the nullObject singleton to 32 bytes of zeros
        to ensure that most reinterpret casting will not result in objects
        that reference arbitrary memory.
        The 32-byte data size is rather arbitrary, but covers most basic
    • Mark OLESEN's avatar
  4. 05 Feb, 2019 1 commit
  5. 07 Feb, 2019 3 commits
  6. 06 Feb, 2019 10 commits
  7. 05 Feb, 2019 3 commits
  8. 04 Feb, 2019 5 commits
  9. 01 Feb, 2019 5 commits
  10. 30 Jan, 2019 1 commit
  11. 29 Jan, 2019 2 commits
    • Andrew Heather's avatar
      GIT: Added gitlab templates · f7729d6f
      Andrew Heather authored
    • Mark OLESEN's avatar
      ENH: restructuring of ensight output files · b7fb6116
      Mark OLESEN authored
      - changed ensightOutput from a class solely comprising static methods to
        a namespace and added in sub-namespaces Detail and Serial.
        This makes it easier to "mix-in" functions at different levels.
        Refactored and combined some serial/parallel code where possible.
        The general ensightOutput namespace has now shifted to be in the
        fileFormats lib, while leaving volField outputs in the conversion lib
        and cloud outputs in the lagrangian-intermediate lib.
        The ensightCloud namespace is now simply folded into the new
        ensightOutput namespace.
        These changes clean up some code, reduce fragmentation and
        duplication and removes the previous libconversion dependency for
      - use int for ensight nTypes constexpr
      Note: issue #1176 is unaffected except for the change in file name:
         ensightOutputTemplates.C -> ensightOutputVolFieldTemplates.C
  12. 31 Jan, 2019 4 commits