Skip to content

Commit

Permalink
Update src/prognostic_equations/vertical_diffusion_boundary_layer.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Zhaoyi Shen <11598433+szy21@users.noreply.github.com>
  • Loading branch information
charleskawczynski and szy21 committed Oct 5, 2023
1 parent 1ec12b9 commit 4a8921d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ function vertical_diffusion_boundary_layer_tendency!(

FT = eltype(Y)
interior_uₕ = Fields.level(Y.c.uₕ, 1)
interior_coordinates = Fields.level(Fields.coordinate_field(Y.c), 1)
ᶠp = ᶠρK_E = p.ᶠtemp_scalar
@. ᶠp[colidx] = ᶠinterp(ᶜp[colidx])
ᶜΔz_surface = Fields.Δz_field(interior_coordinates)
ᶜΔz_surface = Fields.Δz_field(interior_uₕ)
@. ᶠρK_E[colidx] =
ᶠinterp(Y.c.ρ[colidx]) * eddy_diffusivity_coefficient(
C_E,
Expand Down

0 comments on commit 4a8921d

Please sign in to comment.