aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r--Source/Laser/LaserParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Laser/LaserParticleContainer.cpp b/Source/Laser/LaserParticleContainer.cpp
index 05c6c6f29..8f74a9252 100644
--- a/Source/Laser/LaserParticleContainer.cpp
+++ b/Source/Laser/LaserParticleContainer.cpp
@@ -51,8 +51,8 @@ LaserParticleContainer::LaserParticleContainer (AmrCore* amr_core, int ispecies,
pp.getarr("polarization", m_p_X);
pp.query("pusher_algo", m_pusher_algo);
- pp.get("wavelength", m_wavelength);
- pp.get("e_max", m_e_max);
+ getWithParser(pp, "wavelength", m_wavelength);
+ getWithParser(pp, "e_max", m_e_max);
pp.query("do_continuous_injection", do_continuous_injection);
pp.query("min_particles_per_mode", m_min_particles_per_mode);