aboutsummaryrefslogtreecommitdiff
path: root/Source/LaserParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2018-08-17 14:03:50 -0700
committerGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2018-08-17 14:03:50 -0700
commitd3e86a70d873c099267d075fe96903af912ab9db (patch)
treef5d900ba67866bc190fdaa339041919d773f2f18 /Source/LaserParticleContainer.cpp
parent852daa5ee5531a87f8a69bcaa171e2610f3e67c2 (diff)
parent3d1d1eabb87ae06dd4c96e9be1a4e04151d9098f (diff)
downloadWarpX-d3e86a70d873c099267d075fe96903af912ab9db.tar.gz
WarpX-d3e86a70d873c099267d075fe96903af912ab9db.tar.zst
WarpX-d3e86a70d873c099267d075fe96903af912ab9db.zip
Merge branch 'master' into pml-2sc
Diffstat (limited to 'Source/LaserParticleContainer.cpp')
-rw-r--r--Source/LaserParticleContainer.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/LaserParticleContainer.cpp b/Source/LaserParticleContainer.cpp
index 971879d7c..93bab6233 100644
--- a/Source/LaserParticleContainer.cpp
+++ b/Source/LaserParticleContainer.cpp
@@ -57,6 +57,9 @@ LaserParticleContainer::LaserParticleContainer (AmrCore* amr_core, int ispecies)
pp.get("profile_duration", profile_duration);
pp.get("profile_t_peak", profile_t_peak);
pp.get("profile_focal_distance", profile_focal_distance);
+ pp.query("zeta", zeta);
+ pp.query("beta", beta);
+ pp.query("phi2", phi2);
}
if ( profile == laser_t::Harris ) {
@@ -439,7 +442,8 @@ LaserParticleContainer::Evolve (int lev,
if (profile == laser_t::Gaussian) {
warpx_gaussian_laser( &np, plane_Xp.data(), plane_Yp.data(),
&t_lab, &wavelength, &e_max, &profile_waist, &profile_duration,
- &profile_t_peak, &profile_focal_distance, amplitude_E.data() );
+ &profile_t_peak, &profile_focal_distance, amplitude_E.data(),
+ &zeta, &beta, &phi2 );
}
if (profile == laser_t::Harris) {