Changeset 818 for palm/trunk/SOURCE/init_grid.f90
- Timestamp:
- Feb 8, 2012 4:11:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_grid.f90
r810 r818 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: topo_height is only required if topography is used. It is thus now 7 ! allocated in the topography branch 7 8 ! 8 9 ! Former revisions: … … 38 39 ! 39 40 ! 555 2010-09-07 07:32:53Z raasch 40 ! Bugfix: default setting of nzb_local for flat topograph ie41 ! Bugfix: default setting of nzb_local for flat topography 41 42 ! 42 43 ! 274 2009-03-26 15:11:21Z heinze … … 100 101 REAL :: dx_l, dy_l, dz_stretched 101 102 102 REAL, DIMENSION( 0:ny,0:nx):: topo_height103 REAL, DIMENSION(:,:), ALLOCATABLE :: topo_height 103 104 104 105 REAL, DIMENSION(:,:,:), ALLOCATABLE :: distance … … 331 332 ALLOCATE( l_wall(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) 332 333 334 333 335 nzb_s_inner = nzb; nzb_s_outer = nzb 334 336 nzb_u_inner = nzb; nzb_u_outer = nzb … … 517 519 CASE ( 'read_from_file' ) 518 520 521 ALLOCATE ( topo_height(0:ny,0:nx) ) 522 519 523 DO ii = 0, io_blocks-1 520 524 IF ( ii == io_group ) THEN … … 552 556 ENDDO 553 557 ENDDO 558 559 DEALLOCATE ( topo_height ) 554 560 ! 555 561 !-- Add cyclic boundaries (additional layers are for calculating
Note: See TracChangeset
for help on using the changeset viewer.