danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
110 stars 246 forks source link

(shamrock) fix compatibility issues reading dump file #518

Closed danieljprice closed 8 months ago

danieljprice commented 8 months ago

Type of PR: Bug fix

Description: Bug fix reading dumps created with shamrock code, where there is only one block, or with MHD arrays in block 1 instead of block 4

Testing: successfully read shamrock output in phantom format

Did you run the bots? no

Did you update relevant documentation in the docs directory? no