aboutsummaryrefslogtreecommitdiff
path: root/Source/LaserParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2018-08-10 17:31:25 -0700
committerGravatar Andrew Myers <atmyers2@gmail.com> 2018-08-10 17:31:25 -0700
commit3d1d1eabb87ae06dd4c96e9be1a4e04151d9098f (patch)
tree6d09779c79b3306577bdc5f89e7d7777449d6f60 /Source/LaserParticleContainer.cpp
parent4a97495cc08c2ab1f07a3357c036c3380506b67c (diff)
parent3178c53b5a71b3daaedf4272f376bf48fad2bc35 (diff)
downloadWarpX-3d1d1eabb87ae06dd4c96e9be1a4e04151d9098f.tar.gz
WarpX-3d1d1eabb87ae06dd4c96e9be1a4e04151d9098f.tar.zst
WarpX-3d1d1eabb87ae06dd4c96e9be1a4e04151d9098f.zip
Merge branch 'master' of bitbucket.org:berkeleylab/warpx
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 abda0cecf..19e93f9ea 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 ) {
@@ -440,7 +443,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) {