Skip to content

Draft: Fix Issue #229

Michael Zikeli requested to merge mohr/issue229 into master

The VTKPrinter works only for some ValueTypes, i.e. int32_t, int64_t, double and now float as well. This behavior can't be extended, since Paraview does not support other data types. If one wants to output a function from another type, e.g. float16 / half, the function needs to be cast to one of the abovementioned types.

Another problem was, that no error was produced, if a function of different type was added to the VTKPrinter, the function was simply not present in the output file. This was mentioned in issue #229.


With this merge request, float is added as printable type to this files

  • VTKDGWriter
  • VTKEdgeDoFWriter
  • VTKN1E1Writer
  • VTKP1DGEWriter
  • VTKP1Writer
  • VTKP2Writer

Also, an error is produced now, if one tries to print functions of another type.

Edited by Michael Zikeli

Merge request reports