diff options
author | 2018-08-21 23:53:01 +0000 | |
---|---|---|
committer | 2018-08-21 23:53:01 +0000 | |
commit | 6b9d56f24e68733dc0e01f2e7cb281834111117a (patch) | |
tree | 7b7e26de4dc8380b4cb20513c80469ae3ad86530 /Python/pywarpx/picmi.py | |
parent | 4b84d076f98d12510907b41be5febadb11c653c5 (diff) | |
parent | cdca1c6996a52c70726344cf3a3da085b53c7a7c (diff) | |
download | WarpX-6b9d56f24e68733dc0e01f2e7cb281834111117a.tar.gz WarpX-6b9d56f24e68733dc0e01f2e7cb281834111117a.tar.zst WarpX-6b9d56f24e68733dc0e01f2e7cb281834111117a.zip |
Merged in gaussian_parameters (pull request #98)
added laser parameters
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r-- | Python/pywarpx/picmi.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 6ce135af6..38f2a8c07 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -360,6 +360,9 @@ class GaussianLaser(PICMI_Base.PICMI_GaussianLaser): pywarpx.laser.polarization = [np.cos(self.polarization_angle), np.sin(self.polarization_angle), 0.] # The main polarization vector pywarpx.laser.profile_waist = self.waist # The waist of the laser (in meters) pywarpx.laser.profile_duration = self.duration # The duration of the laser (in seconds) + pywarpx.laser.zeta = self.zeta + pywarpx.laser.beta = self.beta + pywarpx.laser.phi2 = self.phi2 class LaserAntenna(PICMI_Base.PICMI_LaserAntenna): |