diff options
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 69f679398..b86de2b20 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -393,6 +393,10 @@ WarpX::ReadParameters () pp.query("particle_pusher", particle_pusher_algo); std::string s_solver = ""; pp.query("maxwell_fdtd_solver", s_solver); + std::transform(s_solver.begin(), + s_solver.end(), + s_solver.begin(), + ::tolower); // if maxwell_fdtd_solver is specified, set the value // of maxwell_fdtd_solver_id accordingly. // Otherwise keep the default value maxwell_fdtd_solver_id=0 |