diff options
author | 2019-09-24 11:21:55 -0700 | |
---|---|---|
committer | 2019-09-27 16:26:32 -0700 | |
commit | ae12df60f57f92259854db9326dab3e5aff17d8e (patch) | |
tree | 359c7675fed70d45ac811efeb945ef4536bd3e84 /Source/Utils/WarpXAlgorithmSelection.cpp | |
parent | 784898b011025b7c715e8f9c7e7d88dd91fa58a7 (diff) | |
download | WarpX-ae12df60f57f92259854db9326dab3e5aff17d8e.tar.gz WarpX-ae12df60f57f92259854db9326dab3e5aff17d8e.tar.zst WarpX-ae12df60f57f92259854db9326dab3e5aff17d8e.zip |
Implement new gather option
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
-rw-r--r-- | Source/Utils/WarpXAlgorithmSelection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp index 8a6ff6dbf..f04cdd449 100644 --- a/Source/Utils/WarpXAlgorithmSelection.cpp +++ b/Source/Utils/WarpXAlgorithmSelection.cpp @@ -33,8 +33,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 } }; |