Changeset 4653 for palm/trunk/SOURCE/init_grid.f90
- Timestamp:
- Aug 27, 2020 8:54:43 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_grid.f90
r4648 r4653 2411 2411 !-- Pre-calculate topography top indices (former get_topography_top_index 2412 2412 !-- function) 2413 ALLOCATE( topo_top_ind(nysg:nyng,nxlg:nxrg,0: 4) )2413 ALLOCATE( topo_top_ind(nysg:nyng,nxlg:nxrg,0:5) ) 2414 2414 ! 2415 2415 !-- Uppermost topography index on scalar grid … … 2437 2437 topo_top_ind(:,:,4) = MAXLOC( MERGE( 1, 0, BTEST( wall_flags_total_0(:,:,:), ibit ) ), DIM=1 ) & 2438 2438 - 1 2439 ! 2440 !-- Uppermost topography index including full-3D geometry 2441 ibit = 12 2442 DO k = nzb, nzt+1 2443 WHERE( BTEST( wall_flags_total_0(k,:,:), ibit ) ) topo_top_ind(:,:,5) = k 2444 ENDDO 2439 2445 2440 2446 END SUBROUTINE set_topo_flags
Note: See TracChangeset
for help on using the changeset viewer.