Skip to content
Snippets Groups Projects

Prevent overflows in time step calculations with RT

Merged Mladen Ivkovic requested to merge debugging_rt into master
All threads resolved!

In certain cases, overflows may occur when computing the hydro time step sizes in the timestep tasks. Specifically, this may occur when a) the total physical simulation time to be covered is short; b) there are particles with long time step sizes (e.g. like in voids); and c) a large number of sub-cycles is permitted.

I added a check and a fix for that.

I also noticed that I'm not properly initializing the RT time step data anywhere. It shouldn't be a problem, but I added it during first_init anyway. Better safe than sorry.

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