Skip to content

Commit

Permalink
ensure initial_shrink still gets applied. together with pr83, this
Browse files Browse the repository at this point in the history
ensures the initial timestep is computed as expected.
  • Loading branch information
cgilet committed Nov 3, 2023
1 parent 58de1d9 commit b01bb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incflo_advance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void incflo::Advance()
Real strt_step = static_cast<Real>(ParallelDescriptor::second());

// Compute time step size
int initialisation = 0;
int initialisation = ( m_dt < 0 );
bool explicit_diffusion = (m_diff_type == DiffusionType::Explicit);
ComputeDt(initialisation, explicit_diffusion);

Expand Down

0 comments on commit b01bb54

Please sign in to comment.