Skip to content

Commit 15f646e

Browse files
committed
Fix USE statements; sync up comments to CAM-SIMA copy
1 parent a6cd08b commit 15f646e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/chemistry/aerosol/modal_aerosol_state_mod.F90

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ end subroutine icenuc_size_wght_arr
278278
! return aerosol bin size weights for a given bin, column and vertical layer
279279
!------------------------------------------------------------------------------
280280
subroutine icenuc_size_wght_val(self, bin_ndx, col_ndx, lyr_ndx, species_type, use_preexisting_ice, wght)
281+
use aerosol_properties_mod, only: aero_name_len
282+
281283
class(modal_aerosol_state), intent(in) :: self
282284
integer, intent(in) :: bin_ndx ! bin number
283285
integer, intent(in) :: col_ndx ! column index
@@ -338,6 +340,7 @@ end subroutine icenuc_size_wght_val
338340
subroutine icenuc_type_wght(self, bin_ndx, ncol, nlev, species_type, aero_props, rho, wght, cloud_borne)
339341

340342
use aerosol_properties_mod, only: aerosol_properties
343+
use aerosol_properties_mod, only: aero_name_len
341344

342345
class(modal_aerosol_state), intent(in) :: self
343346
integer, intent(in) :: bin_ndx ! bin number
@@ -415,6 +418,8 @@ end subroutine update_bin
415418
! as heterogeneous freezing nuclei
416419
!------------------------------------------------------------------------------
417420
function hetfrz_size_wght(self, bin_ndx, ncol, nlev) result(wght)
421+
use aerosol_properties_mod, only: aero_name_len
422+
418423
class(modal_aerosol_state), intent(in) :: self
419424
integer, intent(in) :: bin_ndx ! bin number
420425
integer, intent(in) :: ncol ! number of columns
@@ -452,8 +457,7 @@ subroutine hygroscopicity(self, bin_ndx, kappa)
452457
end subroutine hygroscopicity
453458

454459
!------------------------------------------------------------------------------
455-
! returns aerosol wet diameter and aerosol water concentration for a given
456-
! radiation diagnostic list number and bin number
460+
! returns aerosol wet diameter and aerosol water concentration for a given mode
457461
!------------------------------------------------------------------------------
458462
!REMOVECAM - under CAM-SIMA, water uptake computed by CCPP scheme; results passed via constituent interface
459463
subroutine water_uptake(self, aero_props, bin_idx, ncol, nlev, dgnumwet, qaerwat)
@@ -607,7 +611,7 @@ function water_volume(self, aero_props, bin_idx, ncol, nlev) result(vol)
607611
end function water_volume
608612

609613
!------------------------------------------------------------------------------
610-
! aerosol wet diameter
614+
! aerosol wet diameter for a given mode
611615
!------------------------------------------------------------------------------
612616
!REMOVECAM - under CAM-SIMA, wet diameter provided by CCPP scheme output
613617
function wet_diameter(self, bin_idx, ncol, nlev) result(diam)
@@ -630,6 +634,7 @@ end function wet_diameter
630634
! prescribed aerosol activation fraction for convective cloud
631635
!------------------------------------------------------------------------------
632636
function convcld_actfrac(self, aero_props, ibin, ispc, ncol, nlev) result(frac)
637+
use aerosol_properties_mod, only: aero_name_len
633638

634639
class(modal_aerosol_state), intent(in) :: self
635640
class(aerosol_properties), intent(in) :: aero_props ! aerosol properties object

0 commit comments

Comments
 (0)