aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/pyWarpX.H
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2023-08-20 14:26:37 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-20 14:26:37 -0700
commit5b74a61c631102a1c121a3668d0c02098c259b9b (patch)
tree818d73a3b4b75cf191b51e0bdb581b145d63b0eb /Source/Python/pyWarpX.H
parent9ce0b9c2cbd8f4881347a3f0d5a6cbf04c7a7919 (diff)
downloadWarpX-5b74a61c631102a1c121a3668d0c02098c259b9b.tar.gz
WarpX-5b74a61c631102a1c121a3668d0c02098c259b9b.tar.zst
WarpX-5b74a61c631102a1c121a3668d0c02098c259b9b.zip
Include `J` in diagnostic output when an electromagnetic solver is not used (#4116)
* include current density in diagnostic output even if an electromagnetic solver is not used * do not redeposit current for the magnetostatic solver * update CI benchmarks for tests that previously did not register current density * fix remaining failing CI test * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * do not output current density in collision tests * update `JFunctor` constructor doc-string * code cleanup - reduce code duplication * specify `Ex Ey Ez Bx By Bz` fields to plot for collision CI tests * specify `Er Et Ez Br Bt Bz` as output for rz collision test * rename `InterpolateToDst` to `InterpolateMFForDiag` * only deposit current density once per diagnostic output (if not already deposited) * write deposited current for all directions into `current_fp` during diagnostic step deposition * use `amrex::make_alias` to directly deposit current density into `warpx.current_fp` during diagnostic step deposition * add class variable `solver_deposits_current` to `FullDiagnostics` so that there is only one place where the determination is made whether current should be deposited during diagnostic output * correct logic to determine `m_solver_deposits_current` --------- Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Diffstat (limited to 'Source/Python/pyWarpX.H')
0 files changed, 0 insertions, 0 deletions