-
Notifications
You must be signed in to change notification settings - Fork 196
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
Add PICMI Scripts for LWFA Tests #2700
Conversation
@ax3l Did you want me to add these as CI tests as well? I'm not sure I understood that correctly. If not, I will have to rename the PICMI scripts avoiding the |
There is already the test case |
@dpgrote Thank you, that's a good point. I think we can remove that script, because it doesn't reflect 100% the corresponding input file |
Yes, a perfect copy of the Feel free to remove the other one to avoid confusing as Dave suggests. yes, please add the new PICMI inputs to |
Let's fix that in the 1D case. 0.9 is an old value, we should not suggest that to users. |
I would actually say we should add a witness beam in all those inputs. makes for a nice test and vis case as well. This could replace #1631 then. |
Examples/Physics_applications/laser_acceleration/PICMI_inputs_3d.py
Outdated
Show resolved
Hide resolved
Thanks a lot for adding these, @EZoni !! 🙏 |
@@ -1657,24 +1657,6 @@ compareParticles = 1 | |||
particleTypes = electrons beam | |||
analysisRoutine = Examples/analysis_default_regression.py | |||
|
|||
[Python_LaserAccelerationMR] |
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.
This test was associated with the old PICMI script that was removed, and I think it was not using mesh refinement (despite what the name tag MR
may suggest).
I suggest that we push any changes that affect the benchmarks (e.g. CFL value or adding a witness beam) in a separate PR. Then, this PR should not require any benchmark reset. Moreover, the new benchmarks for the new Python tests will be the exact copy of the existing ones, if the PICMI scripts mimic the corresponding original input files correctly. |
@@ -1,25 +1,46 @@ | |||
{ | |||
"beam": { |
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.
Keep in mind that this is actually a new, different test, but shows up as a benchmark change because an old test with the same name (but actually different setup) was removed (see other comment on WarpX-tests.ini).
Note that the changes in
where I simply replaced the old PICMI script |
Add missing shellbang lines.
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.
Thank you :)
Add PICMI scripts and CI tests for LWFA in 1D, 2D, 3D and RZ geometries, mimicking the original input files in Examples/Physics_applications/laser_acceleration/.
We can probably leave the following three items to separate follow-up PRs:
warpx.cfl
in all tests