1. 29 Mar, 2021 3 commits
  2. 23 Mar, 2021 3 commits
    • Mark Olesen's avatar
      COMP: fix VTK9 module linkage for runTimePostProcessing · 53a6d8cd
      Mark Olesen authored
      - simpler version checks
      
      - compile into mpi-specific target directories for better support of
        different MPI vendors
      
      - use MPI hint from MPI_ARCH_PATH and OSMESA hint from MESA_ARCH_PATH.
        Set internally as env variable to allow further override via a CMake
        variable.
      53a6d8cd
    • Mark Olesen's avatar
      COMP: fix VTK9 module linkage for catalyst · 7b639ccf
      Mark Olesen authored
      - Require paraview >= 5.6, simpler version checks
      
      - compile into mpi-specific target directories for better support of
        different MPI vendors
      
      - use MPI hint from MPI_ARCH_PATH and OSMESA hint from MESA_ARCH_PATH.
        Set internally as env variable to allow further override via a CMake
        variable.
      7b639ccf
    • Mark Olesen's avatar
      COMP: simpler version checks for plugins · d7b971a4
      Mark Olesen authored
      - adjust linked libraries
      
      - use OSMESA hint from MESA_ARCH_PATH.
        Set internally as env variable to allow further override via a CMake
        variable.
      d7b971a4
  3. 11 Mar, 2021 2 commits
    • Mark Olesen's avatar
      ENH: minor improvements for foamReader plugin · 4f7e7a92
      Mark Olesen authored
      - select all volume fields on startup instead of just T/p/U, which
        was a holdover from when memory was much more limited
      
      - align multiblock names with foamToVTK
        - "patches" -> "boundary"
      4f7e7a92
    • Mark Olesen's avatar
      BUG: pointPatch value ignored in plugin · bca92136
      Mark Olesen authored
      - pointPatches may or may not have a "value" type.
        Use the patch value field where possible and the internal field
        otherwise. Previously always used the internal field.
      bca92136
  4. 26 Jan, 2021 2 commits
  5. 17 Dec, 2020 2 commits
  6. 24 Jul, 2020 1 commit
    • Mark Olesen's avatar
      BUG: incorrect installation prefix (fixes #2) · 766c82b8
      Mark Olesen authored
      - struck by the old dash bug, but also has some remnants of building
        into the project directory by default. It should be the user
        directory for consistency with other modules.
      
        This can be overriden with the "-prefix" option.
      766c82b8
  7. 15 Jul, 2020 1 commit
  8. 07 Jun, 2020 1 commit
  9. 06 May, 2020 2 commits
    • Mark Olesen's avatar
      ENH: improve installation handling · 59bdcfb3
      Mark Olesen authored
      - uses updated cmake/paraview scripts (1912, patch=200506)
        to support a user-specified installation prefix.
      
        Reworked the wmake Make/{files,options} files to respect the use
        of CMAKE_INSTALL_PREFIX, or default to FOAM_LIBBIN.
      
        Similarly the CMakeLists files have been updated to add install
        targets that respect the value of CMAKE_INSTALL_PREFIX.
      
        For building with paraview-5.7 and 5.8 a "staged" install is used
        to retain the expected output directory structure and to silently
        discard the unneeded static libraries.
      59bdcfb3
    • Mark Olesen's avatar
      556d0a76
  10. 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
  11. 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
  12. 22 Jan, 2020 2 commits
  13. 20 Jan, 2020 3 commits
  14. 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
  15. 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
  16. 06 Nov, 2019 1 commit
  17. 05 Nov, 2019 1 commit
  18. 04 Nov, 2019 1 commit
  19. 01 Nov, 2019 1 commit
  20. 31 Oct, 2019 1 commit
  21. 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
  22. 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
  23. 12 Jul, 2019 1 commit
  24. 27 Jun, 2019 1 commit
  25. 25 Jun, 2019 1 commit
  26. 14 Jun, 2019 1 commit
  27. 05 Jun, 2019 1 commit
  28. 03 Jun, 2019 1 commit