-
Notifications
You must be signed in to change notification settings - Fork 191
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
usage of plot_filter_function(t,x,y,z,ux,uy,uz) #1574
Comments
Hm, I thought we had a test on this but I cannot spot it.
|
The issue seems to a units bug in WarpX. What we actually store for the particle momenta is |
I have attempted to fix this in PR #1598 |
@hightower8083 when you get to it, can you please confirm the latest |
I did some independent tests on the same filter logic on openPMD files in #1632 and can confirm that this works (I filtered electrons over a certain non-zero gamma locally to see if I can spot heated electrons in the right energy range - worked well!) Please don't hesitate to perform your own tests nonetheless. |
dear devs
I've a problem with the
plot_filter_function(t,x,y,z,ux,uy,uz)
in a 3D case (multi-GPU) withplotfile
diagnostics backend.By no means I could not make it work for a simple filter
(uz>1.5)
-- it writes no particles at all..Here is a piece of the input file
Just in case, i've also tried SI units instead of normalized, i.e. replace
(uz>1.5)
with(uz>4.0963867961067354e-22)
, but still no particles were written..Can someone provide a working case for debugging..?
The text was updated successfully, but these errors were encountered: