diff options
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp')
-rw-r--r-- | Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp index 6ea8070db..2fe1a2341 100644 --- a/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp +++ b/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp @@ -6,8 +6,8 @@ */ #include "Laser/LaserProfiles.H" +#include "Utils/Parser/ParserUtils.H" #include "Utils/WarpXConst.H" -#include "Utils/WarpXUtil.H" #include "Utils/WarpX_Complex.H" #include <AMReX_Extension.H> @@ -26,9 +26,12 @@ WarpXLaserProfiles::HarrisLaserProfile::init ( CommonLaserParameters params) { // Parse the properties of the Harris profile - getWithParser(ppl, "profile_waist", m_params.waist); - getWithParser(ppl, "profile_duration", m_params.duration); - getWithParser(ppl, "profile_focal_distance", m_params.focal_distance); + utils::parser::getWithParser( + ppl, "profile_waist", m_params.waist); + utils::parser::getWithParser( + ppl, "profile_duration", m_params.duration); + utils::parser::getWithParser( + ppl, "profile_focal_distance", m_params.focal_distance); //Copy common params m_common_params = params; } |