Skip to content
Snippets Groups Projects
  1. Jan 07, 2020
  2. Jun 23, 2018
  3. Jun 15, 2018
  4. May 30, 2018
  5. May 17, 2018
    • Mark OLESEN's avatar
      ENH: avoid memory leaks for HashPtrTable, PtrMap insertion (issue #749) · 2c5cdebe
      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
      2c5cdebe
  6. Apr 24, 2018
    • Mark OLESEN's avatar
      ENH: improve handling of ThirdParty packages · c794fa0d
      Mark OLESEN authored
      - generalize some of the library extensions (.so vs .dylib).
        Provide as wmake 'sysFunctions'
      
      - added note about unsupported/incomplete system support
      
      - centralize detection of ThirdParty packages into wmake/ subdirectory
        by providing a series of scripts in the spirit of GNU autoconfig.
        For example,
      
            have_boost, have_readline, have_scotch, ...
      
        Each of the `have_<package>` scripts will generally provide the
        following type of functions:
      
            have_<package>          # detection
            no_<package>            # reset
            echo_<package>          # echoing
      
        and the following type of variables:
      
            HAVE_<package>          # unset or 'true'
            <package>_ARCH_PATH     # root for <package>
            <package>_INC_DIR       # include directory for <package>
            <package>_LIB_DIR       # library directory for <package>
      
        This simplifies the calling scripts:
      
            if have_metis
            then
                wmake metisDecomp
            fi
      
        As well as reducing clutter in the corresponding Make/options:
      
            EXE_INC = \
                -I$(METIS_INC_DIR) \
                -I../decompositionMethods/lnInclude
      
            LIB_LIBS = \
                -L$(METIS_LIB_DIR) -lmetis
      
        Any additional modifications (platform-specific or for an external build
        system) can now be made centrally.
      c794fa0d
  7. Apr 18, 2018
  8. Apr 12, 2018
  9. Apr 11, 2018
  10. Apr 03, 2018
  11. Mar 26, 2018
    • Mark OLESEN's avatar
      STYLE: consistent lookupOrDefault template parameters · f2a7200c
      Mark OLESEN authored
      - in many cases can just use lookupOrDefault("key", bool) instead of
        lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a
        bool from an Istream uses the Switch(Istream&) anyhow
      
      STYLE: relocated Switch string names into file-local scope
      f2a7200c
  12. Mar 21, 2018
  13. Feb 27, 2018
  14. Jan 31, 2018
  15. Dec 06, 2017
  16. Sep 13, 2017
    • Andrew Heather's avatar
      ENH: Lagrangian - provided backwards compatibility for cases using the · 984f8f00
      Andrew Heather authored
      old "positions" file form
      
      The change to barycentric-based tracking changed the contents of the
      cloud "positions" file to a new format comprising the barycentric
      co-ordinates and other cell position-based info.  This broke
      backwards compatibility, providing no option to restart old cases
      (v1706 and earlier), and caused difficulties for dependent code, e.g.
      for post-processing utilities that could only infer the contents only
      after reading.
      
      The barycentric position info is now written to a file called
      "coordinates" with provision to restart old cases for which only the
      "positions" file is available. Related utilities, e.g. for parallel
      running and data conversion have been updated to be able to support both
      file types.
      
      To write the "positions" file by default, use set the following option
      in the InfoSwitches section of the controlDict:
      
          writeLagrangianPositions 1;
      984f8f00
  17. Sep 06, 2017
  18. Sep 12, 2017
  19. Aug 02, 2017
  20. Jul 20, 2017
  21. Jul 17, 2017
    • Mark OLESEN's avatar
      ENH: make treatment of stream allocators more uniform (issue #532) · 41cfd4d0
      Mark OLESEN authored
      - use allocator class to wrap the stream pointers instead of passing
        them into ISstream, OSstream and using a dynamic cast to delete
        then. This is especially important if we will have a bidirectional
        stream (can't delete twice!).
      
      STYLE:
      
      - file stream constructors with std::string (C++11)
      
      - for rewind, explicit about in|out direction. This is not currently
        important, but avoids surprises with any future bidirectional access.
      
      - combined string streams in StringStream.H header.
        Similar to <sstream> include that has both input and output string
        streams.
      41cfd4d0
    • Mark OLESEN's avatar
      bc5d4880
  22. Jul 03, 2017
  23. Jun 13, 2017
  24. May 24, 2017
    • Mark OLESEN's avatar
      ENH: paraview reader module with internal caching of the vtk geometries · 8d900264
      Mark OLESEN authored
      - The reader module allows two levels of caching.
        The OpenFOAM fvMesh can be cached in memory, for faster loading of
        fields. Additionally, the translated VTK geometries are held in a
        local cache. The cached VTK geometries should incur no additional
        overhead since they use the VTK reference counting for their storage
        management.
      8d900264
  25. May 23, 2017
  26. May 15, 2017
  27. May 14, 2017
  28. May 12, 2017
  29. May 18, 2017