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 e509a59 commit d9e5ceeCopy full SHA for d9e5cee
src/cache/precipitation_precomputed_quantities.jl
@@ -115,13 +115,20 @@ function set_precipitation_velocities!(
115
116
# compute the precipitation terminal velocity [m/s]
117
# TODO sedimentation of snow is based on the 1M scheme
118
- @. (ᶜwNᵣ, ᶜwᵣ) = CM2.rain_terminal_velocity(
+ @. ᶜwNᵣ = getindex(CM2.rain_terminal_velocity(
119
cm2p.sb,
120
cm2p.tv,
121
q_rai,
122
Y.c.ρ,
123
Y.c.N_rai,
124
- )
+ ), 1)
125
+ @. ᶜwᵣ = getindex(CM2.rain_terminal_velocity(
126
+ cm2p.sb,
127
+ cm2p.tv,
128
+ q_rai,
129
+ Y.c.ρ,
130
+ Y.c.N_rai,
131
+ ), 2)
132
@. ᶜwNₛ = CM1.terminal_velocity(
133
cm1p.ps,
134
cm1p.tv.snow,
0 commit comments