aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2020-07-02 16:02:38 -0700
committerGravatar GitHub <noreply@github.com> 2020-07-02 16:02:38 -0700
commit81dd5a670799b72d0e99f04cb5028566ad767b18 (patch)
tree22038fd47ca042cd76e86e7b9535121149431211 /Source/WarpX.cpp
parent8d3f260ab158ca1ca9834b3517b7ea1441cf1225 (diff)
downloadWarpX-81dd5a670799b72d0e99f04cb5028566ad767b18.tar.gz
WarpX-81dd5a670799b72d0e99f04cb5028566ad767b18.tar.zst
WarpX-81dd5a670799b72d0e99f04cb5028566ad767b18.zip
PSATD: current correction works only with global FFTs (#1131)
* Clean up implementation of current correction: - abort when current correction runs with psatd.periodic_single_box_fft=0 - rename input parameter from psatd.do_current_correction to psatd.current_correction - add nodal tests in 2D and 3D (using direct current deposition) - change 2D test: use Esirkepov deposition, instead of direct, as in 3D test - add/update relevant checksum benchmarks * Small clean-up
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 1c5002076..9999dd40b 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -605,7 +605,7 @@ WarpX::ReadParameters ()
pp.query("nox", nox_fft);
pp.query("noy", noy_fft);
pp.query("noz", noz_fft);
- pp.query("do_current_correction", do_current_correction);
+ pp.query("current_correction", current_correction);
pp.query("v_galilean", v_galilean);
// Scale the velocity by the speed of light
for (int i=0; i<3; i++) v_galilean[i] *= PhysConst::c;