Skip to content

Commit

Permalink
WarpX class: evolve_scheme no longer a static variable (#5616)
Browse files Browse the repository at this point in the history
This PR contributes to reducing the usage of static variables in the
WarpX class.
  • Loading branch information
lucafedeli88 authored Jan 29, 2025
1 parent 547bfbb commit 962829d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WarpX.H
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 962829d

Please sign in to comment.