diff options
Diffstat (limited to 'Examples/Tests/particle_fields_diags/analysis_particle_diags_single.py')
-rwxr-xr-x | Examples/Tests/particle_fields_diags/analysis_particle_diags_single.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Examples/Tests/particle_fields_diags/analysis_particle_diags_single.py b/Examples/Tests/particle_fields_diags/analysis_particle_diags_single.py new file mode 100755 index 000000000..56d98831e --- /dev/null +++ b/Examples/Tests/particle_fields_diags/analysis_particle_diags_single.py @@ -0,0 +1,16 @@ +#!/usr/bin/env python3 + +# Copyright 2019-2022 Luca Fedeli, Yinjian Zhao, Hannah Klion +# +# This file is part of WarpX. +# +# License: BSD-3-Clause-LBNL + +# This script tests the reduced particle diagnostics. +# The setup is a uniform plasma with electrons, protons and photons. +# Various particle and field quantities are written to file using the reduced diagnostics +# and compared with the corresponding quantities computed from the data in the plotfiles. + +import analysis_particle_diags_impl as an + +an.do_analysis(single_precision = True) |