Changeset 2698 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Dec 14, 2017 6:46:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r2696 r2698 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Bugfix in get_topography_top_index 23 23 ! 24 24 ! Former revisions: … … 466 466 USE surface_mod, & 467 467 ONLY : init_surface_arrays, init_surfaces, surf_def_h, surf_lsm_h, & 468 surf_usm_h, get_topography_top_index 468 surf_usm_h, get_topography_top_index_ji 469 469 470 470 USE transpose_indices … … 1580 1580 DO i = nxlg, nxrg 1581 1581 DO j = nysg, nyng 1582 nz_u_shift = get_topography_top_index ( j, i, 'u' )1583 nz_v_shift = get_topography_top_index ( j, i, 'v' )1584 nz_w_shift = get_topography_top_index ( j, i, 'w' )1585 nz_s_shift = get_topography_top_index ( j, i, 's' )1582 nz_u_shift = get_topography_top_index_ji( j, i, 'u' ) 1583 nz_v_shift = get_topography_top_index_ji( j, i, 'v' ) 1584 nz_w_shift = get_topography_top_index_ji( j, i, 'w' ) 1585 nz_s_shift = get_topography_top_index_ji( j, i, 's' ) 1586 1586 1587 1587 u(nz_u_shift:nzt+1,j,i) = u(0:nzt+1-nz_u_shift,j,i) … … 1625 1625 IF ( complex_terrain ) THEN 1626 1626 IF ( nxlg <= 0 .AND. nxrg >= 0 .AND. nysg <= 0 .AND. nyng >= 0 ) THEN 1627 nz_u_shift_l = get_topography_top_index ( 0, 0, 'u' )1628 nz_v_shift_l = get_topography_top_index ( 0, 0, 'v' )1629 nz_w_shift_l = get_topography_top_index ( 0, 0, 'w' )1630 nz_s_shift_l = get_topography_top_index ( 0, 0, 's' )1627 nz_u_shift_l = get_topography_top_index_ji( 0, 0, 'u' ) 1628 nz_v_shift_l = get_topography_top_index_ji( 0, 0, 'v' ) 1629 nz_w_shift_l = get_topography_top_index_ji( 0, 0, 'w' ) 1630 nz_s_shift_l = get_topography_top_index_ji( 0, 0, 's' ) 1631 1631 ELSE 1632 1632 nz_u_shift_l = 0
Note: See TracChangeset
for help on using the changeset viewer.