diff options
author | 2020-07-27 21:44:25 -0700 | |
---|---|---|
committer | 2020-07-27 21:44:25 -0700 | |
commit | 26277c3d56745d04f64be116240609c3f1088877 (patch) | |
tree | 2cd823174e2d40a16d9685a73cbf8623e83708f0 /Python/pywarpx/Particles.py | |
parent | 289cb5b05e8865008fca9e0f0f63379fa80ce704 (diff) | |
download | WarpX-26277c3d56745d04f64be116240609c3f1088877.tar.gz WarpX-26277c3d56745d04f64be116240609c3f1088877.tar.zst WarpX-26277c3d56745d04f64be116240609c3f1088877.zip |
Input: Remove n<something> options (#1217)
* Input: Remove n<something> options
The information in
- lasers.nlasers
- particles.nspecies
- collisions.ncollisions
is redundant with their `<...>.names` counter-part and requires users
to change info at two locations. We just remove this now since we can
query the size of names automatically in the parser.
* Examples: remove n<something>
Removes:
- lasers.nlasers
- particles.nspecies
- collisions.ncollisions
from examples.
* QED: Update nspecies
* Removed nspecies and nlasers from the Python interface
Co-authored-by: Dave Grote <grote1@llnl.gov>
Diffstat (limited to 'Python/pywarpx/Particles.py')
-rw-r--r-- | Python/pywarpx/Particles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/Particles.py b/Python/pywarpx/Particles.py index 227cc44d9..3d08e1fa5 100644 --- a/Python/pywarpx/Particles.py +++ b/Python/pywarpx/Particles.py @@ -6,7 +6,7 @@ from .Bucket import Bucket -particles = Bucket('particles', nspecies=0, species_names=[]) +particles = Bucket('particles', species_names=[]) particles_list = [] electrons = Bucket('electrons') |