Skip to content
Snippets Groups Projects
  1. Jan 27, 2020
    • 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. Jan 23, 2020
    • 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. Jan 22, 2020
  4. Jan 20, 2020
  5. Dec 12, 2019
    • 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
      v1912
      e3d971dd
  6. Nov 11, 2019
    • 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. Nov 06, 2019
  8. Nov 05, 2019
  9. Nov 04, 2019
  10. Nov 01, 2019
  11. Oct 31, 2019
  12. Oct 04, 2019
    • 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. Aug 02, 2019
    • 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. Jul 12, 2019
  15. Jun 27, 2019
  16. Jun 25, 2019
  17. Jun 14, 2019
  18. Jun 05, 2019
  19. Jun 03, 2019
  20. May 31, 2019
  21. Mar 11, 2019
  22. Feb 13, 2019
    • 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. Feb 06, 2019
  24. Feb 03, 2019
  25. Jan 31, 2019
  26. Jan 23, 2019
  27. Jan 07, 2019
  28. May 30, 2019
  29. Dec 16, 2018
  30. Dec 15, 2018
  31. Dec 14, 2018
    • 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. Dec 11, 2018
    • 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. Dec 05, 2018