1. 25 Jul, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: fvMeshSubset improvements (issue #951) · 9b662e70
      Mark OLESEN authored
      - what was previously termed 'setLargeCellSubset()' is now simply
        'setCellSubset()' and supports memory efficient interfaces.
      
        The new parameter ordering avoids ambiguities caused by default
        parameters.
      
        Old parameter order:
      
            setLargeCellSubset
            (
                const labelList& region,
                const label currentRegion,
                const label patchID = -1,
                const bool syncCouples = true
            );
      
        New parameter order:
      
            setCellSubset
            (
                const label regioni,
                const labelUList& regions,
                const label patchID = -1,
                const bool syncCouples = true
            );
      
         And without ambiguity:
      
            setCellSubset
            (
                const labelUList& selectedCells,
                const label patchID = -1,
                const bool syncCouples = true
            );
      
      - support bitSet directly for specifying the selectedCells for
        memory efficiency and ease of use.
      
      - Additional constructors to perform setCellSubset() immediately,
        which simplifies coding.
      
        For example,
      
            meshParts.set
            (
                zonei,
                new fvMeshSubset(mesh, selectedCells)
            );
      
        Or even
      
            return autoPtr<fvMeshSubset>::New(mesh, selectedCells);
      9b662e70
  2. 24 Jul, 2018 1 commit
  3. 26 Jun, 2018 1 commit
  4. 30 May, 2018 1 commit
  5. 24 Apr, 2018 1 commit
    • 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
  6. 12 Apr, 2018 2 commits
  7. 03 Apr, 2018 1 commit
  8. 21 Mar, 2018 1 commit
  9. 31 Jan, 2018 1 commit
  10. 06 Dec, 2017 1 commit
  11. 13 Sep, 2017 1 commit
    • 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
  12. 06 Sep, 2017 1 commit
  13. 12 Sep, 2017 2 commits
  14. 02 Aug, 2017 1 commit
  15. 17 Jul, 2017 1 commit
    • 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
  16. 13 Jun, 2017 1 commit
  17. 24 May, 2017 1 commit
    • 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
  18. 23 May, 2017 1 commit
  19. 15 May, 2017 3 commits
  20. 14 May, 2017 4 commits
  21. 12 May, 2017 2 commits
  22. 18 May, 2017 2 commits
  23. 10 May, 2017 1 commit
  24. 04 Apr, 2017 1 commit
  25. 24 Feb, 2017 1 commit
  26. 23 Feb, 2017 1 commit
  27. 10 Feb, 2017 1 commit
  28. 23 Jan, 2017 1 commit
  29. 12 Jan, 2017 2 commits
    • Mark Olesen's avatar
      ENH: avoid deprecated paraview method SetImmediateUpdate() · 4b7d1e4e
      Mark Olesen authored
      - add support for patch names in block mesh reader.
      4b7d1e4e
    • Mark Olesen's avatar
      ENH: refactor paraview readers code to avoid duplication · ec944d4b
      Mark Olesen authored
      - as originally intended years ago, but never actually done.
      
      - use 'foamPvCore' instead of 'vtkPVReaders' to avoid potential name
        collisions with any 'vtk*' files and since we may reuse these
        functions in other foam-paraview modules (not just readers).
      
      STYLE: use same font size/colour for patch-names as for point-numbers
      
      BUG: repair issue with single time-step
      
      - paraview time-selector returns '0' as the requested time if there is
        only one time step. However, if we have skipped the 0/ directory,
        this single time step is likely a non-zero value.
      ec944d4b
  30. 05 Jan, 2017 1 commit