aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/galilean/analysis_3d.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/galilean/analysis_3d.py')
-rwxr-xr-xExamples/Tests/galilean/analysis_3d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/Tests/galilean/analysis_3d.py b/Examples/Tests/galilean/analysis_3d.py
index 7a08beaac..8af25214d 100755
--- a/Examples/Tests/galilean/analysis_3d.py
+++ b/Examples/Tests/galilean/analysis_3d.py
@@ -26,10 +26,10 @@ 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 = 154618.93650990006
+energyE_psatd = 8218.678808709019
error_rel = energyE_gal_psatd / energyE_psatd
-tolerance_rel = 1e-7
+tolerance_rel = 1e-6
print("error_rel : " + str(error_rel))
print("tolerance_rel: " + str(tolerance_rel))