Changeset 3763 for palm/trunk
- Timestamp:
- Feb 25, 2019 5:33:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_grid.f90
r3761 r3763 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Replace work-around for ghost point exchange of 1-byte arrays with specific 28 ! routine as already done in other routines 29 ! 30 ! 3761 2019-02-25 15:31:42Z raasch 27 31 ! unused variables removed 28 32 ! … … 1706 1710 INTEGER(iwp) :: num_wall !< number of surrounding vertical walls for a single grid point 1707 1711 1708 INTEGER(iwp), DIMENSION(nysg:nyng,nxlg:nxrg) :: var_exchange_int !< dummy array for exchanging ghost-points1709 1712 INTEGER(iwp), DIMENSION(:,:,:), ALLOCATABLE :: topo_tmp !< temporary 3D-topography used to fill holes 1710 1713 INTEGER(iwp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: topo_3d !< 3D-topography array merging buildings and orography … … 1727 1730 IF ( building_id_f%from_file ) & 1728 1731 CALL exchange_horiz_2d_int( building_id_f%var, nys, nyn, nxl, nxr, nbgp ) 1729 IF ( building_type_f%from_file ) THEN 1730 var_exchange_int = INT( building_type_f%var, KIND = 4 ) 1731 CALL exchange_horiz_2d_int( var_exchange_int, nys, nyn, nxl, nxr, nbgp ) 1732 building_type_f%var = INT( var_exchange_int, KIND = 1 ) 1733 ENDIF 1732 IF ( building_type_f%from_file ) & 1733 CALL exchange_horiz_2d_byte( building_type_f%var, nys, nyn, nxl, nxr, nbgp ) 1734 1734 1735 1735 topo_tmp = topo_3d … … 1879 1879 IF ( building_id_f%from_file ) & 1880 1880 CALL exchange_horiz_2d_int( building_id_f%var, nys, nyn, nxl, nxr, nbgp ) 1881 IF ( building_type_f%from_file ) THEN 1882 var_exchange_int = INT( building_type_f%var, KIND = 4 ) 1883 CALL exchange_horiz_2d_int( var_exchange_int, nys, nyn, nxl, nxr, nbgp ) 1884 building_type_f%var = INT( var_exchange_int, KIND = 1 ) 1885 ENDIF 1881 IF ( building_type_f%from_file ) & 1882 CALL exchange_horiz_2d_byte( building_type_f%var, nys, nyn, nxl, nxr, nbgp ) 1886 1883 1887 1884 END SUBROUTINE filter_topography
Note: See TracChangeset
for help on using the changeset viewer.