Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Use VTK for comparing results #274

@BenjaminRodenberg

Description

@BenjaminRodenberg

Currently we use this script to compare the results. There are two problems:

  • Bash is hard to understand and debug (at least for me)
  • It does not compare the actual data, but the content of the files. If the format changes, but the data is still the same this is no regression, since we want to test the data and not the format. However, the tests will fail, since the files differ (e.g. Change "float" to "double" in reference output #273).

I would suggest to use VTK for comparing results. VTK is available in C++ and python. I have some limited experience with vtk in python and think this should be doable with a small python script using VTK. Noteworthy: VTK Is a more or less heavy dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions