1. 31 May, 2019 1 commit
  2. 19 Mar, 2019 2 commits
  3. 13 Feb, 2019 1 commit
  4. 12 Feb, 2019 1 commit
  5. 07 Feb, 2019 1 commit
  6. 06 Feb, 2019 1 commit
  7. 23 Jan, 2019 2 commits
  8. 21 Jan, 2019 1 commit
  9. 09 Jan, 2019 1 commit
  10. 11 Dec, 2018 1 commit
  11. 05 Dec, 2018 1 commit
    • Mark Olesen's avatar
      BUG: unguarded use of globalIndex in vtk writers (fixes #1110) · f3c38996
      Mark Olesen authored
      - the problem occurred when running the writers in a parallel solver
        or utility but requesting output on the master only.
        Adjusted the logic to avoid globalIndex for these cases.
        Previously the if (parallel_) checks were happening later, after the
        globalIndex had already been created.
  12. 24 Nov, 2018 6 commits
    • Mark Olesen's avatar
      STYLE: remove file series handling from foamVtkOutput · d325cff6
      Mark Olesen authored
      - now handled by the vtk::seriesWriter, and with its static methods.
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: vtk::vtmWriter for generating vtkMultiBlockDataSet (.vtm) (issue #926) · 4fdd0e64
      Mark Olesen authored
      - Provides a means of accumulating file entries for generating vtm
        by accumulate blocks, datasets and writing them later.
        Only a single block depth is currently supported and the methods
        are kept fairly simple.
    • Mark Olesen's avatar
      ENH: vtk::fileWriter base class for geometry/field writers (issue #926) · ee558c56
      Mark Olesen authored
      - Output formats such as vtp, vtu follow a particular internal data
        structure (HEAD, FIELD_DATA, PIECE, CELL_DATA/POINT_DATA) and other
        output conventions. This writer base tracks these expected output
        states internally to help avoid logic errors in the callers.
    • 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
    • Mark Olesen's avatar
      ENH: add renumbering support into foamVtuSizing algorithm (issue #926) · 9ed7b351
      Mark Olesen authored
      - allows cell point labels will use global numbering, but only for
        unmerged points. We'd ideally like to avoid point merging per se,
        and instead use VTK point blanking instead (as required).
        This approach allows parallel collation of the output into a single
        piece directly.
  13. 07 Nov, 2018 1 commit
  14. 06 Nov, 2018 1 commit
  15. 03 Nov, 2018 1 commit
    • Mark Olesen's avatar
      BUG: eof errors in the STARCD, VTK file reader (#1059) · e7fe651e
      Mark Olesen authored
      - previously simply read files until the input stream went bad and no
        more lines could be read.  With the more stringent checking of
        values read (commit f32ed9ff) this approach causes problems.
        Use the underlying tokenizer instead to decide about termination.
  16. 01 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: limit vtk floatField range (fixes #1055) · effcb955
      Mark Olesen authored
      - for space-savings the VTK fields are normally written as 'float'
        rather than double. When a double field contains very large values,
        these can result in a overflow when converted to float.
        Now trap these with the appropriate numeric limits.
        No warning when these values are clipped: it should be readily
        apparent from the output.
      ENH: handle symmTensor component swapping directly on VTK output.
      - use VTK output routines in vtkSurfaceWriter to benefit from the
        above changes
  17. 19 Oct, 2018 1 commit
    • Mark Olesen's avatar
      ENH: cleanup of Enum class · 9fd7e9fc
      Mark Olesen authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      - new readEntry, readIfPresent methods
      - The get() method replaces the now deprecate lookup() method.
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      - output of the names is now always flatted without line-breaks.
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
        both generate the same output.
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using this class to enumerate
        other things since it internally uses an 'int' for its values.
        Changed volumeType accordingly to enumerate on its type (enum),
        not the class itself.
  18. 05 Oct, 2018 1 commit
  19. 13 Aug, 2018 1 commit
  20. 09 Aug, 2018 1 commit
  21. 15 Jun, 2018 1 commit
  22. 12 Jun, 2018 1 commit
  23. 31 May, 2018 1 commit
  24. 30 May, 2018 1 commit
  25. 22 Nov, 2017 1 commit
  26. 20 Nov, 2017 1 commit
  27. 18 Nov, 2017 1 commit
    • Mark Olesen's avatar
      ENH: enumerations for known cell models in cellModel, ptr/ref lookups · e4b6387a
      Mark Olesen authored
      - this provides a better typesafe means of locating predefined cell
        models than relying on strings. The lookup is now ptr() or ref()
        directly. The lookup functions behave like on-demand singletons when
        loading "etc/cellModels".
        Functionality is now located entirely in cellModel but a forwarding
        version of cellModeller is provided for API (but not ABI) compatibility
        with older existing user code.
      STYLE: use constexpr for cellMatcher constants
  28. 06 Jul, 2017 1 commit
  29. 14 Jun, 2017 5 commits