aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp')
-rw-r--r--Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp
index c69221c0d..bc0b4381d 100644
--- a/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp
+++ b/Source/Laser/LaserProfilesImpl/LaserProfileFieldFunction.cpp
@@ -6,9 +6,9 @@
*/
#include "Laser/LaserProfiles.H"
+#include "Utils/Parser/ParserUtils.H"
#include "Utils/TextMsg.H"
#include "Utils/WarpX_Complex.H"
-#include "Utils/WarpXUtil.H"
#include <AMReX.H>
#include <AMReX_Extension.H>
@@ -41,7 +41,7 @@ WarpXLaserProfiles::FieldFunctionLaserProfile::init (
symbols.erase("t"); // after removing variables, we are left with constants
for (auto it = symbols.begin(); it != symbols.end(); ) {
Real v;
- if (queryWithParser(ppc, it->c_str(), v)) {
+ if (utils::parser::queryWithParser(ppc, it->c_str(), v)) {
m_parser.setConstant(*it, v);
it = symbols.erase(it);
} else {