diff options
author | 2023-05-16 07:40:46 -0700 | |
---|---|---|
committer | 2023-05-16 07:40:46 -0700 | |
commit | 0b1dd865ef1a14614c0d03014128003c63f4c563 (patch) | |
tree | 358d94a01b5aa24ab784d1b1bb57a5fa7c5d76d5 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms | |
parent | 7ad15056b00a0d530474c983f3299639b7ba3fcc (diff) | |
download | WarpX-0b1dd865ef1a14614c0d03014128003c63f4c563.tar.gz WarpX-0b1dd865ef1a14614c0d03014128003c63f4c563.tar.zst WarpX-0b1dd865ef1a14614c0d03014128003c63f4c563.zip |
Bug fix - PEC - Remove duplicate boundary cell updates for rho and J (#3890)
* break application of PEC to rho into separate loops over boxes
* round #1: fix failing CI tests
* also apply the fix to the `ApplyPECtoJfield`
* round 2: fix failing CI tests
* round 3: fix failing CI tests
* refactor PEC handling for charge and current density
* removed unused variable
* round 4: fix failing CI tests
* Fix `mirrorfac` calculation for `rho`
* only apply rho and J PEC boundaries for Cartesian grid (for now) in `SyncCurrentAndRho()`
* use the same kernel to apply PEC boundary to rho and J
* perform J and rho PEC application for RZ but warn about incorrect results if r_max is PEC
* do not apply PEC boundary for rho and J to r-max in RZ
* set warning level to medium and increase abort_on_warning_threshold to high for failing CI tests
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms')
0 files changed, 0 insertions, 0 deletions