1. 23 Jan, 2019 1 commit
  2. 10 Jan, 2019 1 commit
  3. 15 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify use of case-relative paths · 70a50d61
      Mark Olesen authored
      - provide relativePath() for argList and for Time.
        These are relative to the case globalPath().
           Info<< "output: " << runTime.relativePath(outputFile) << nl;
  4. 14 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: make "file" property in functionObjects a relative path (issue #1125) · 0cbb07f5
      Mark Olesen authored
      - partial solution for issue #1091
        This generates file properties that are case-relative,
                    file "<case>/postProcessing/plane0/1/p_plane0.vtk";
                    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
  5. 24 Nov, 2018 4 commits
    • Mark Olesen's avatar
      ENH: improvements for dataCloud function object (issue #1044) · bea9d37d
      Mark Olesen authored
      - now supports a parcel selection mechanism like vtkCloud,
        giving the ability to select a subset of parcels.
        For example, a given stride, or removal of parcels with a small
            dataCloud output Time: 3.2
            Applying parcel filtering to 994 parcels
            - add stride 4
            - subtract field U : (less 0.2)
            After filtering using 214/994 parcels
      - add output precision control for dataCloud
    • Mark Olesen's avatar
      ENH: output filtering of vtkCloud by user selection (#1056) · bca26c16
      Mark Olesen authored
      - can filter by stride or field information.
        For example,
                    // every 10th parcelId
                    action  add;
                    source  stride;
                    stride  10;
                    // Remove slow parcels
                    action  subtract;
                    source  field;
                    field   U;
                    accept  (less 1e-3);
                    // Only particular diameter ranges
                    action  subset;
                    source  field;
                    field   d;
                    accept  (greater 1e-3) and (less 1e-3);
    • Mark Olesen's avatar
      ENH: code improvements for vtkCloud function object (issue #926) · 3586a32b
      Mark Olesen authored
      - use parallel list writing, beginDataArray methods.
      - use static_assert to restrict conversion of non-label integral types
      - cache .vtp.series information by fileName instead of by cloud name.
        This issues if the output directory changes, and simplifies code.
      ENH: emit TimeValue in files generated by vtkCloud
      - additional information for passing to ParaView
      ENH: vtkCloud output to postProcessing/ (issue #866)
      - better alignment with other function objects, no collision with
        foamToVTK output.
    • Mark Olesen's avatar
      ENH: improvements for foamVtkOutput, foamVtkFormatter (issue #926) · 1b4fe17a
      Mark Olesen authored
      - parallel list output for foamVtkOutput
      - simplified '.series' file output
      - beginDataArray() method instead of openDataArray() + closeTag()
        since this seems to be the most common use anyhow.
        With an optional argument for leaving the tag open, this works the
        same as openDataArray() which may be deprecated in the future.
      - begin/end methods for CellData, PointData, FieldData (commonly used)
      - templating parameters for file headers, content version,
        legacy fields. This improves coding robustness and convenience of use.
      - use formatter and higher-level methods for legacy output
      - attribute quoting character now part of the formatter itself
        instead of as an argument for xmlAttr().
        Toggle with quoting() method.
      - pair-wise processing of xml attributes, which also allows them to be
        passed as optional entries when creating an xml tag.
      - xmlComment with multiple arguments
  6. 17 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify objectRegistry access names (issue #322) · 3a3e954b
      Mark Olesen authored
        New name:  findObject(), cfindObject()
        Old name:  lookupObjectPtr()
            Return a const pointer or nullptr on failure.
        New name:  findObject()
        Old name:  --
            Return a non-const pointer or nullptr on failure.
        New name:  getObjectPtr()
        Old name:  lookupObjectRefPtr()
            Return a non-const pointer or nullptr on failure.
            Can be called on a const object and it will perform a
      - use these updated names and functionality in more places
      NB: The older methods names are deprecated, but continue to be defined.
  7. 10 Sep, 2018 1 commit
  8. 05 Aug, 2018 1 commit
  9. 11 Jul, 2018 1 commit
    • Mark Olesen's avatar
      BUG: vtkCloud suppresses output for empty clouds (closes #866) · 64f7cf2f
      Mark Olesen authored
      - the original intention was to avoid vtp output when the clouds are
        empty anyhow. However, it is useful for post-processing to have
        clouds with zero parcels (eg, before the start of injection).
        Pruning of empty clouds is now an option in the vtkCloud dictionary
        controls, with the default being false (no pruning). This represents
        a non-breaking change in behaviour since it generates more output
        than previously.
            type    vtkCloud;
            //- Suppress writing of empty clouds (default: false)
            prune   true;
  10. 19 Jun, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: restrict vtkCloud output names to use time-index (issue #866) · 9db5942d
      Mark Olesen authored
      - this provides easily sortable names.
        The time information is available via the corresponding .series
        file, which can also be loaded directly with ParaView 5.5 or later.
        For further redundancy, time information is saved in the first XML
        comment inside of the .vtp files. For example,
            <!-- cloud=limestoneCloud1 time=0.005 index=200 -->
  11. 15 Jun, 2018 1 commit