From 962829d1781f80c05a8a3dc14e8e5ae0ad43da54 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Wed, 29 Jan 2025 18:43:00 +0100 Subject: [PATCH] WarpX class: evolve_scheme no longer a static variable (#5616) This PR contributes to reducing the usage of static variables in the WarpX class. --- Source/WarpX.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WarpX.H b/Source/WarpX.H index f500347febc..3d7835de58b 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -197,7 +197,7 @@ public: //! Integer that corresponds to the type of Maxwell solver (Yee, CKC, PSATD, ECT) static inline auto electromagnetic_solver_id = ElectromagneticSolverAlgo::Default; //! Integer that corresponds to the evolve scheme (explicit, semi_implicit_em, theta_implicit_em) - static inline auto evolve_scheme = EvolveScheme::Default; + EvolveScheme evolve_scheme = EvolveScheme::Default; //! Maximum iterations used for self-consistent particle update in implicit particle-suppressed evolve schemes static int max_particle_its_in_implicit_scheme; //! Relative tolerance used for self-consistent particle update in implicit particle-suppressed evolve schemes