Skip to content

Commit

Permalink
convert to correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Sep 1, 2023
1 parent fec99e8 commit 8004521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prognostic_equations/hyperdiffusion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ function hyperdiffusion_tendency!(Yₜ, Y, p, t)
for j in 1:n
if point_type <: Geometry.Abstract3DPoint
# only need curl-curl part
@. ᶜ∇²uᵥʲs.:($$j) = C123(wcurlₕ(C123(curlₕ(ᶜ∇²uʲs.:($$j)))))
@. ᶜ∇²uᵥʲs.:($$j) = C3(wcurlₕ(C123(curlₕ(ᶜ∇²uʲs.:($$j)))))
@. Yₜ.f.sgsʲs.:($$j).u₃ +=
κ₄ * ᶠwinterp(ᶜJ * Y.c.ρ, C3(ᶜ∇²uᵥʲs.:($$j)))
κ₄ * ᶠwinterp(ᶜJ * Y.c.ρ, ᶜ∇²uᵥʲs.:($$j))
end
ᶜρa_energyʲₜ =
in propertynames(ᶜspecificʲs.:($j)) ? Yₜ.c.sgsʲs.:($j).ρaθ :
Expand Down

0 comments on commit 8004521

Please sign in to comment.