File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,9 @@ NVTX.@annotate function set_cloud_fraction!(
9494 end
9595 end
9696
97- ᶜmixing_length = compute_gm_mixing_length (Y, p)
97+ # TODO - tmp fix for the Coupler test. To be removed soon.
98+ ᶜmixing_length_field = p. scratch. ᶜtemp_scalar
99+ ᶜmixing_length_field .= compute_gm_mixing_length (Y, p)
98100
99101 diagnostic_covariance_coeff = CAP. diagnostic_covariance_coeff (params)
100102 @. cloud_diagnostics_tuple = quad_loop (
@@ -103,7 +105,7 @@ NVTX.@annotate function set_cloud_fraction!(
103105 Geometry. WVector (p. precomputed. ᶜgradᵥ_q_tot),
104106 Geometry. WVector (p. precomputed. ᶜgradᵥ_θ_liq_ice),
105107 diagnostic_covariance_coeff,
106- ᶜmixing_length ,
108+ ᶜmixing_length_field ,
107109 thermo_params,
108110 )
109111end
You can’t perform that action at this time.
0 commit comments