1. 27 Jan, 2020 1 commit
    • Mark Olesen's avatar
      CONFIG: increase cmake requirement for build · 19a4e158
      Mark Olesen authored
      - building paraview-5.7 and later requires cmake >= 3.10 itself
        but cmake-3.8 appears to work adequately for building dependent
        components
      
      - use VERSION_GREATER_EQUAL instead of GREATER_EQUAL
      19a4e158
  2. 23 Jan, 2020 1 commit
    • Mark Olesen's avatar
      ENH: support plugin building for paraview-5.7 · 26f5a091
      Mark Olesen authored
      Note
          For paraview-5.7 (and later?) plugins are built into their own subdirs.
          It also is not possible to suppress creation of static libraries in
          the process.
      
      The current solution is still a bit ugly
        - install into a local "staged" location (within the build directory)
        - use rsync to relocate to the .so files to the plugin directory
      26f5a091
  3. 22 Jan, 2020 2 commits
  4. 20 Jan, 2020 3 commits
  5. 12 Dec, 2019 1 commit
    • Mark Olesen's avatar
      CONFIG: prefer use of ParaView_MESA_DIR in runTimePostProcessing · e3d971dd
      Mark Olesen authored
      - when using VTK from ParaView sources it can better to tag them as
        such, but simultaneously not mask the ParaView with hardware
        rendering.
      
        The additional ParaView_MESA_DIR variable allows this.
        The balance of library and path setup is unaffected by this.
      
      STYLE: cleanup of Allwclean, Allwmake
      
      CONFIG: remove local version of cmakeVersionedInstall
      e3d971dd
  6. 11 Nov, 2019 2 commits
    • Mark Olesen's avatar
      ENH: rationalize some string methods. · 06f08f74
      Mark Olesen authored
      - silently deprecate 'startsWith', 'endsWith' methods
        (added in 2016: 2b1436066221), in favour of
        'starts_with', 'ends_with' methods, corresponding to C++20 and
        allowing us to cull then in a few years.
      
      - handle single character versions of starts_with, ends_with.
      
      - add single character version of removeEnd and silently deprecate
        removeTrailing which did the same thing.
      
      - drop the const versions of removeRepeated, removeTrailing.
        Unused and with potential confusion.
      
      STYLE: use shrink_to_fit(), erase()
      06f08f74
    • Mark Olesen's avatar
      COMP: adjust common paraview library name to vtkPVFoamCommon · d1591319
      Mark Olesen authored
      - similar prefixing as the dependent readers, making it easier to
        identify
      
      - add FOAM_API information as server module version
      d1591319
  7. 06 Nov, 2019 1 commit
  8. 05 Nov, 2019 1 commit
  9. 04 Nov, 2019 1 commit
  10. 01 Nov, 2019 1 commit
  11. 31 Oct, 2019 1 commit
  12. 04 Oct, 2019 1 commit
    • Mark Olesen's avatar
      CONFIG: adjustments for CMake files · 7eb1ef75
      Mark Olesen authored
      - drop plugin support for Qt4 (old paraview)
      
      - handle upcoming changes in VTK version naming in CMake files
        * VTK_MAJOR_VERSION becomes VTK_VERSION_MAJOR etc.
      7eb1ef75
  13. 02 Aug, 2019 1 commit
    • Mark Olesen's avatar
      ENH: rationalize cloud method inheritance · 382f1da1
      Mark Olesen authored
      - a top-level cloud::nParcels() virtual, which is overloaded by the
        first level of Cloud inheritance. This permits quick determination of
        cloud sizes, even when retrieved from registry with the base level.
        Eg,
            cloud* cldPtr = mesh.cfindObject<cloud>("myCloud");
            label nParcels = (cldPtr ? cldPtr->nParcels() : 0);
      
      - make writeLagrangianPositions on by default unless explicitly
        disabled in the InfoSwitches.
      
        Flag output errors (where neither coordinates nor positions are
        written) with Fatal.
      
      - additional IOField helper functions in cloud
      
      STYLE: simplify iterator inheritance
      382f1da1
  14. 12 Jul, 2019 1 commit
  15. 27 Jun, 2019 1 commit
  16. 25 Jun, 2019 1 commit
  17. 14 Jun, 2019 1 commit
  18. 05 Jun, 2019 1 commit
  19. 03 Jun, 2019 1 commit
  20. 31 May, 2019 1 commit
  21. 11 Mar, 2019 1 commit
  22. 13 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: extended runTimePostProcessing (#1206) · ee4c3cb7
      Mark Olesen authored
      - Extended runTimePostProcessing to include access to "live"
        simulation objects such a geometry patches and sampled surfaces
        stored on the "functionObjectObjects" registry.
      
      - Add 'live' runTimePostProcessing of cloud data.
        Extracts position and fields from the cloud via its objectRegistry writer
      
      - For the "live" simulation objects, there are two new volume filters
        that work directly with the OpenFOAM volume fields:
            * iso-surface
            * cutting planes
        Both use the VTK algorithms directly and support multiple values.
        Eg, can make multiple iso-levels or multiple planes parallel to each
        other.
      
      - When VTK has been compiled with MPI-support, parallel rendering will
        be used.
      
      - Additional title text properties (shadow, italic etc)
      
      - Simplified handling of scalar-bar and visibility switches
      
      - Support multiple text positions. Eg, for adding watermark text.
      ee4c3cb7
  23. 06 Feb, 2019 1 commit
  24. 03 Feb, 2019 1 commit
  25. 31 Jan, 2019 1 commit
  26. 23 Jan, 2019 1 commit
  27. 07 Jan, 2019 3 commits
  28. 30 May, 2019 1 commit
  29. 16 Dec, 2018 2 commits
  30. 15 Dec, 2018 1 commit
  31. 14 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: make "file" property in functionObjects a relative path (issue #1125) · 3fd38fce
      Mark Olesen authored
      - partial solution for issue #1091
      
        This generates file properties that are case-relative,
        Eg,
      
            plane0
            {
                p
                {
                    file "<case>/postProcessing/plane0/1/p_plane0.vtk";
                }
                U
                {
                    file "<case>/postProcessing/plane0/1/U_plane0.vtk";
                }
            }
      
         This allows the case to be moved elsewhere and still find its files.
      
         This functionality was previously added for vtkCloud, but now also
         applies to streamLine, sampledSets and sampledSurfaces
      3fd38fce
  32. 11 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · 3d4e4a21
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      3d4e4a21
  33. 05 Dec, 2018 1 commit