P-R #352 caused a problem with restarting phantom from a dump made by an older version of the code, since idtmax_n was set to zero by default when not present in the dump header. This is now fixed.
the timestep constraint in the one fluid dust / dust-as-mixture method was not being applied if the array size for the dustfrac was larger than ndustsmall due to a check for minval(dustfrac(:)) > 0, now changed to minval(dustfrac(1:ndustsmall))
added a warning to cons2prim if the total dust fraction exceeds unity
Testing:
Code restarts successfully from previously generated snapshot and gives a warning if the total dust fraction exceeds unity
Did you run the bots? no
Did you update relevant documentation in the docs directory? n/a
Type of PR: Bug fix
Description: several important bug fixes:
P-R #352 caused a problem with restarting phantom from a dump made by an older version of the code, since idtmax_n was set to zero by default when not present in the dump header. This is now fixed.
the timestep constraint in the one fluid dust / dust-as-mixture method was not being applied if the array size for the dustfrac was larger than ndustsmall due to a check for minval(dustfrac(:)) > 0, now changed to minval(dustfrac(1:ndustsmall))
added a warning to cons2prim if the total dust fraction exceeds unity
Testing: Code restarts successfully from previously generated snapshot and gives a warning if the total dust fraction exceeds unity
Did you run the bots? no
Did you update relevant documentation in the docs directory? n/a