@@ -19,9 +19,9 @@ module zm_eamxx_bridge_methods
1919subroutine cldfrc_fice (ncol , t , fice , fsnow )
2020 !
2121 ! Compute the fraction of the total cloud water which is in ice phase.
22- ! The fraction depends on temperature only.
22+ ! The fraction depends on temperature only.
2323 ! This is the form that was used for radiation, the code came from cldefr originally
24- !
24+ !
2525 ! Author: B. A. Boville Sept 10, 2002
2626 ! modified: PJR 3/13/03 (added fsnow to ascribe snow production for convection )
2727 !- ----------------------------------------------------------------------
@@ -61,7 +61,7 @@ subroutine cldfrc_fice(ncol, t, fice, fsnow)
6161 else if (t(i,k) < tmin_fice) then
6262 fice(i,k) = 1.0_r8
6363 ! Otherwise mixed phase, with ice fraction decreasing linearly from tmin to tmax
64- else
64+ else
6565 fice(i,k) = (tmax_fice - t(i,k)) / (tmax_fice - tmin_fice)
6666 end if
6767 ! snow fraction partitioning
@@ -72,7 +72,7 @@ subroutine cldfrc_fice(ncol, t, fice, fsnow)
7272 else if (t(i,k) < tmin_fsnow) then
7373 fsnow(i,k) = 1.0_r8
7474 ! Otherwise mixed phase, with ice fraction decreasing linearly from tmin to tmax
75- else
75+ else
7676 fsnow(i,k) = (tmax_fsnow - t(i,k)) / (tmax_fsnow - tmin_fsnow)
7777 end if
7878 end do
@@ -142,7 +142,7 @@ subroutine zm_physics_update( ncol, dt, state_phis, state_zm, state_zi, &
142142 state_t(i,k) = state_t(i,k) + ptend_s(i,k)/ cpair * dt
143143 end do
144144 end do
145-
145+
146146 call zm_geopotential_t( ncol, state_p_int, state_p_mid, state_p_del, state_t, state_qv, state_zi, state_zm )
147147
148148 ! skip DSE update for EAMxx
@@ -152,15 +152,15 @@ subroutine zm_physics_update( ncol, dt, state_phis, state_zm, state_zi, &
152152 ! state_dse(i,k) = state_t(i,k)*cpair + gravit*state_zm(i,k) + state_phis(i)
153153 ! end do
154154 ! end do
155-
155+
156156end subroutine zm_physics_update
157157
158158! ===================================================================================================
159159
160160! copied and modified from geopotential.F90
161161subroutine zm_geopotential_t ( ncol , pint , pmid , pdel , t , q , zi , zm )
162162 use zm_eamxx_bridge_physconst, only: zvir, rair, gravit
163- !- ----------------------------------------------------------------------
163+ !- ----------------------------------------------------------------------
164164 ! Purpose: Compute the geopotential height (above the surface) at the
165165 ! midpoints and interfaces using the input temperatures and pressures
166166 !- ----------------------------------------------------------------------------
@@ -187,7 +187,7 @@ subroutine zm_geopotential_t( ncol, pint, pmid, pdel, t, q, zi, zm )
187187 end do
188188 ! Compute zi, zm from bottom up
189189 do k = pver, 1 , - 1
190- ! First set hydrostatic elements consistent with dynamics
190+ ! First set hydrostatic elements consistent with dynamics
191191 do i = 1 ,ncol
192192 hkl(i) = pdel(i,k) / pmid(i,k)
193193 hkk(i) = 0.5_r8 * hkl(i)
0 commit comments