aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/photon_pusher
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/photon_pusher')
-rwxr-xr-xExamples/Tests/photon_pusher/check.py2
-rw-r--r--Examples/Tests/photon_pusher/inputs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/Tests/photon_pusher/check.py b/Examples/Tests/photon_pusher/check.py
index 3e6873842..d0986de48 100755
--- a/Examples/Tests/photon_pusher/check.py
+++ b/Examples/Tests/photon_pusher/check.py
@@ -112,7 +112,7 @@ def generate():
f.write("geometry.prob_hi = 0.5e-6 0.5e-6 0.5e-6\n")
f.write("warpx.do_pml = 0\n")
f.write("algo.charge_deposition = standard\n")
- f.write("algo.field_gathering = standard\n")
+ f.write("algo.field_gathering = energy-conserving\n")
f.write("warpx.cfl = 1.0\n")
f.write("\nparticles.nspecies = {}\n".format(len(spec_names)))
diff --git a/Examples/Tests/photon_pusher/inputs b/Examples/Tests/photon_pusher/inputs
index 751eb2a6e..1d61d76b4 100644
--- a/Examples/Tests/photon_pusher/inputs
+++ b/Examples/Tests/photon_pusher/inputs
@@ -14,7 +14,7 @@ geometry.prob_lo = -0.5e-6 -0.5e-6 -0.5e-6
geometry.prob_hi = 0.5e-6 0.5e-6 0.5e-6
warpx.do_pml = 0
algo.charge_deposition = standard
-algo.field_gathering = standard
+algo.field_gathering = energy-conserving
warpx.cfl = 1.0
particles.nspecies = 16