1. 17 Sep, 2018 2 commits
    • Mark Olesen's avatar
      ENH: parallel and xml output for vtk topoSet writers (issue #926) · 0d2dbaf6
      Mark Olesen authored
      - introduce lower-level vtk::indirectPatchWriter class
    • Mark Olesen's avatar
      ENH: improvements for foamVtkOutput, foamVtkFormatter (issue #926) · 05427217
      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
  2. 06 Jul, 2018 1 commit
  3. 06 Oct, 2017 1 commit
  4. 10 Aug, 2017 1 commit
  5. 17 Jul, 2017 1 commit
    • Mark Olesen's avatar
      ENH: make treatment of stream allocators more uniform (issue #532) · 86ef9e86
      Mark Olesen authored
      - use allocator class to wrap the stream pointers instead of passing
        them into ISstream, OSstream and using a dynamic cast to delete
        then. This is especially important if we will have a bidirectional
        stream (can't delete twice!).
      - file stream constructors with std::string (C++11)
      - for rewind, explicit about in|out direction. This is not currently
        important, but avoids surprises with any future bidirectional access.
      - combined string streams in StringStream.H header.
        Similar to <sstream> include that has both input and output string
  6. 13 Jun, 2017 1 commit
  7. 01 Jun, 2017 1 commit
    • Mark Olesen's avatar
      ENH: add VTP, VTU output for most vtk writers (insitu only) · a2e978d4
      Mark Olesen authored
      - with the xml append format it is possible to write raw binary
        (instead of base64), but the writer becomes more complicated.
        Either needs two passes to create, or need to allocate a block
        of space for the header information (like VTK itself does) and
        write later.
          * internalWriter
          * patchWriter
          * surfaceMeshWriter
          * lagrangianWriter
       Also these special purpose ones:
          * foamVtkWriteSurfFields
  8. 31 May, 2017 1 commit
    • Mark Olesen's avatar
      ENH: construct VTK writers with the outputOptions and adjust internally · c4f13494
      Mark Olesen authored
      - this shifts responsibility away from caller to the individual writers
        for knowing which file formats are supported and which file ending is
        appropriate. When the writer receives the output format request,
        it can elect to downgrade or otherwise adjust it to what it can
        actually manage (eg, legacy vs xml vs xml-append).
        But currently still just with legacy format backends.
  9. 19 May, 2017 1 commit