1. 28 Jan, 2020 1 commit
    • Mark Olesen's avatar
      ENH: adjust wrapping routines for new vtkCellArray definition · 9338f0b8
      Mark Olesen authored
      - the vtkCellArray internal structure was still largely oriented on
        the VTK legacy format, but has now been revised.
        https://gitlab.kitware.com/vtk/vtk/merge_requests/5682
      
        The `VTK_CELL_ARRAY_V2` define from vtkCellArray.h indicates
        that the newer version is being used.
      
      * In VTK-8.2.0 and older, sizes are interwoven (prefixed) in the
        connectivity.
      
        Connectivity: [n1, verts..., n2, verts... ]
      
        When using these in vtkUnstructuredGrid, also needed a secondary
        list of offsets for each of the starting locations.
      
      * The update version now resembles a CompactListList. For example
      
        Connectivity: [verts..., verts... ]
        Offsets:      [0, n1, n1+n2, n1+n2+n3... ]
      
        The offsets are properly handled within vtkCellArray, and dropped as
        an additional input for vtkUnstructuredGrid.
      9338f0b8
  2. 23 Jan, 2020 12 commits
  3. 22 Jan, 2020 2 commits
  4. 21 Jan, 2020 2 commits
  5. 20 Jan, 2020 2 commits
  6. 17 Jan, 2020 1 commit
  7. 16 Jan, 2020 2 commits
    • Mark Olesen's avatar
      ENH: provide defaultName() static method for patches, zones · f0be8679
      Mark Olesen authored
      - consistent way of writing "patch" + Foam::name(id) etc.
      f0be8679
    • Mark Olesen's avatar
      ENH: consistency improvements for surface patch handling (fixes #483) · 2a98c4e6
      Mark Olesen authored
      - remove (unused) Istream constructors, prune some unused methods,
        rationalize write() vs writeDict().
        Deprecate inconsistent construction order.
      
      - handle empty names for ".ftr" surface patches (for plain triSurface
        format) with double-quoted strings for more reliable streaming.
        Written on a single line.
      
        This is _backward_ compatible, but if users have been parsing these
        files manually, they will need to adjust their code.
      
      Previously:
      ```
        (
        frt-fairing:001%1
        empty
      
        windshield:002%2
        empty
        ...
        )
      ```
      
      Updated (with example handling of empty name):
      ```
        (
        frt-fairing:001%1 empty
      
        windshield:002%2 ""
        ...
        )
      ```
      2a98c4e6
  8. 15 Jan, 2020 1 commit
  9. 13 Jan, 2020 1 commit
  10. 09 Jan, 2020 1 commit
  11. 17 Jan, 2020 1 commit
  12. 22 Jan, 2020 1 commit
  13. 21 Jan, 2020 1 commit
  14. 16 Jan, 2020 2 commits
  15. 13 Jan, 2020 6 commits
  16. 10 Jan, 2020 4 commits