diff options
author | 2022-11-10 20:39:09 +0100 | |
---|---|---|
committer | 2022-11-10 19:39:09 +0000 | |
commit | d2ea078debfda27483fedcec9454e0b87b24861d (patch) | |
tree | 2070bf5a314fa8558f8ee6127446459a706cd88f /Source/Particles/LaserParticleContainer.cpp | |
parent | 3dfe843bb74b64a6fb3a3ec893cf7c058f062b65 (diff) | |
download | WarpX-d2ea078debfda27483fedcec9454e0b87b24861d.tar.gz WarpX-d2ea078debfda27483fedcec9454e0b87b24861d.tar.zst WarpX-d2ea078debfda27483fedcec9454e0b87b24861d.zip |
Use makeParser function for laser field parsing option (#3517)
Diffstat (limited to '')
-rw-r--r-- | Source/Particles/LaserParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/LaserParticleContainer.cpp b/Source/Particles/LaserParticleContainer.cpp index 001fc4631..a0cafadcd 100644 --- a/Source/Particles/LaserParticleContainer.cpp +++ b/Source/Particles/LaserParticleContainer.cpp @@ -249,7 +249,7 @@ LaserParticleContainer::LaserParticleContainer (AmrCore* amr_core, int ispecies, common_params.e_max = m_e_max; common_params.p_X = m_p_X; common_params.nvec = m_nvec; - m_up_laser_profile->init(pp_laser_name, ParmParse{"my_constants"}, common_params); + m_up_laser_profile->init(pp_laser_name, common_params); } /* \brief Check if laser particles enter the box, and inject if necessary. |