Changeset 2317 for palm/trunk/SOURCE/microphysics_mod.f90
- Timestamp:
- Jul 20, 2017 5:27:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/microphysics_mod.f90
r2312 r2317 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Get topography top index via Function call 23 23 ! 24 24 ! Former revisions: … … 445 445 446 446 USE indices, & 447 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_0447 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 448 448 449 449 USE kinds … … 787 787 788 788 USE indices, & 789 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_0789 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 790 790 791 791 USE kinds … … 923 923 924 924 USE indices, & 925 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_0925 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 926 926 927 927 USE kinds 928 929 USE surface_mod, & 930 ONLY: get_topography_top_index 928 931 929 932 … … 942 945 ! 943 946 !-- Determine vertical index of topography top 944 k_wall = MAXLOC( & 945 MERGE( 1, 0, & 946 BTEST( wall_flags_0(nzb:nzb_max,j,i), 12 ) & 947 ), DIM = 1 & 948 ) - 1 947 k_wall = get_topography_top_index( j, i, 's' ) 949 948 DO k = nzb+1, nzt 950 949 ! … … 994 993 995 994 USE indices, & 996 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_0995 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 997 996 998 997 USE kinds … … 1093 1092 1094 1093 USE indices, & 1095 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_01094 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 1096 1095 1097 1096 USE kinds … … 1170 1169 1171 1170 USE indices, & 1172 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_01171 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 1173 1172 1174 1173 USE kinds … … 1331 1330 1332 1331 USE indices, & 1333 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_01332 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 1334 1333 1335 1334 USE kinds … … 1443 1442 1444 1443 USE indices, & 1445 ONLY: nxlg, nxrg, nyng, nysg, nzb, nz b_max, nzt, wall_flags_01444 ONLY: nxlg, nxrg, nyng, nysg, nzb, nzt, wall_flags_0 1446 1445 1447 1446 USE kinds … … 2329 2328 2330 2329 USE indices, & 2331 ONLY: nzb, nz b_max, nzt, wall_flags_02330 ONLY: nzb, nzt, wall_flags_0 2332 2331 2333 2332 USE kinds 2333 2334 USE surface_mod, & 2335 ONLY: get_topography_top_index 2334 2336 2335 2337 … … 2346 2348 ! 2347 2349 !-- Determine vertical index of topography top 2348 k_wall = MAXLOC( & 2349 MERGE( 1, 0, & 2350 BTEST( wall_flags_0(nzb:nzb_max,j,i), 12 ) & 2351 ), DIM = 1 & 2352 ) - 1 2350 k_wall = get_topography_top_index( j, i, 's' ) 2353 2351 DO k = nzb+1, nzt 2354 2352 !
Note: See TracChangeset
for help on using the changeset viewer.