From ca771c7fe1a614a5487f054d6612fa6642695081 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 31 May 2019 20:07:55 -0700 Subject: Fix parsing of gathering string --- Source/Utils/WarpXAlgorithmSelection.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp') diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp index 44e032a0b..89802e064 100644 --- a/Source/Utils/WarpXAlgorithmSelection.cpp +++ b/Source/Utils/WarpXAlgorithmSelection.cpp @@ -68,6 +68,8 @@ GetAlgorithmInteger( amrex::ParmParse& pp, const char* pp_search_key ){ algo_to_int = current_deposition_algo_to_int; } else if (pp_search_key == "charge_deposition") { algo_to_int = charge_deposition_algo_to_int; + } else if (pp_search_key == "field_gathering") { + algo_to_int = gathering_algo_to_int; } else { std::string pp_search_string = pp_search_key; amrex::Abort("Unknown algorithm type: " + pp_search_string); -- cgit v1.2.3