diff options
Diffstat (limited to 'Examples/Modules')
-rwxr-xr-x | Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py | 4 | ||||
-rwxr-xr-x | Examples/Modules/ionization/ionization_analysis.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py b/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py index 86214ad72..21bfcf945 100755 --- a/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py +++ b/Examples/Modules/RigidInjection/analysis_rigid_injection_LabFrame.py @@ -23,7 +23,7 @@ filename = sys.argv[1] # WarpX headers include more data when rigid injection is used, # which gives an error with the last yt release. -# To avoid this issue, the three last lines of WarpXHeader are removed if +# To avoid this issue, the three last lines of WarpXHeader are removed if # needed. def remove_rigid_lines(plotfile, nlines_if_rigid): header_name = plotfile + '/WarpXHeader' @@ -32,7 +32,7 @@ def remove_rigid_lines(plotfile, nlines_if_rigid): nlines = len(file_lines) f.close() if nlines == nlines_if_rigid: - f = open(header_name, 'w') + f = open(header_name, 'w') f.writelines(file_lines[:-3]) f.close() diff --git a/Examples/Modules/ionization/ionization_analysis.py b/Examples/Modules/ionization/ionization_analysis.py index b94541f90..f512eac6e 100755 --- a/Examples/Modules/ionization/ionization_analysis.py +++ b/Examples/Modules/ionization/ionization_analysis.py @@ -4,12 +4,12 @@ This script tests the result of the ionization module in WarpX. Input files inputs.rt and inputs.bf.rt are used to reproduce the test from -Chen, JCP, 2013, figure 2 (in the lab frame and in a boosted frame, +Chen, JCP, 2013, figure 2 (in the lab frame and in a boosted frame, respectively): a plane-wave laser pulse propagates through a uniform N2+ neutral plasma and further ionizes the Nitrogen atoms. This test checks that, after the laser went through the plasma, ~32% of Nitrogen ions are N5+, in agreement with theory from Chen's article. -""" +""" import sys import yt |