FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Gravity_computeDt.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Gravity_computeDt (Uin, dt_grav, dt_minloc)
 

Function/Subroutine Documentation

◆ Gravity_computeDt()

subroutine Gravity_computeDt ( real  Uin,
real  dt_grav,
integer, dimension(5)  dt_minloc 
)

Compute the timestep limiter due to the gravitational solver.

dt_grav: Will Return the limiting timestep. Should be set to a large value (1.D99) on input. dt_minloc(5): An array to receive information about which processor, block, and zone was responsible for setting the limiting timestep. The order is i, j, k, b, p, where (i,j,k) = zone indices, b = local block ID, and p = PE #. This routine should only modify these values if it changes dt_grav.

Definition at line 32 of file Gravity_computeDt.F90.