aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.cpp
diff options
context:
space:
mode:
authorGravatar Yinjian Zhao <yinjianzhao@lbl.gov> 2019-11-20 14:27:00 -0800
committerGravatar Yinjian Zhao <yinjianzhao@lbl.gov> 2019-11-20 14:27:00 -0800
commitdc091f87b0149d30bea844de925ed65d1a81bbf3 (patch)
treef93c1979aa62e989be6563f182e80cb52cf07840 /Source/Utils/WarpXAlgorithmSelection.cpp
parent93b3c21262035097d7204521e0afd76b0e15db44 (diff)
parent13f3c87791971c4e72b567410f938a6dade47647 (diff)
downloadWarpX-dc091f87b0149d30bea844de925ed65d1a81bbf3.tar.gz
WarpX-dc091f87b0149d30bea844de925ed65d1a81bbf3.tar.zst
WarpX-dc091f87b0149d30bea844de925ed65d1a81bbf3.zip
Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into doNotDepositCurrent
Diffstat (limited to '')
-rw-r--r--Source/Utils/WarpXAlgorithmSelection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp
index 8a6ff6dbf..4b66a0809 100644
--- a/Source/Utils/WarpXAlgorithmSelection.cpp
+++ b/Source/Utils/WarpXAlgorithmSelection.cpp
@@ -18,6 +18,7 @@ const std::map<std::string, int> maxwell_solver_algo_to_int = {
const std::map<std::string, int> particle_pusher_algo_to_int = {
{"boris", ParticlePusherAlgo::Boris },
{"vay", ParticlePusherAlgo::Vay },
+ {"higuera", ParticlePusherAlgo::HigueraCary },
{"default", ParticlePusherAlgo::Boris }
};
@@ -33,8 +34,9 @@ const std::map<std::string, int> charge_deposition_algo_to_int = {
};
const std::map<std::string, int> gathering_algo_to_int = {
- {"standard", GatheringAlgo::Standard },
- {"default", GatheringAlgo::Standard }
+ {"energy-conserving", GatheringAlgo::EnergyConserving },
+ {"momentum-conserving", GatheringAlgo::MomentumConserving },
+ {"default", GatheringAlgo::EnergyConserving }
};