gandalfcode / gandalf

GANDALF (Graphical Astrophysics code for N-body Dynamics And Lagrangian Fluids)
GNU General Public License v2.0
44 stars 12 forks source link

SEREN Lite format #48

Open giovanni-rosotti opened 8 years ago

giovanni-rosotti commented 8 years ago

See discussion in #39. We are currently able to output snapshots in this format (with the purpose of making movies), but we can't read them in.

dhubber commented 7 years ago

This can be easily done (hopefully) either by directly using the same SEREN read functions we currently have or created a corresponding read function (might be needed since I think the lite snapshots are single precision float by default). One other addition to make is to set a flag to prevent a simulation being run from these snapshots since they do not contain the complete information required (e.g. there is no velocity information).