diff options
author | 2019-08-30 16:57:51 -0700 | |
---|---|---|
committer | 2019-08-30 16:57:51 -0700 | |
commit | daeebcf054e98b0e719d21c1df2b98238b1d481c (patch) | |
tree | 25abd08dfea4187ef3f7db2ca69dffdfba304478 /Source/Utils/WarpXAlgorithmSelection.cpp | |
parent | a7105f2e97c79de807e1ff57a2f7d9df6d471cb8 (diff) | |
parent | bea299f615af06c4e35022070e5bf1aa054f6a44 (diff) | |
download | WarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.tar.gz WarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.tar.zst WarpX-daeebcf054e98b0e719d21c1df2b98238b1d481c.zip |
Merge pull request #285 from ECP-WarpX/picsar_cleanup
Cleanup picsar references, algorithm choices, and unused fortran references
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
-rw-r--r-- | Source/Utils/WarpXAlgorithmSelection.cpp | 10 |
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 }; |