Ignore:
Timestamp:
Sep 12, 2018 3:02:00 PM (6 years ago)
Author:
raasch
Message:

various changes to avoid compiler warnings (mainly removal of unused variables)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/microphysics_mod.f90

    r3026 r3241  
    2525! -----------------
    2626! $Id$
     27! unused variables removed
     28!
     29! 3026 2018-05-22 10:30:53Z schwenkel
    2730! Changed the name specific humidity to mixing ratio, since we are computing
    2831! mixing ratios.
     
    201204    REAL(wp) ::  k_br = 1000.0_wp          !< const. in breakup parametrization (m-1)
    202205    REAL(wp) ::  k_st = 1.2E8_wp           !< const. in drizzle parametrization (m-1 s-1)
    203     REAL(wp) ::  kappa_rr = 60.7_wp        !< const. in collision kernel (kg-1/3)
    204206    REAL(wp) ::  kin_vis_air = 1.4086E-5_wp  !< kin. viscosity of air (m2 s-1)
    205207    REAL(wp) ::  prec_time_const = 0.001_wp  !< coef. in Kessler scheme (s-1)
     
    212214    REAL(wp) ::  xamin = 5.24E-19_wp       !< average aerosol mass (kg) (~ 0.05µm)
    213215    REAL(wp) ::  xcmin = 4.18E-15_wp       !< minimum cloud drop size (kg) (~ 1µm)
    214     REAL(wp) ::  xcmax = 2.6E-10_wp        !< maximum cloud drop size (kg) (~ 40µm)
    215216    REAL(wp) ::  xrmin = 2.6E-10_wp        !< minimum rain drop size (kg)
    216217    REAL(wp) ::  xrmax = 5.0E-6_wp         !< maximum rain drop site (kg)
     
    556557
    557558       USE arrays_3d,                                                          &
    558            ONLY:  hyp, nc, nr, pt, q,  qc, qr
     559           ONLY:  nc
    559560
    560561       USE cloud_parameters,                                                   &
    561            ONLY:  hyrho, l_d_cp, l_d_r, l_v, molecular_weight_of_solute,       &
    562                   molecular_weight_of_water, rho_l, rho_s, r_v, t_d_pt,        &
    563                   vanthoff
    564 
    565        USE constants,                                                          &
    566            ONLY:  pi
     562           ONLY:  molecular_weight_of_solute,       &
     563                  molecular_weight_of_water, rho_l, rho_s, r_v, vanthoff
    567564
    568565       USE cpulog,                                                             &
     
    570567
    571568       USE diagnostic_quantities_mod,                                          &
    572            ONLY: e_s, magnus, q_s, sat, supersaturation, t_l
     569           ONLY:  magnus, sat, supersaturation, t_l
    573570
    574571       USE indices,                                                            &
     
    576573
    577574       USE kinds
    578 
    579        USE control_parameters,                                                 &
    580           ONLY: simulated_time
    581575
    582576       IMPLICIT NONE
     
    684678
    685679       USE arrays_3d,                                                          &
    686            ONLY:  hyp, nr, pt, q,  qc, qr, nc
     680           ONLY:  q,  qc, qr, nc
    687681
    688682       USE cloud_parameters,                                                   &
    689            ONLY:  hyrho, l_d_cp, l_d_r, l_v, r_v, t_d_pt
     683           ONLY:  hyrho, l_d_cp, l_v, r_v
    690684
    691685       USE constants,                                                          &
     
    702696
    703697       USE kinds
    704 
    705        USE control_parameters,                                                 &
    706           ONLY: simulated_time
    707698
    708699       IMPLICIT NONE
     
    716707       REAL(wp)     ::  dc                !<
    717708       REAL(wp)     ::  evap              !<
    718        REAL(wp)     ::  evap_nc           !<
    719709       REAL(wp)     ::  g_fac             !<
    720710       REAL(wp)     ::  nc_0              !<
     
    11731163
    11741164       USE arrays_3d,                                                          &
    1175            ONLY:  hyp, nr, pt, q, qc, qr
     1165           ONLY:  nr, qc, qr
    11761166
    11771167       USE cloud_parameters,                                                   &
    1178            ONLY:  hyrho, l_d_cp, l_d_r, l_v, r_v, t_d_pt
     1168           ONLY:  hyrho, l_d_cp, l_v, r_v
    11791169
    11801170       USE constants,                                                          &
     
    11851175
    11861176       USE diagnostic_quantities_mod,                                          &
    1187            ONLY: e_s, magnus, q_s, sat, supersaturation, t_l
     1177           ONLY: e_s, magnus, sat, supersaturation, t_l
    11881178
    11891179       USE indices,                                                            &
     
    14611451       INTEGER(iwp) ::  k             !< running index z direction
    14621452       INTEGER(iwp) ::  k_run         !<
    1463        INTEGER(iwp) ::  l             !< running index of surface type
    14641453       INTEGER(iwp) ::  m             !< running index surface elements
    14651454       INTEGER(iwp) ::  surf_e        !< End index of surface elements at (j,i)-gridpoint
     
    17131702                  precipitation_amount_interval, time_do2d_xy
    17141703
    1715        USE indices,                                                            &
    1716            ONLY:  nxl, nxr, nys, nyn, nzb, nzt, wall_flags_0
    1717 
    17181704       USE kinds
    17191705
     
    17271713       INTEGER(iwp) ::  k             !< running index y direction
    17281714       INTEGER(iwp) ::  m             !< running index surface elements
    1729        INTEGER(iwp) ::  surf_e        !< End index of surface elements at (j,i)-gridpoint
    1730        INTEGER(iwp) ::  surf_s        !< Start index of surface elements at (j,i)-gridpoint
    17311715
    17321716       IF ( ( dt_do2d_xy - time_do2d_xy ) < precipitation_amount_interval .AND.&
     
    19451929
    19461930       USE arrays_3d,                                                          &
    1947            ONLY:  hyp, nr, pt, q,  qc, qr, nc
     1931           ONLY:  hyp
    19481932
    19491933       USE cloud_parameters,                                                   &
    1950            ONLY:  hyrho, l_d_cp, l_d_r, l_v, molecular_weight_of_solute,       &
     1934           ONLY:  l_d_cp, l_d_r, molecular_weight_of_solute,                   &
    19511935                  molecular_weight_of_water, rho_l, rho_s, r_v, t_d_pt,        &
    19521936                  vanthoff
    19531937
    1954        USE constants,                                                          &
    1955            ONLY:  pi
    1956 
    19571938       USE cpulog,                                                             &
    1958            ONLY:  cpu_log, log_point_s
     1939           ONLY:  cpu_log
    19591940
    19601941       USE indices,                                                            &
    1961            ONLY:  nxlg, nxrg, nysg, nyng, nzb, nzt
     1942           ONLY:  nzb, nzt
    19621943
    19631944       USE kinds
    1964 
    1965        USE control_parameters,                                                 &
    1966           ONLY: simulated_time
    19671945
    19681946       IMPLICIT NONE
     
    20852063
    20862064       USE arrays_3d,                                                          &
    2087            ONLY:  hyp, nr, pt, q,  qc, qr, nc
     2065           ONLY:  hyp
    20882066
    20892067       USE cloud_parameters,                                                   &
     
    20942072
    20952073       USE cpulog,                                                             &
    2096            ONLY:  cpu_log, log_point_s
     2074           ONLY:  cpu_log
    20972075
    20982076       USE indices,                                                            &
    2099            ONLY:  nxlg, nxrg, nysg, nyng, nzb, nzt
     2077           ONLY:  nzb, nzt
    21002078
    21012079       USE kinds
    2102 
    2103        USE control_parameters,                                                 &
    2104           ONLY: simulated_time
    21052080
    21062081       IMPLICIT NONE
     
    21162091       REAL(wp)     ::  e_s               !<
    21172092       REAL(wp)     ::  evap              !<
    2118        REAL(wp)     ::  evap_nc           !<
    21192093       REAL(wp)     ::  g_fac             !<
    21202094       REAL(wp)     ::  nc_0              !<
     
    30273001                  precipitation_amount_interval, time_do2d_xy
    30283002
    3029        USE indices,                                                            &
    3030            ONLY:  nzb, nzt, wall_flags_0
    3031 
    30323003       USE kinds
    30333004
Note: See TracChangeset for help on using the changeset viewer.