calc_timestep_adv_cube Subroutine

private subroutine calc_timestep_adv_cube(cfl, length, vel, dt, nPoly)

Calculate time step based on a given CFL number of cubes in a advection simulation.

This subroutine calculates the time step with respect to a given cfl number for simulations of advection processes. Please notice that this routine assumes constant advection speed.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: cfl

CFL number

real(kind=rk), intent(in) :: length

Reference length of all elements

real(kind=rk), intent(in) :: vel

Upper bound of the advection velocity

real(kind=rk), intent(out) :: dt

Resulting time step width

integer, intent(in) :: nPoly

The number of polynomials per spatial direction


Called by

proc~~calc_timestep_adv_cube~~CalledByGraph proc~calc_timestep_adv_cube calc_timestep_adv_cube proc~calculate_cfl_timestep calculate_cfl_timestep proc~calculate_cfl_timestep->proc~calc_timestep_adv_cube proc~atl_get_timestep atl_get_timestep proc~atl_get_timestep->proc~calculate_cfl_timestep proc~atl_solve_program atl_solve_program proc~atl_solve_program->proc~atl_get_timestep proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_get_timestep program~ateles ateles program~ateles->proc~atl_solve_program program~ateles->proc~atl_initialize_program

Contents

None