Returns maximum local signal speed |v_n| + c_f (fast magnetosonic) from primitive state u in direction flux_dim; used in LLF/TVDLF flux estimation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | u(nw_phys) | |||
| real(kind=dp), | intent(in) | :: | x(1:ndim) | |||
| integer, | intent(in) | :: | flux_dim |
setdt - set dt for all levels between levmin and levmax. dtpar>0 --> use fixed dtpar for all level dtpar<=0 --> determine CFL limited timestep
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | w(nw_phys) | |||
| real(kind=dp), | intent(in) | :: | x(1:ndim) | |||
| real(kind=dp), | intent(in) | :: | dx(1:ndim) | |||
| real(kind=dp), | intent(out) | :: | dtnew |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout) | :: | u(nw_phys) |