diff options
author | 2018-08-05 11:01:02 -0700 | |
---|---|---|
committer | 2018-08-05 11:01:02 -0700 | |
commit | 612e7b1070af9ccc870d6767a1a520112e1fb5cf (patch) | |
tree | 5917b39937d22853231f25da29d5ad3c11dba674 /Source/LaserParticleContainer.cpp | |
parent | 9e0a1d1253c77721912b2f5a2d40e2440fd15b9d (diff) | |
download | WarpX-612e7b1070af9ccc870d6767a1a520112e1fb5cf.tar.gz WarpX-612e7b1070af9ccc870d6767a1a520112e1fb5cf.tar.zst WarpX-612e7b1070af9ccc870d6767a1a520112e1fb5cf.zip |
error fixed, tested with zeta and phi2
Diffstat (limited to 'Source/LaserParticleContainer.cpp')
-rw-r--r-- | Source/LaserParticleContainer.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/LaserParticleContainer.cpp b/Source/LaserParticleContainer.cpp index 4736d8ff5..4868f36ba 100644 --- a/Source/LaserParticleContainer.cpp +++ b/Source/LaserParticleContainer.cpp @@ -57,9 +57,12 @@ 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.get("zeta", zeta); - pp.get("beta", beta); - pp.get("phi2", phi2); +// zeta = 0.; +// beta = 0.; +// phi2 = 0.; + pp.query("zeta", zeta); + pp.query("beta", beta); + pp.query("phi2", phi2); } if ( profile == laser_t::Harris ) { |