Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !253

Made sure primitive variable velocity is correctly initialized.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Bert Vandenbroucke requested to merge gizmo_initial_velocity_fix into master Sep 14, 2016
  • Overview 1
  • Commits 1
  • Changes 1

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gizmo_initial_velocity_fix