Changeset 1768 for trunk


Ignore:
Timestamp:
Aug 25, 2017, 2:23:32 AM (7 years ago)
Author:
aslmd
Message:

LES. complement to previous commit. make read levels as an alternative for stretch_grid for non-mars cases (as it used to be before the previous commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/modif_mars/module_initialize_les.F

    r1767 r1768  
    253253                                (1.-exp(-1./z_scale))
    254254     ENDDO
     255   ELSE
     256     !!MARS
     257     !!MARS
     258     IF (planet .ne. "mars") THEN
     259       open(unit=12,file='levels',form='formatted',status='old')
     260       rewind(12)
     261       DO k=1, kde
     262        read(12,*) grid%znw(k)
     263        write(6,*) 'read level ', k,grid%znw(k)
     264       ENDDO
     265       close(12)
     266     ENDIF
     267     !!MARS
     268     !!MARS
     269     !  !DO k=1, kde
     270     !  ! grid%znw(k) = 1. - float(k-1)/float(kde-1)
     271     !  !ENDDO
    255272   ENDIF
    256    !ELSE
    257    !  !DO k=1, kde
    258    !  ! grid%znw(k) = 1. - float(k-1)/float(kde-1)
    259    !  !ENDDO
    260 
    261 
     273
     274   !! SPECIFIC FOR LES PBL MARS
    262275   IF (planet == "mars") THEN
    263276     !!!MARS
     
    269282       grid%znw(k) = grid%znw(4) * ( 1. - float(k-4)/float(kde-4) )
    270283     ENDDO
    271 !!!MARS
    272 !!!MARS
    273 !  open(unit=12,file='levels',form='formatted',status='old')
    274 !  rewind(12)
    275 !  DO k=1, kde
    276 !  read(12,*) grid%znw(k)
    277 !  write(6,*) 'read level ', k,grid%znw(k)
    278 !  ENDDO
    279 !  close(12)
    280 !!!MARS
    281 !!!MARS
    282284   ENDIF
    283285
Note: See TracChangeset for help on using the changeset viewer.