danieljprice / phantom

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

(shamrock) fix compatibility issues reading dump file #518

Closed danieljprice closed 6 months ago

danieljprice commented 6 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