Skip to content

Commit 93837b0

Browse files
authored
Merge pull request #3633 from CliMA/gb/edonly
Initialize tke to 0 for DYAMOND
2 parents e1ad82e + 1bf78e3 commit 93837b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/initial_conditions/initial_conditions.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,12 @@ function overwrite_initial_conditions!(
484484
center_space,
485485
) .* Y.c.ρ
486486
end
487+
488+
if hasproperty(Y.c, :sgs⁰) && hasproperty(Y.c.sgs⁰, :ρatke)
489+
# NOTE: This is not the most consistent, but it is better than NaNs
490+
fill!(Y.c.ρatke, 0)
491+
end
492+
487493
return nothing
488494
end
489495

0 commit comments

Comments
 (0)