aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-09-03 11:35:55 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-09-03 11:35:55 -0700
commitf6d3b9fd84d2c131c50e89f1e957ecc6d7960b20 (patch)
treed2ba8add81837a43c1c511eccdc3caf52b361a4b /Source/Utils/WarpXAlgorithmSelection.cpp
parenta3973f060b6e3c26dd04eea00315bc00a94e3725 (diff)
parentdaeebcf054e98b0e719d21c1df2b98238b1d481c (diff)
downloadWarpX-f6d3b9fd84d2c131c50e89f1e957ecc6d7960b20.tar.gz
WarpX-f6d3b9fd84d2c131c50e89f1e957ecc6d7960b20.tar.zst
WarpX-f6d3b9fd84d2c131c50e89f1e957ecc6d7960b20.zip
Merge branch 'dev' into RZgeometry
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
-rw-r--r--Source/Utils/WarpXAlgorithmSelection.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp
index 842085a36..216199103 100644
--- a/Source/Utils/WarpXAlgorithmSelection.cpp
+++ b/Source/Utils/WarpXAlgorithmSelection.cpp
@@ -4,7 +4,7 @@
#include <cstring>
// Define dictionary with correspondance between user-input strings,
-// and corresponding integer for use inside the code (e.g. in PICSAR).
+// and corresponding integer for use inside the code
const std::map<std::string, int> maxwell_solver_algo_to_int = {
{"yee", MaxwellSolverAlgo::Yee },
@@ -23,9 +23,6 @@ const std::map<std::string, int> particle_pusher_algo_to_int = {
const std::map<std::string, int> current_deposition_algo_to_int = {
{"esirkepov", CurrentDepositionAlgo::Esirkepov },
{"direct", CurrentDepositionAlgo::Direct },
-#if (!defined AMREX_USE_GPU)&&(AMREX_SPACEDIM == 3) // Only available on CPU and 3D
- {"direct-vectorized", CurrentDepositionAlgo::DirectVectorized },
-#endif
{"default", CurrentDepositionAlgo::Esirkepov }
};
@@ -36,12 +33,7 @@ const std::map<std::string, int> charge_deposition_algo_to_int = {
const std::map<std::string, int> gathering_algo_to_int = {
{"standard", GatheringAlgo::Standard },
-#ifndef AMREX_USE_GPU // Only available on CPU
- {"vectorized", GatheringAlgo::Vectorized },
- {"default", GatheringAlgo::Vectorized }
-#else
{"default", GatheringAlgo::Standard }
-#endif
};