Ignore:
Timestamp:
Dec 14, 2017 6:46:24 PM (6 years ago)
Author:
suehring
Message:

Particle reflections at downward-facing walls; revision of particle speed interpolations at walls; bugfixes in get_topography_index and in date constants

File:
1 edited

Legend:

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

    r2696 r2698  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Bugfix in get_topography_top_index
    2323!
    2424! Former revisions:
     
    466466    USE surface_mod,                                                           &
    467467        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
    469469   
    470470    USE transpose_indices
     
    15801580          DO  i = nxlg, nxrg
    15811581             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' )
    15861586
    15871587                u(nz_u_shift:nzt+1,j,i)  = u(0:nzt+1-nz_u_shift,j,i)               
     
    16251625          IF ( complex_terrain )  THEN
    16261626             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' )
    16311631             ELSE
    16321632                nz_u_shift_l = 0
Note: See TracChangeset for help on using the changeset viewer.