diff options
author | 2022-10-10 20:36:14 +0200 | |
---|---|---|
committer | 2022-10-10 11:36:14 -0700 | |
commit | e9cc65ffeb0684a97618b67c2164d95ea497226c (patch) | |
tree | ed65f7ac86cc4e8945021dc36a79c8bc246c150d /Source/BoundaryConditions/PML.cpp | |
parent | 56e04c1b911f9399662c4ff9ecf6630d686cc220 (diff) | |
download | WarpX-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/BoundaryConditions/PML.cpp')
-rw-r--r-- | Source/BoundaryConditions/PML.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/BoundaryConditions/PML.cpp b/Source/BoundaryConditions/PML.cpp index 712e287f0..76dbd3fde 100644 --- a/Source/BoundaryConditions/PML.cpp +++ b/Source/BoundaryConditions/PML.cpp @@ -1,5 +1,5 @@ -/* Copyright 2019 Andrew Myers, Aurore Blelly, Axel Huebl - * Maxence Thevenet, Remi Lehe, Weiqun Zhang +/* Copyright 2019-2022 Andrew Myers, Aurore Blelly, Axel Huebl, + * Luca Fedeli, Maxence Thevenet, Remi Lehe, Weiqun Zhang * * * This file is part of WarpX. @@ -17,7 +17,7 @@ #include "Utils/WarpXAlgorithmSelection.H" #include "Utils/WarpXConst.H" #include "Utils/WarpXProfilerWrapper.H" -#include "Utils/WarpXUtil.H" +#include "Utils/Parser/ParserUtils.H" #include "WarpX.H" #include <ablastr/utils/Communication.H> @@ -618,9 +618,9 @@ PML::PML (const int lev, const BoxArray& grid_ba, const DistributionMapping& gri int ngFFt_z = do_nodal ? noz_fft : noz_fft/2; ParmParse pp_psatd("psatd"); - queryWithParser(pp_psatd, "nx_guard", ngFFt_x); - queryWithParser(pp_psatd, "ny_guard", ngFFt_y); - queryWithParser(pp_psatd, "nz_guard", ngFFt_z); + utils::parser::queryWithParser(pp_psatd, "nx_guard", ngFFt_x); + utils::parser::queryWithParser(pp_psatd, "ny_guard", ngFFt_y); + utils::parser::queryWithParser(pp_psatd, "nz_guard", ngFFt_z); #if defined(WARPX_DIM_3D) IntVect ngFFT = IntVect(ngFFt_x, ngFFt_y, ngFFt_z); |