Skip to content

Commit

Permalink
Amr: Add printing of simulation time
Browse files Browse the repository at this point in the history
  • Loading branch information
mirenradia committed Jun 30, 2023
1 parent 9c256b1 commit 0f8acb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/Amr/AMReX_Amr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,8 @@ Amr::timeStep (int level,
if (verbose > 0)
{
amrex::Print() << "[Level " << level << " step " << level_steps[level]+1 << "] "
<< "ADVANCE with dt = " << dt_level[level] << "\n";
<< "ADVANCE at time " << time
<< " with dt = " << dt_level[level] << "\n";
}

Real dt_new = amr_level[level]->advance(time,dt_level[level],iteration,niter);
Expand Down

0 comments on commit 0f8acb8

Please sign in to comment.