From e9cc65ffeb0684a97618b67c2164d95ea497226c Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 10 Oct 2022 20:36:14 +0200 Subject: 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 --- Source/Initialization/InjectorDensity.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Initialization/InjectorDensity.cpp') diff --git a/Source/Initialization/InjectorDensity.cpp b/Source/Initialization/InjectorDensity.cpp index e277ad1d5..e4b3523ec 100644 --- a/Source/Initialization/InjectorDensity.cpp +++ b/Source/Initialization/InjectorDensity.cpp @@ -8,8 +8,8 @@ #include "InjectorDensity.H" #include "Initialization/CustomDensityProb.H" +#include "Utils/Parser/ParserUtils.H" #include "Utils/TextMsg.H" -#include "Utils/WarpXUtil.H" #include #include @@ -51,7 +51,8 @@ InjectorDensityPredefined::InjectorDensityPredefined ( std::vector v; // Read parameters for the predefined plasma profile. - getArrWithParser(pp_species_name, "predefined_profile_params", v); + utils::parser::getArrWithParser( + pp_species_name, "predefined_profile_params", v); WARPX_ALWAYS_ASSERT_WITH_MESSAGE(v.size() <= 6, "Too many parameters for InjectorDensityPredefined"); for (int i = 0; i < static_cast(v.size()); ++i) { -- cgit v1.2.3