Skip to content

tmp testing to fix coupler test #3944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/cache/cloud_fraction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ NVTX.@annotate function set_cloud_fraction!(
end
end

ᶜmixing_length = compute_gm_mixing_length(Y, p)
# TODO - tmp fix for the Coupler test. To be removed soon.
ᶜmixing_length_field = p.scratch.ᶜtemp_scalar
ᶜmixing_length_field .= compute_gm_mixing_length(Y, p)

diagnostic_covariance_coeff = CAP.diagnostic_covariance_coeff(params)
@. cloud_diagnostics_tuple = quad_loop(
Expand All @@ -103,7 +105,7 @@ NVTX.@annotate function set_cloud_fraction!(
Geometry.WVector(p.precomputed.ᶜgradᵥ_q_tot),
Geometry.WVector(p.precomputed.ᶜgradᵥ_θ_liq_ice),
diagnostic_covariance_coeff,
ᶜmixing_length,
ᶜmixing_length_field,
thermo_params,
)
end
Expand Down
Loading