danieljprice / phantom

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

(ptmass) fix a doubled contribution of the vdep force correction... #564

Closed Yrisch closed 4 months ago

Yrisch commented 4 months ago

Type of PR: Bug fix

Description: Fix the conservation bug due to a doubled contribution of the vdep force correction

Testing: I tested the fix with the setup proposed in #562. The previous and the current version of the code are now in agreement.

Did you run the bots? no

Did you update relevant documentation in the docs directory? no