-
Notifications
You must be signed in to change notification settings - Fork 18
Avoiding issues when propagating a laser with dt=0 #1219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
What do you think we should do? Solution A) or B) |
I would prefer B). I wonder what Maxence thinks about this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! Having to specify dt (or any parameter) although unnecessary is IMO a bit confusing. I would therefore recommend to keep dt optional, default 0, and indeed assert that dt > 0
(not only non-zero!) when laser is used. Then, if needed, the CI input files should be updated.
This pull request kept the parameter
hipace.dt
optional, default 0 ; but asserts that dt > 0 (not only non-zero!) when laser is used.3 CI input scripts + json files have been updated.