aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/reduced_diags/analysis_reduced_diags.py
blob: 1885800376b555fc3a343f648dbe98990211838f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3

# Copyright 2019-2021 Luca Fedeli, Yinjian Zhao
#
# This file is part of WarpX.
#
# License: BSD-3-Clause-LBNL

# This script tests the reduced 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_reduced_diags_impl as an

an.do_analysis(single_precision = False)