Nico Schlömer

Results 521 comments of Nico Schlömer

An interesting suggestion. I'll probably look at it at some point.

Same for verticals I guess.

Hm, interesting. Looks like a rare bug in meshio. Do you have ssh-access to any of those machines?

Yep. In `test/meshes/` you'll find `elephant.vtu`. What's the result of ```python import meshio meshio.read("elephant.vtu") ``` on that machine?

Okay, so this is really a meshio bug. Can you print all of the involved variables plus ``` print(len(byte_string)) ``` etc?

Okay, so it's the `numblocks`. What's the output of ``` dtype.byteorder sys.byteorder byte_string numpy.frombuffer(byte_string, dtype) ``` ? (Both s390x and amd64 would be nice.)

Possible fix: Add ```python if self.byte_order is not None: dtype = dtype.newbyteorder( "" ) ``` after the `dtype` definition. Could you try that out?

Ah, wait. The error is elsewhere.

``` print(cells) ``` before the call to `_organize_cells` (line 250)?