Skip to content

Commit

Permalink
only do modal aerosol calcs when modal aerosols are used
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-eaton committed Nov 6, 2024
1 parent 93996fa commit fe03fe4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/physics/cam7/physpkg.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2882,8 +2882,10 @@ subroutine tphysbc (ztodt, state, &
! Run wet deposition routines to intialize aerosols
!===================================================

call modal_aero_calcsize_diag(state, pbuf)
call modal_aero_wateruptake_dr(state, pbuf)
if (clim_modal_aero) then
call modal_aero_calcsize_diag(state, pbuf)
call modal_aero_wateruptake_dr(state, pbuf)
end if

!===================================================
! Radiation computations
Expand Down

0 comments on commit fe03fe4

Please sign in to comment.