aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules
diff options
context:
space:
mode:
authorGravatar NeilZaim <49716072+NeilZaim@users.noreply.github.com> 2020-12-01 20:41:00 +0100
committerGravatar GitHub <noreply@github.com> 2020-12-01 11:41:00 -0800
commite044430eb54cea9c2b8fb9ccfb6d54d1976ab4c8 (patch)
tree0db1046ca0acf928704074dbacc5d86465c0d23b /Examples/Modules
parent89c371557a9ff271a35ec337046757a2d18f71b5 (diff)
downloadWarpX-e044430eb54cea9c2b8fb9ccfb6d54d1976ab4c8.tar.gz
WarpX-e044430eb54cea9c2b8fb9ccfb6d54d1976ab4c8.tar.zst
WarpX-e044430eb54cea9c2b8fb9ccfb6d54d1976ab4c8.zip
Add the possibility to disable Schwinger in part of the domain (#1524)
* Add the possibility to disable Schwinger in part of the domain * Update checksum benchmarks * Only query ymin and ymax in 3D
Diffstat (limited to 'Examples/Modules')
-rwxr-xr-xExamples/Modules/qed/schwinger/analysis_schwinger.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/Modules/qed/schwinger/analysis_schwinger.py b/Examples/Modules/qed/schwinger/analysis_schwinger.py
index 25dadeb42..119e47d7b 100755
--- a/Examples/Modules/qed/schwinger/analysis_schwinger.py
+++ b/Examples/Modules/qed/schwinger/analysis_schwinger.py
@@ -53,6 +53,7 @@ elif test_number == '2':
Bx_test = 1679288857.0516706
By_test = 525665014.1557486
Bz_test = 1836353079.9561853
+ dV = dV/2. # Schwinger is only activated in part of the simulation domain
elif test_number == '3':
# Third Schwinger test with intermediate electric field such that average created pair per cell
# is 1. A Poisson distribution is used to obtain the weights of the particles.
@@ -63,6 +64,7 @@ elif test_number == '4':
# case.
Ez_test = 2.5e+20
By_test = 833910140000.
+ dV = dV*(3./4.)**2. # Schwinger is only activated in part of the simulation domain
else:
assert(False)