diff options
author | 2020-10-22 15:12:20 -0700 | |
---|---|---|
committer | 2020-10-22 15:12:20 -0700 | |
commit | 536c3b417666b11c7143d17cc5a7759b7af0da9c (patch) | |
tree | eee99c3378a8fe9fcecc4162af2808ada6f54a5a /Python/pywarpx/picmi.py | |
parent | dde26c13e9a54dbae396b02a3daad7f09652747d (diff) | |
download | WarpX-536c3b417666b11c7143d17cc5a7759b7af0da9c.tar.gz WarpX-536c3b417666b11c7143d17cc5a7759b7af0da9c.tar.zst WarpX-536c3b417666b11c7143d17cc5a7759b7af0da9c.zip |
picmi - minor cleanup, removing unneeded input quantities (#1446)
Diffstat (limited to '')
-rw-r--r-- | Python/pywarpx/picmi.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index e6d3f53a9..7e7fbd9d4 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -132,10 +132,6 @@ class GaussianBunchDistribution(picmistandard.PICMI_GaussianBunchDistribution): if density_scale is not None: species.q_tot *= density_scale - # --- These need to be defined even though they are not used - species.profile = "constant" - species.density = 1 - # --- The PICMI standard doesn't yet have a way of specifying these values. # --- They should default to the size of the domain. They are not typically # --- necessary though since any particles outside the domain are rejected. @@ -293,11 +289,6 @@ class ParticleListDistribution(picmistandard.PICMI_ParticleListDistribution): if density_scale is not None: species.single_particle_weight *= density_scale - # --- These need to be defined even though they are not used - species.profile = "constant" - species.density = 1 - species.momentum_distribution_type = 'constant' - class ParticleDistributionPlanarInjector(picmistandard.PICMI_ParticleDistributionPlanarInjector): pass |