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/Particles/Collision/CollisionBase.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Particles/Collision/CollisionBase.cpp') diff --git a/Source/Particles/Collision/CollisionBase.cpp b/Source/Particles/Collision/CollisionBase.cpp index 948f277c3..08376d6fa 100644 --- a/Source/Particles/Collision/CollisionBase.cpp +++ b/Source/Particles/Collision/CollisionBase.cpp @@ -6,7 +6,7 @@ */ #include "CollisionBase.H" -#include "Utils/WarpXUtil.H" +#include "Utils/Parser/ParserUtils.H" #include @@ -19,6 +19,7 @@ CollisionBase::CollisionBase (std::string collision_name) // number of time steps between collisions m_ndt = 1; - queryWithParser(pp_collision_name, "ndt", m_ndt); + utils::parser::queryWithParser( + pp_collision_name, "ndt", m_ndt); } -- cgit v1.2.3