From 5ffe9ce94306662c84f926a0df3af0d52dd15181 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 30 Nov 2023 07:04:33 +0100 Subject: [PATCH] enforce little endian default on common systems, but the only format the Fortran parser understands --- python/damask/_vtk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/damask/_vtk.py b/python/damask/_vtk.py index aa1e6fcbf..8e1f9fd3f 100644 --- a/python/damask/_vtk.py +++ b/python/damask/_vtk.py @@ -438,6 +438,7 @@ class VTK: writer.SetCompressorTypeToZLib() else: writer.SetCompressorTypeToNone() + writer.SetByteOrderToLittleEndian() writer.SetDataModeToBinary() writer.SetInputData(self.vtk_data)