-
Notifications
You must be signed in to change notification settings - Fork 202
[WIP] Removed assert and allowed bilinear filtering along r with RZ FDTD #4789
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?
[WIP] Removed assert and allowed bilinear filtering along r with RZ FDTD #4789
Conversation
@@ -20,8 +20,7 @@ boundary.field_hi = pec pec | |||
################################# | |||
warpx.verbose = 1 | |||
warpx.do_dive_cleaning = 0 | |||
warpx.use_filter = 1 | |||
warpx.filter_npass_each_dir = 0 1 | |||
#warpx.use_filter = 1 |
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.
Wouldn't it be better to use use_filter = 1
here, to test the new capability?
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.
Yes, here we want to use and set warpx.use_filter = 1
explicitly, still needed to clean up after testing. Thank you for spotting this. Fixed in 6d87779.
@oshapoval can you locally take a look why |
for more information, see https://pre-commit.ci
This PR removes an abort message which prevented from using bilinear filtering for charge and currents on the mesh, along
r
with RZ FDTD. Previously this assert message was added because we had observed strange results in RZ FDTD when filtering was ON ( see #1943 ) that we do not observe anymore.Now, the default is
warpx.use_filter=1
in all cases, including the simulations with RZ FDTD solver. Note, with the RZ PSATD solver, the filtering is donek
-space.One can also set the number of passes along each direction
warpx.filter_npass_each_dir
(3 int
), and default is1 1 1
.inputs_rz.txt