Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Mar 29, 2024
1 parent d791f46 commit 0076e38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/prognostic_equations/implicit/implicit_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,16 @@ NVTX.@annotate function Wfact!(A, Y, p, dtγ, t)
p.atmos.turbconv_model isa AbstractEDMF ?
(; p.precomputed.ᶜtke⁰, p.precomputed.ᶜmixing_length) : (;)
)...,
(
use_derivative(A.diffusion_flag) &&
p.atmos.turbconv_model isa PrognosticEDMFX ?
(; p.precomputed.ᶜρa⁰) : (;)
)...,
(
use_derivative(A.sgs_advection_flag) &&
p.atmos.turbconv_model isa PrognosticEDMFX ?
(;
p.core.ᶜgradᵥ_ᶠΦ,
p.precomputed.ᶜρa⁰,
p.precomputed.ᶜρʲs,
p.precomputed.ᶠu³ʲs,
p.precomputed.ᶜtsʲs,
Expand Down

0 comments on commit 0076e38

Please sign in to comment.