diff options
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp')
-rw-r--r-- | Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp index 33de9c1da..c1dca774a 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileGaussian.cpp @@ -7,9 +7,9 @@ */ #include "Laser/LaserProfiles.H" +#include "Utils/Parser/ParserUtils.H" #include "Utils/TextMsg.H" #include "Utils/WarpXConst.H" -#include "Utils/WarpXUtil.H" #include "Utils/WarpX_Complex.H" #include <AMReX_BLassert.H> @@ -39,17 +39,17 @@ WarpXLaserProfiles::GaussianLaserProfile::init ( m_common_params = params; // Parse the properties of the Gaussian profile - getWithParser(ppl, "profile_waist", m_params.waist); - getWithParser(ppl, "profile_duration", m_params.duration); - getWithParser(ppl, "profile_t_peak", m_params.t_peak); - getWithParser(ppl, "profile_focal_distance", m_params.focal_distance); - queryWithParser(ppl, "zeta", m_params.zeta); - queryWithParser(ppl, "beta", m_params.beta); - queryWithParser(ppl, "phi2", m_params.phi2); - queryWithParser(ppl, "phi0", m_params.phi0); + utils::parser::getWithParser(ppl, "profile_waist", m_params.waist); + utils::parser::getWithParser(ppl, "profile_duration", m_params.duration); + utils::parser::getWithParser(ppl, "profile_t_peak", m_params.t_peak); + utils::parser::getWithParser(ppl, "profile_focal_distance", m_params.focal_distance); + utils::parser::queryWithParser(ppl, "zeta", m_params.zeta); + utils::parser::queryWithParser(ppl, "beta", m_params.beta); + utils::parser::queryWithParser(ppl, "phi2", m_params.phi2); + utils::parser::queryWithParser(ppl, "phi0", m_params.phi0); m_params.stc_direction = m_common_params.p_X; - queryArrWithParser(ppl, "stc_direction", m_params.stc_direction); + utils::parser::queryArrWithParser(ppl, "stc_direction", m_params.stc_direction); auto const s = 1.0_rt / std::sqrt( m_params.stc_direction[0]*m_params.stc_direction[0] + m_params.stc_direction[1]*m_params.stc_direction[1] + |