Changeset 2317 for palm/trunk/SOURCE/radiation_model_mod.f90
- Timestamp:
- Jul 20, 2017 5:27:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/radiation_model_mod.f90
r2299 r2317 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Get topography top index via Function call 23 23 ! 24 24 ! Former revisions: … … 169 169 170 170 USE indices, & 171 ONLY: nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzt, & 172 wall_flags_0 171 ONLY: nxl, nxlg, nxr, nxrg, nyn, nyng, nys, nysg, nzb, nzt 173 172 174 173 USE kinds … … 200 199 ONLY: rrtmg_sw 201 200 #endif 202 203 201 USE surface_mod, & 202 ONLY: get_topography_top_index 204 203 205 204 IMPLICIT NONE … … 1186 1185 ! 1187 1186 !-- Obtain vertical index of topography top 1188 k = MAXLOC( & 1189 MERGE( 1, 0, & 1190 BTEST( wall_flags_0(:,j,i), 12 ) & 1191 ), DIM = 1 & 1192 ) - 1 1187 k = get_topography_top_index( j, i, 's' ) 1193 1188 1194 1189 exn1 = (hyp(k+1) / 100000.0_wp )**0.286_wp … … 1243 1238 !-- Obtain vertical index of topography top. So far it is identical to 1244 1239 !-- nzb. 1245 k = MAXLOC( & 1246 MERGE( 1, 0, & 1247 BTEST( wall_flags_0(:,j,i), 12 ) & 1248 ), DIM = 1 & 1249 ) - 1 1240 k = get_topography_top_index( j, i, 's' ) 1250 1241 1251 1242 rad_net(j,i) = net_radiation
Note: See TracChangeset
for help on using the changeset viewer.