aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXAlgorithmSelection.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-05-31 08:53:58 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-05-31 08:53:58 -0700
commit73ef945e0754789bde20b8add94bd2ec58e29f4a (patch)
tree63b41da52554b909c06f540f25dd633540e1a0af /Source/Utils/WarpXAlgorithmSelection.cpp
parent8b27266c55e5d4560a410c772902284da6eac7de (diff)
downloadWarpX-73ef945e0754789bde20b8add94bd2ec58e29f4a.tar.gz
WarpX-73ef945e0754789bde20b8add94bd2ec58e29f4a.tar.zst
WarpX-73ef945e0754789bde20b8add94bd2ec58e29f4a.zip
Allow the use of the CKC solver on GPU
Diffstat (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp')
-rw-r--r--Source/Utils/WarpXAlgorithmSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Utils/WarpXAlgorithmSelection.cpp b/Source/Utils/WarpXAlgorithmSelection.cpp
index 21d3ef7f0..44e032a0b 100644
--- a/Source/Utils/WarpXAlgorithmSelection.cpp
+++ b/Source/Utils/WarpXAlgorithmSelection.cpp
@@ -7,7 +7,7 @@
const std::map<std::string, int> maxwell_solver_algo_to_int = {
{"yee", MaxwellSolverAlgo::Yee },
-#ifndef AMREX_USE_GPU // Only available on CPU
+#ifndef WARPX_RZ // Not available in RZ
{"ckc", MaxwellSolverAlgo::CKC },
#endif
{"default", MaxwellSolverAlgo::Yee }