You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WarpX class: make dt_update_interval a private member variable (#5603)
This PR changes `dt_update_interval` from a static WarpX class variable
to a private member variable (renamed `m_dt_update_interval`).
This is a small step towards reducing the use of static variables in the
WarpX class.
Copy file name to clipboardexpand all lines: Source/WarpX.H
+1-1
Original file line number
Diff line number
Diff line change
@@ -1389,7 +1389,7 @@ private:
1389
1389
amrex::Vector<amrex::Real> t_new;
1390
1390
amrex::Vector<amrex::Real> t_old;
1391
1391
amrex::Vector<amrex::Real> dt;
1392
-
staticutils::parser::IntervalsParser dt_update_interval; // How often to update the timestep when using adaptive timestepping
1392
+
utils::parser::IntervalsParser m_dt_update_interval = utils::parser::IntervalsParser{}; // How often to update the timestep when using adaptive timestepping
0 commit comments