diff options
author | 2019-04-29 13:56:04 -0700 | |
---|---|---|
committer | 2019-04-29 13:56:04 -0700 | |
commit | 68f260b3eb72178ebf9c2f4135af43d0dc687d2b (patch) | |
tree | 1cfd15b87373f1dade99f777908fa2b2eef16f8d /Python/pywarpx/WarpX.py | |
parent | c2b4a4e35febef5b6adc7d050a146ac1588cc4d7 (diff) | |
download | WarpX-68f260b3eb72178ebf9c2f4135af43d0dc687d2b.tar.gz WarpX-68f260b3eb72178ebf9c2f4135af43d0dc687d2b.tar.zst WarpX-68f260b3eb72178ebf9c2f4135af43d0dc687d2b.zip |
Implemented multiple antennas in picmi
Diffstat (limited to 'Python/pywarpx/WarpX.py')
-rw-r--r-- | Python/pywarpx/WarpX.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Python/pywarpx/WarpX.py b/Python/pywarpx/WarpX.py index 4e4e41187..5f7477e58 100644 --- a/Python/pywarpx/WarpX.py +++ b/Python/pywarpx/WarpX.py @@ -5,7 +5,7 @@ from .Geometry import geometry from .Algo import algo from .Langmuirwave import langmuirwave from .Interpolation import interpolation -from .Laser import laser +from .Lasers import lasers, lasers_list from . import Particles from .Particles import particles, particles_list @@ -25,7 +25,7 @@ class WarpX(Bucket): argv += langmuirwave.attrlist() argv += interpolation.attrlist() argv += particles.attrlist() - argv += laser.attrlist() + argv += lasers.attrlist() # --- Search through species_names and add any predefined particle objects in the list. particles_list_names = [p.instancename for p in particles_list] @@ -43,6 +43,9 @@ class WarpX(Bucket): for particle in particles_list: argv += particle.attrlist() + for laser in lasers_list: + argv += laser.attrlist() + return argv def init(self): |