danieljprice / phantom

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

Correct a bug preventing the initialization of dust properties in 1 fluid with dustgrowth in moddump_dustadd #415

Closed StephaneMichoulier closed 1 year ago

StephaneMichoulier commented 1 year ago

Type of PR: Bug fix

Description: Correct a bug preventing the initialization of dust properties in 1 fluid with dustgrowth in moddump_dustadd. The initialization of the dust properties couldn't be done because the routine was in the loop for 2 fluids only.

Testing: Add dust to a gas simulation in one fluid with moddump_dustadd.

Did you run the bots? no

Did you update relevant documentation in the docs directory? no