Changeset 4168 for palm/trunk/SOURCE/nesting_offl_mod.f90
- Timestamp:
- Aug 16, 2019 1:50:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/nesting_offl_mod.f90
r4125 r4168 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Replace function get_topography_top_index by topo_top_ind 28 ! 29 ! 4125 2019-07-29 13:31:44Z suehring 27 30 ! In order to enable netcdf parallel access, allocate dummy arrays for the 28 31 ! lateral boundary data on cores that actually do not belong to these … … 119 122 USE indices, & 120 123 ONLY: nbgp, nx, nxl, nxlg, nxlu, nxr, nxrg, ny, nys, & 121 nysv, nysg, nyn, nyng, nzb, nz, nzt, wall_flags_0 124 nysv, nysg, nyn, nyng, nzb, nz, nzt, & 125 topo_top_ind, & 126 wall_flags_0 122 127 123 128 USE kinds … … 873 878 874 879 USE kinds 875 876 USE surface_mod, &877 ONLY: get_topography_top_index, get_topography_top_index_ji878 880 879 881 IMPLICIT NONE … … 918 920 ! 919 921 !-- Determine topography top index at current (j,i) index 920 k_surface = get_topography_top_index_ji( j, i, 's')922 k_surface = topo_top_ind(j,i,0) 921 923 ! 922 924 !-- Pre-compute surface virtual temperature. Therefore, use 2nd … … 978 980 979 981 DO i = nxl, nxr 980 k_surface = get_topography_top_index_ji( j, i, 's')982 k_surface = topo_top_ind(j,i,0) 981 983 982 984 IF ( humidity ) THEN … … 1032 1034 !-- turbulence generator accordingly. If Rayleigh damping would be applied 1033 1035 !-- near buildings, etc., this would spoil the simulation results. 1034 topo_max_l = zw(MAXVAL( get_topography_top_index( 's' )))1036 topo_max_l = zw(MAXVAL( topo_top_ind(nys:nyn,nxl:nxr,0) )) 1035 1037 1036 1038 #if defined( __parallel )
Note: See TracChangeset
for help on using the changeset viewer.