Skip to content

Vtk mesh converter: safely convert all integer types.

After a recent update of some package in ArchLinux reading of bulk_node_ids started to fail. This lead to investigation of how the vtk data arrays are converted to OGS mesh properties.

Mainly the vtkLongArray and vtkLongLongArray conversions (and same for unsigned types) were merged because both results in same length integer type of 8 bytes.

Add compile-time tests for conversion of integer types since in OGS we use the char, short, int, long types which are not guaranteed to be of corresponding length of vtk types.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?

Somewhat related to #3053

Edited by Christoph Lehmann

Merge request reports