Ignore:
Timestamp:
Aug 27, 2020 8:54:43 AM (4 years ago)
Author:
pavelkrc
Message:

Radiation Transfer Model version 4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_grid.f90

    r4648 r4653  
    24112411!-- Pre-calculate topography top indices (former get_topography_top_index
    24122412!-- function)
    2413     ALLOCATE( topo_top_ind(nysg:nyng,nxlg:nxrg,0:4) )
     2413    ALLOCATE( topo_top_ind(nysg:nyng,nxlg:nxrg,0:5) )
    24142414!
    24152415!-- Uppermost topography index on scalar grid
     
    24372437    topo_top_ind(:,:,4) = MAXLOC( MERGE( 1, 0, BTEST( wall_flags_total_0(:,:,:), ibit ) ), DIM=1 ) &
    24382438                          - 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
    24392445
    24402446 END SUBROUTINE set_topo_flags
Note: See TracChangeset for help on using the changeset viewer.