Skip to content

Commit 6971cc5

Browse files
author
Olivia Alcabes
committed
fixing dt issue
1 parent 36de58c commit 6971cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prognostic_equations/implicit/approx_jacobian.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ function update_jacobian!(alg::ApproxJacobian, cache, Y, p, dtγ, t)
368368
sgs_mass_flux_flag,
369369
) = alg
370370
(; matrix) = cache
371-
(; params) = p
371+
(; params, dt) = p
372372
(; ᶜΦ, ᶠgradᵥ_ᶜΦ) = p.core
373373
(; ᶜspecific, ᶠu³, ᶜK, ᶜts, ᶜp, ᶜh_tot) = p.precomputed
374374
(;
@@ -817,7 +817,7 @@ function update_jacobian!(alg::ApproxJacobian, cache, Y, p, dtγ, t)
817817
if MatrixFields.has_field(Y, @name(c.sgs⁰.ρatke))
818818
turbconv_params = CAP.turbconv_params(params)
819819
c_d = CAP.tke_diss_coeff(turbconv_params)
820-
(; dt) = p
820+
#(; dt) = p
821821
(; ᶜtke⁰, ᶜmixing_length) = p.precomputed
822822
ᶜρa⁰ =
823823
p.atmos.turbconv_model isa PrognosticEDMFX ?

0 commit comments

Comments
 (0)