We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ff510 commit 0189827Copy full SHA for 0189827
src/prognostic_equations/implicit/implicit_tendency.jl
@@ -86,6 +86,8 @@ end
86
function vertical_transport(ᶜρ, ᶠu³, ᶜχ, dt, ::Val{:vanleer_limiter})
87
ᶜJ = Fields.local_geometry_field(axes(ᶜρ)).J
88
ᶠJ = Fields.local_geometry_field(axes(ᶠu³)).J
89
+ FT = eltype(ᶠJ)
90
+ dt = FT(dt)
91
return @. lazy(
92
-(ᶜadvdivᵥ(ᶠinterp(ᶜρ * ᶜJ) / ᶠJ * ᶠlin_vanleer(ᶠu³, ᶜχ, dt))),
93
)
0 commit comments