Skip to content

Commit

Permalink
Try to improve inference
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Nov 8, 2021
1 parent b1b75e2 commit 9377e07
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Turbulence_PrognosticTKE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,10 @@ function update(edmf::EDMF_PrognosticTKE, grid, state, gm::GridMeanVariables, Ca
compute_gm_tendencies!(edmf, grid, state, Case, gm, TS)
compute_updraft_tendencies(edmf, grid, state, gm)

compute_en_tendencies!(edmf, grid, state, param_set, TS, :tke, :ρatke)
compute_en_tendencies!(edmf, grid, state, param_set, TS, :Hvar, :ρaHvar)
compute_en_tendencies!(edmf, grid, state, param_set, TS, :QTvar, :ρaQTvar)
compute_en_tendencies!(edmf, grid, state, param_set, TS, :HQTcov, :ρaHQTcov)
compute_en_tendencies!(edmf, grid, state, param_set, TS, Val(:tke), Val(:ρatke))
compute_en_tendencies!(edmf, grid, state, param_set, TS, Val(:Hvar), Val(:ρaHvar))
compute_en_tendencies!(edmf, grid, state, param_set, TS, Val(:QTvar), Val(:ρaQTvar))
compute_en_tendencies!(edmf, grid, state, param_set, TS, Val(:HQTcov), Val(:ρaHQTcov))

###
### update (to be removed)
Expand Down Expand Up @@ -776,9 +776,9 @@ function compute_en_tendencies!(
state,
param_set,
TS,
covar_sym::Symbol,
prog_sym::Symbol,
) where {N_up}
::Val{covar_sym},
::Val{prog_sym},
) where {N_up, covar_sym, prog_sym}
kc_surf = kc_surface(grid)
kc_toa = kc_top_of_atmos(grid)
ρ0_c = center_ref_state(state).ρ0
Expand Down

0 comments on commit 9377e07

Please sign in to comment.