warpx
warpx copied to clipboard
[WIP] Fix Bugs w/ Current Correction and Vay Deposition
Fix #3232. Filtering will also need to be moved to the right locations, though (depends on another open PR).
To-do: merge #3302 first and rebase afterwards.
Currently not supporting (to be addressed in future PRs):
- Vay deposition and current correction at the same time;
- Vay deposition with periodic single box (cumulative sums to be fixed).
Tests:
- Example with 2D Langmuir test with 2x2 grids, with current correction and direct deposition (inputs_2d.txt):
- Example with RZ LWFA with 1x6 grids, with current correction and direct deposition (input deck attached as first test case reported in #3232, modified by adding
warpx.numprocs = 1 6to have one grid per GPU):