danieljprice / phantom

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

read .in file using the routines used to read .setup files #594

Open danieljprice opened 1 month ago

danieljprice commented 1 month ago

For #513 it would be helpful to read the phantom infile using the database/read_inopts routines that are used to read the .setup file

This should have been done anyway but was always a bit too "big and complicated" to do because there are so many modules using the old style read_options routines with select case and read statements... but it's time to clean this up

_Originally posted by @danieljprice in https://github.com/danieljprice/phantom/pull/513#discussion_r1787207652_