aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/galilean/analysis_3d.py
diff options
context:
space:
mode:
authorGravatar Olga Shapoval <30510597+oshapoval@users.noreply.github.com> 2020-05-20 21:19:14 -0700
committerGravatar GitHub <noreply@github.com> 2020-05-20 21:19:14 -0700
commit7996bc9abb52c3231d08dce202855635d55efb6a (patch)
treea23795e907bdf43e91d0f0b29f93cd99344d5f16 /Examples/Tests/galilean/analysis_3d.py
parentb4067afbd5f487683d6c0f1e5c8ac835d3373fb6 (diff)
downloadWarpX-7996bc9abb52c3231d08dce202855635d55efb6a.tar.gz
WarpX-7996bc9abb52c3231d08dce202855635d55efb6a.tar.zst
WarpX-7996bc9abb52c3231d08dce202855635d55efb6a.zip
Modified automated test for Galilean PSATD (#1033)
Diffstat (limited to 'Examples/Tests/galilean/analysis_3d.py')
-rwxr-xr-xExamples/Tests/galilean/analysis_3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Tests/galilean/analysis_3d.py b/Examples/Tests/galilean/analysis_3d.py
index 09ef75b3b..00024c715 100755
--- a/Examples/Tests/galilean/analysis_3d.py
+++ b/Examples/Tests/galilean/analysis_3d.py
@@ -24,7 +24,7 @@ Ez= ds.index.grids[0]['boxlib', 'Ez'].squeeze().v
energyE_gal_psatd = np.sum(scc.epsilon_0/2*(Ex**2+Ey**2+Ez**2))
#E field energy precalculated with standard PSATD (v_galilean = (0,0,0))
-energyE_psatd = 21135.7074524
+energyE_psatd = 154618.93650990006
error_rel = energyE_gal_psatd / energyE_psatd
tolerance_rel = 1e-7