create_global_timestep Subroutine

private subroutine create_global_timestep(dt, nCells, minLevel, maxLevel, proc)

\brief subroutine to create a single global timestep.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout) :: dt(minLevel:maxLevel)

The delta t on the levels of your mesh. This will be update with the new global, local timestep.

integer, intent(in) :: nCells(minLevel:maxLevel)

The number of cells on the different levels.

integer, intent(in) :: minLevel

The minimum level of your mesh.

integer, intent(in) :: maxLevel

The maximum level of your mesh.

type(tem_comm_env_type), intent(in) :: proc

mpi communication enviroment with mpi communicator