aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/restart/analysis_restart.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21pre-commit: Python imports (#2686)Gravatar Axel Huebl 1-1/+3
* pre-commit: Python imports Add two new Python rules to: - remove unused imports - sort imports according to PEP8 * pre-commit: Python imports Add two new Python rules to: - remove unused imports - sort imports according to PEP8 `.editorconfig`: isort options https://github.com/PyCQA/isort/wiki/isort-Settings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move import os (mpl) * move import yt (mpl) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup around matplotlib.use * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleaning: double np and lib Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-16Generalize Analysis Scripts: Number of Digits (plt) (#2683)Gravatar Axel Huebl 1-1/+2
* Update Scripts to Handle New File Names * Use glob in Analysis of Collision Tests * Use rstrip in Analysis of Collision Tests * Regex: Match ends-in-digits Thanks Phil! :) Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
2021-12-15Examples: Python ShellBang & Executable (#2673)Gravatar Axel Huebl 1-1/+1
* Examples: Python ShellBang & Executable Make sure that all PICMI scripts and all analysis Python scripts in `Examples/` are: - executable (`chmod a+x`) - start with a shell-bang to `python3` Now, all scripts can be run directly without a `python3 ...` prefix and also default to the only right executable of Python on older systems. (New systems always have a `python3` alias, too.) * Revert a moved numpy
2021-10-27Python Module for Analysis of Restart Tests (#2493)Gravatar Edoardo Zoni 1-30/+4
* Python Module for Analysis of Restart Tests * Remove Unused Import
2021-10-07Improve Python Analysis of Restart Tests (#2384)Gravatar Edoardo Zoni 1-34/+31
* Check All Particle Species, All Directions * Check also Particle Momenta * Add Check on Particle Weight, Fields * Smaller Field Tolerance (1e-12) * Single Loop over Particles and Fields * Cleaning * Add ds.force_periodicity() for yt-4.0
2021-10-06Python Analysis of Restart Tests: Small Cleanup (#2368)Gravatar Edoardo Zoni 1-9/+1
* Python Analysis of Restart Tests: Small Cleanup * Remove Unused Import
2021-09-21Fix Bug in PSATD Restart with Time Averaging (#2318)Gravatar Edoardo Zoni 1-1/+6
* Fix Bug in PSATD Restart with Time Averaging * PSATD Time Avg Restart: Add CI Test - restart test - use recommended boundary conditions for the spectral solver in z Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-08-23Enable restart with PSATD (#1367)Gravatar Remi Lehe 1-2/+5
* Enable restart with PSATD * Add new restart test * Add new input file * New CI Test: Fix Inputs, Fix Analysis Script * Reuse input for Restart with FDTD * Read time_of_last_gal_shift from Checkpoint * Upload Benchmark for restart_psatd * Update Benchmark for restart_psatd Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
2021-02-08Add a automated test for testing restart (#1623)Gravatar Yinjian Zhao 1-0/+46
* Update inputs_3d * Update inputs_2d * Update inputs_2d * Update inputs_3d * add restart test * minor * minor * Update analysis_restart.py * Make the analysis script executable. * fix * add restart.json Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>