aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2022-10-10 20:36:14 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-10 11:36:14 -0700
commite9cc65ffeb0684a97618b67c2164d95ea497226c (patch)
treeed65f7ac86cc4e8945021dc36a79c8bc246c150d /Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp
parent56e04c1b911f9399662c4ff9ecf6630d686cc220 (diff)
downloadWarpX-e9cc65ffeb0684a97618b67c2164d95ea497226c.tar.gz
WarpX-e9cc65ffeb0684a97618b67c2164d95ea497226c.tar.zst
WarpX-e9cc65ffeb0684a97618b67c2164d95ea497226c.zip
Partial refactoring of the utils directory (#3404)
* initial work to clean WarpX Utils * remove AMRCore from Ionization tables * progress * refactoring of a part of the utils directory * fix bug * fixed bug * fixed bug * remove debug line accidentally slipped into the code * remove debug line accidentally slipped into the code * remove debug line accidentally slipped into the code * cleaning * fixed bug
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp')
-rw-r--r--Source/Laser/LaserProfilesImpl/LaserProfileHarris.cpp11
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;
}