Skip to content

Commit

Permalink
Fix outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet committed Jun 7, 2024
1 parent 1183380 commit f6412e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incflo_compute_dt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void incflo::ComputeDt (int initialization, bool explicit_diffusion)
dt_new = Real(0.5) * m_dt;
}

// Don't let the timestep grow by more than 10% per step
// Don't let the timestep grow by more than m_dt_change_max per step
// unless the previous time step was unduly shrunk to match m_plot_per_exact
Real allowed_change_factor = m_dt_change_max;
if( (m_dt > Real(0.0)) && !(m_plot_per_exact > 0 && m_last_plt == m_nstep && m_nstep > 0) )
Expand Down

0 comments on commit f6412e1

Please sign in to comment.