Skip to content

Commit 962829d

Browse files
authored
WarpX class: evolve_scheme no longer a static variable (#5616)
This PR contributes to reducing the usage of static variables in the WarpX class.
1 parent 547bfbb commit 962829d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WarpX.H

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public:
197197
//! Integer that corresponds to the type of Maxwell solver (Yee, CKC, PSATD, ECT)
198198
static inline auto electromagnetic_solver_id = ElectromagneticSolverAlgo::Default;
199199
//! Integer that corresponds to the evolve scheme (explicit, semi_implicit_em, theta_implicit_em)
200-
static inline auto evolve_scheme = EvolveScheme::Default;
200+
EvolveScheme evolve_scheme = EvolveScheme::Default;
201201
//! Maximum iterations used for self-consistent particle update in implicit particle-suppressed evolve schemes
202202
static int max_particle_its_in_implicit_scheme;
203203
//! Relative tolerance used for self-consistent particle update in implicit particle-suppressed evolve schemes

0 commit comments

Comments
 (0)