diff options
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/FieldReduction.cpp')
-rw-r--r-- | Source/Diagnostics/ReducedDiags/FieldReduction.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Diagnostics/ReducedDiags/FieldReduction.cpp b/Source/Diagnostics/ReducedDiags/FieldReduction.cpp index 1f98dca8c..23d1e76a8 100644 --- a/Source/Diagnostics/ReducedDiags/FieldReduction.cpp +++ b/Source/Diagnostics/ReducedDiags/FieldReduction.cpp @@ -7,10 +7,9 @@ #include "FieldReduction.H" -#include "Utils/IntervalsParser.H" +#include "Utils/Parser/ParserUtils.H" #include "Utils/TextMsg.H" #include "Utils/WarpXAlgorithmSelection.H" -#include "Utils/WarpXUtil.H" #include <AMReX_Algorithm.H> #include <AMReX_BLassert.H> @@ -49,10 +48,10 @@ FieldReduction::FieldReduction (std::string rd_name) // read reduced function with parser std::string parser_string = ""; - Store_parserString(pp_rd_name,"reduced_function(x,y,z,Ex,Ey,Ez,Bx,By,Bz)", + utils::parser::Store_parserString(pp_rd_name,"reduced_function(x,y,z,Ex,Ey,Ez,Bx,By,Bz)", parser_string); m_parser = std::make_unique<amrex::Parser>( - makeParser(parser_string,{"x","y","z","Ex","Ey","Ez","Bx","By","Bz"})); + utils::parser::makeParser(parser_string,{"x","y","z","Ex","Ey","Ez","Bx","By","Bz"})); // Replace all newlines and possible following whitespaces with a single whitespace. This // should avoid weird formatting when the string is written in the header of the output file. |