FLASH-X
Doxygen Generated Documentation From Interface Source Code
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | Driver_computeDt (nbegin, nstep, simTime, dtOld, dtNew) |
subroutine Driver_computeDt | ( | integer | nbegin, |
integer | nstep, | ||
real | simTime, | ||
real | dtOld, | ||
real | dtNew | ||
) |
Determine the stability-limited time step. This timestep is determined using information from the included physics modules - many different timestep limiters are polled.
The global driver might use a different (hopefully smaller) time step, to match a file write time (tplot or trstr) or if the simulation end time has been reached; such possibilities are not considered here.
nbegin - first step of the simulation (this is only used to determine if a label header should be written to the screen) nstep - current step of the simulation simTime - current simulation time of the run dtOld - the dt from the timestep that we just finished (it's old because we be using dtOld to calculate and return the dt for the next timestep (dtNew) dtNew - returned value of the dt calculated for the next timestep
Definition at line 54 of file Driver_computeDt.F90.