39   integer,  
public, 
parameter :: 
i_up = 1
    40   integer,  
public, 
parameter :: 
i_dn = 2
    42   integer,  
public, 
parameter :: 
i_lw = 1
    43   integer,  
public, 
parameter :: 
i_sw = 2
    70        thermodyn_qd   => atmos_thermodyn_qd,   &
    71        thermodyn_cv   => atmos_thermodyn_cv,   &
    72        thermodyn_rhoe => atmos_thermodyn_rhoe, &
    73        thermodyn_rhot => atmos_thermodyn_rhot
    76     real(RP), 
intent(in)  :: flux_rad(
ka,
ia,
ja,2,2)
    77     real(RP), 
intent(in)  :: DENS    (
ka,
ia,
ja)
    78     real(RP), 
intent(in)  :: RHOT    (
ka,
ia,
ja)
    79     real(RP), 
intent(in)  :: QTRC    (
ka,
ia,
ja,
qa)
    80     real(RP), 
intent(in)  :: FZ      (0:
ka,
ia,
ja)
    81     real(DP), 
intent(in)  :: dt
    82     real(RP), 
intent(out) :: TEMP_t  (
ka,
ia,
ja,3)
    83     real(RP), 
intent(out) :: RHOT_t  (
ka,
ia,
ja)
    85     real(RP) :: RHOE  (
ka,
ia,
ja)
    86     real(RP) :: RHOE_t(
ka,
ia,
ja,2)
    87     real(RP) :: RHOT1 (
ka,
ia,
ja)
    88     real(RP) :: QDRY  (
ka,
ia,
ja)
    89     real(RP) :: CVtot (
ka,
ia,
ja)
    94     call thermodyn_rhoe( rhoe(:,:,:),  & 
   102        rhoe_t(k,i,j,
i_lw) = ( ( flux_rad(k,i,j,
i_lw,
i_dn) - flux_rad(k-1,i,j,
i_lw,
i_dn) ) &
   104                             ) / ( fz(k,i,j) - fz(k-1,i,j) )
   106        rhoe_t(k,i,j,
i_sw) = ( ( flux_rad(k,i,j,
i_sw,
i_dn) - flux_rad(k-1,i,j,
i_sw,
i_dn) ) &
   108                             ) / ( fz(k,i,j) - fz(k-1,i,j) )
   110        rhoe(k,i,j) = rhoe(k,i,j) + dt * ( rhoe_t(k,i,j,
i_lw) + rhoe_t(k,i,j,
i_sw) )
   116     call thermodyn_rhot( rhot1(:,:,:), & 
   124        rhot_t(k,i,j) = ( rhot1(k,i,j) - rhot(k,i,j) ) / dt
   129     call thermodyn_qd( qdry(:,:,:),  & 
   132     call thermodyn_cv( cvtot(:,:,:),   & 
   139        temp_t(k,i,j,
i_lw) = rhoe_t(k,i,j,
i_lw) / dens(k,i,j) / cvtot(k,i,j) * 86400.0_rp 
   140        temp_t(k,i,j,
i_sw) = rhoe_t(k,i,j,
i_sw) / dens(k,i,j) / cvtot(k,i,j) * 86400.0_rp 
   142        temp_t(k,i,j,3)    = temp_t(k,i,j,
i_lw) + temp_t(k,i,j,
i_sw)
 integer, public is
start point of inner domain: x, local 
subroutine, public atmos_phy_rd_heating(flux_rad, DENS, RHOT, QTRC, FZ, dt, TEMP_t, RHOT_t)
Calc heating rate. 
integer, public je
end point of inner domain: y, local 
integer, parameter, public i_direct
integer, public ke
end point of inner domain: z, local 
integer, parameter, public i_diffuse
integer, parameter, public i_lw
integer, parameter, public i_sw
integer, public ia
of x whole cells (local, with HALO)
integer, parameter, public i_dn
integer, public ka
of z whole cells (local, with HALO)
integer, public js
start point of inner domain: y, local 
integer, public ks
start point of inner domain: z, local 
integer, public ie
end point of inner domain: x, local 
module ATMOSPHERE / Thermodynamics 
module ATMOSPHERE / Physics Radiation 
integer, parameter, public i_up
integer, public ja
of y whole cells (local, with HALO)