aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Maxence Thevenet <mthevenet@lbl.gov> 2018-08-21 16:20:33 -0700
committerGravatar Maxence Thevenet <mthevenet@lbl.gov> 2018-08-21 16:20:33 -0700
commitcdca1c6996a52c70726344cf3a3da085b53c7a7c (patch)
tree7b7e26de4dc8380b4cb20513c80469ae3ad86530 /Python/pywarpx/picmi.py
parent4b84d076f98d12510907b41be5febadb11c653c5 (diff)
downloadWarpX-cdca1c6996a52c70726344cf3a3da085b53c7a7c.tar.gz
WarpX-cdca1c6996a52c70726344cf3a3da085b53c7a7c.tar.zst
WarpX-cdca1c6996a52c70726344cf3a3da085b53c7a7c.zip
added laser parameters
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py3
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):