Skip to content
Snippets Groups Projects

Made sure primitive variable velocity is correctly initialized.

Merged Bert Vandenbroucke requested to merge gizmo_initial_velocity_fix into master

This fixes #216 (closed). The initial velocities are now initialized (again) in hydro_convert_quantities by using p->v, before they are used to set the momentum. I also removed the if condition from hydro_end_density, as we do not longer care if the primitive variables are overwritten after the initialization step.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading