Skip to content

Commit bcda95d

Browse files
Fix undefined var
1 parent 4f552df commit bcda95d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/prognostic_equations/remaining_tendency.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ function ᶜremaining_tendency_ρe_tot(ᶜY, ᶠY, p, t)
8787
thermo_params = CAP.thermodynamics_params(p.params)
8888
thermo_args = (thermo_params, moisture_model, precip_model)
8989
ᶜz = Fields.coordinate_field(ᶜY).z
90+
ᶜJ = Fields.local_geometry_field(ᶜY).J
91+
ᶠJ = Fields.local_geometry_field(ᶠY).J
9092
ᶜρ = ᶜY.ρ
9193
ᶜuₕ = ᶜY.uₕ
9294
ᶜρe_tot = ᶜY.ρe_tot

0 commit comments

Comments
 (0)