From 73ef945e0754789bde20b8add94bd2ec58e29f4a Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Fri, 31 May 2019 08:53:58 -0700 Subject: Allow the use of the CKC solver on GPU --- Source/Utils/WarpXAlgorithmSelection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Utils/WarpXAlgorithmSelection.cpp') 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 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 } -- cgit v1.2.3