Skip to content

vtk export: adding new functionalities #833

@etiennebresciani

Description

@etiennebresciani

I have been developing a few new functionalities for exporting data in vtk format. Namely:

  • Exporting the data in vtk ImageData (.vti) or RectilinearGrid (.vtr) formats when possible, instead of always UnstructuredGrid (.vtu), since this will tremendously reduce file volume and will speed up subsequent operations (e.g. in Paraview)
  • Exporting vectors (e.g., specific discharge)
  • Improved interpolation for values at vertices

However, from the comments on issue #666, I am noticing that somebody might already be working on vtk functionalities. What is the status of this work? Should I rather wait before submitting anything, so as to avoid possibly-difficult conflicts?

Secondly, I am also a bit uncomfortable with submitting changes because the current regression tests for vtk (i.e., t050) are quite weak. Namely, the tests only check that the code runs without error: they do not check what is actually written. Would someone have worked on having more comprehensive tests (I realize that this may require a vtk reader)? Should I still submit a PR regardless (after a few manual checks, of course)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions