-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix in get_hit_times, l_correct_time
So far when specifying the sampling time for a dedicated output, like dt_movie, the time array for the outputs was constructed assuming that the code would run dt_old*n_time_steps, which could be quite wrong when the time step increases. To prevent this, I rather fix the time array to one single entry in that case and increment its value by dt_* whenever l_correct_time is hit.
- Loading branch information
Showing
5 changed files
with
101 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.