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