Read Int16 from binary file in XDMF

Using some trial and reading code, I found out that the actual name for the NumberType is Short and Precision is not required at all.
But this is contrary to the XDMF documentation which states that there is only Int/UInt and Precision…
Anyways, the here given names work: https://github.com/Kitware/VTK/blob/d8b0762aefab75155d66f84f1f845893cd0eb184/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArrayType.cpp#L237

1 Like