aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/PML/analysis_pml_yee.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Tests/PML/analysis_pml_yee.py')
-rwxr-xr-xExamples/Tests/PML/analysis_pml_yee.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Examples/Tests/PML/analysis_pml_yee.py b/Examples/Tests/PML/analysis_pml_yee.py
index 61527ef2d..f10b281c5 100755
--- a/Examples/Tests/PML/analysis_pml_yee.py
+++ b/Examples/Tests/PML/analysis_pml_yee.py
@@ -8,11 +8,13 @@
# License: BSD-3-Clause-LBNL
+import os
import sys
-import yt ; yt.funcs.mylog.setLevel(0)
+
import numpy as np
-import os
import scipy.constants as scc
+
+import yt ; yt.funcs.mylog.setLevel(0)
sys.path.insert(1, '../../../../warpx/Regression/Checksum/')
import checksumAPI
@@ -55,6 +57,7 @@ assert( error_rel < tolerance_rel )
# Check restart data v. original data
sys.path.insert(0, '../../../../warpx/Examples/')
from analysis_default_restart import check_restart
+
check_restart(filename)
test_name = os.path.split(os.getcwd())[1]