Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
amylu00 committed Jul 29, 2024
1 parent e20fba1 commit 4289c66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion parcel/ParcelModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,16 @@ function run_parcel(IC, t_0, t_end, pp)
if pp.aerosol_act == "None"
aero_act_params = Empty{FT}()
elseif pp.aerosol_act == "AeroAct"
aero_act_params = AeroAct{FT}(pp.aps, pp.aap, pp.aerosol, pp.tps, pp.w, pp.const_dt, pp.aero_σ_g, pp.r_nuc)
aero_act_params = AeroAct{FT}(
pp.aps,
pp.aap,
pp.aerosol,
pp.tps,
pp.w,
pp.const_dt,
pp.aero_σ_g,
pp.r_nuc,
)
else
throw("Unrecognized aerosol activation mode")
end
Expand Down
3 changes: 2 additions & 1 deletion parcel/ParcelTendencies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function aerosol_activation(params::AeroAct, state, q)
)
all_ad = AM.AerosolDistribution((ad,))

return AA.total_N_activated(aap, all_ad, aps, tps, T, p_air, w, q) / const_dt
return AA.total_N_activated(aap, all_ad, aps, tps, T, p_air, w, q) /
const_dt
end

function deposition_nucleation(::Empty, state, dY)
Expand Down

0 comments on commit 4289c66

Please sign in to comment.