enforce little endian

default on common systems, but the only format the Fortran parser
understands
This commit is contained in:
Martin Diehl 2023-11-30 07:04:33 +01:00
parent 9f8ecd44b0
commit 5ffe9ce943
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ class VTK:
writer.SetCompressorTypeToZLib() writer.SetCompressorTypeToZLib()
else: else:
writer.SetCompressorTypeToNone() writer.SetCompressorTypeToNone()
writer.SetByteOrderToLittleEndian()
writer.SetDataModeToBinary() writer.SetDataModeToBinary()
writer.SetInputData(self.vtk_data) writer.SetInputData(self.vtk_data)