diff --git a/src/parameterized_tendencies/gravity_wave_drag/non_orographic_gravity_wave.jl b/src/parameterized_tendencies/gravity_wave_drag/non_orographic_gravity_wave.jl index c7380eb1ce..a1cee0e71f 100644 --- a/src/parameterized_tendencies/gravity_wave_drag/non_orographic_gravity_wave.jl +++ b/src/parameterized_tendencies/gravity_wave_drag/non_orographic_gravity_wave.jl @@ -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, diff --git a/src/prognostic_equations/cloud_fraction.jl b/src/prognostic_equations/cloud_fraction.jl index 651a2b050c..6ed6b91aa2 100644 --- a/src/prognostic_equations/cloud_fraction.jl +++ b/src/prognostic_equations/cloud_fraction.jl @@ -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