Skip to content

Commit

Permalink
cloud_fraction: remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Oct 23, 2023
1 parent f16c6dd commit 93aa09a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function non_orographic_gravity_wave_tendency!(
)
#unpack
(; ᶜts, ᶜT, ᶜdTdz, ᶜbuoyancy_frequency, params) = p
model_config = p.atmos.model_config
(; model_config) = p.atmos
(;
gw_source_ampl,
gw_Bw,
Expand Down
14 changes: 2 additions & 12 deletions src/prognostic_equations/cloud_fraction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,10 @@ function compute_cloud_fraction(
θl′θl′,
θl′qt′,
)
return quad_loop(
env_thermo_quad,
env_thermo_quad.quadrature_type,
vars,
thermo_params,
)::FT
return quad_loop(env_thermo_quad, vars, thermo_params)::FT
end

function quad_loop(
env_thermo_quad::SGSQuadrature,
quadrature_type::GaussianQuad,
vars,
thermo_params,
)
function quad_loop(env_thermo_quad::SGSQuadrature, vars, thermo_params)

# qt - total water specific humidity
# θl - liquid ice potential temperature
Expand Down

0 comments on commit 93aa09a

Please sign in to comment.