FLASH4.6.1 API

Generated from /asc/asci2/site/flashcode/secure/release_4p6/source/Driver/Driver_computeDt.F90 with ROBODoc v4.99.8 on Sun Sep 15 01:16:50 2019

TABLE OF CONTENTS


[Functions] source/Driver/Driver_computeDt

[top][index]

NAME

  Driver_computeDt

SYNOPSIS

  Driver_computeDt(integer(IN) :: nbegin,
                  integer(IN) :: nstep, 
                  real(IN)    :: simTime,
                  real(IN)    :: dtOld,
                  real(OUT)   :: dtNew)

DESCRIPTION

  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.

ARGUMENTS

  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