Ignore:
Timestamp:
Apr 3, 2016, 12:09:34 AM (8 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2457:2487 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/wake.F90

    r2408 r2488  
    2121  ! **************************************************************
    2222
     23  USE ioipsl_getin_p_mod, ONLY : getin_p
    2324  USE dimphy
    2425  use mod_phys_lmdz_para
     
    161162  REAL, SAVE ::  stark, wdens_ref, coefgw, alpk, crep_upper, crep_sol 
    162163  !$OMP THREADPRIVATE(stark, wdens_ref, coefgw, alpk, crep_upper, crep_sol)
     164
    163165  REAL delta_t_min
    164166  INTEGER nsub
     
    286288
    287289 if (first) then
    288   stark = 0.33
    289   alpk = 0.25
    290   wdens_ref = 8.E-12
    291   coefgw = 4.
    292290  crep_upper = 0.9
    293291  crep_sol = 1.0
    294292
    295293  ! cc nrlmd Lecture du fichier wake_param.data
    296  !$OMP MASTER
    297   OPEN (99, FILE='wake_param.data', STATUS='old', FORM='formatted', ERR=9999)
    298   READ (99, *, END=9998) stark
    299   READ (99, *, END=9998) alpk
    300   READ (99, *, END=9998) wdens_ref
    301   READ (99, *, END=9998) coefgw
    302 9998 CONTINUE
    303   CLOSE (99)
    304 9999 CONTINUE
    305  !$OMP END MASTER
    306   CALL bcast(stark)
    307   CALL bcast(alpk)
    308   CALL bcast(wdens_ref)
    309   CALL bcast(coefgw)
     294  stark=0.33
     295  CALL getin_p('stark',stark)
     296  alpk=0.25
     297  CALL getin_p('alpk',alpk)
     298  wdens_ref=8.E-12
     299  CALL getin_p('wdens_ref',wdens_ref)
     300  coefgw=4.
     301  CALL getin_p('coefgw',coefgw)
     302
     303  WRITE(*,*) 'stark=', stark
     304  WRITE(*,*) 'alpk=', alpk
     305  WRITE(*,*) 'wdens_ref=', wdens_ref
     306  WRITE(*,*) 'coefgw=', coefgw
    310307
    311308  first=.false.
Note: See TracChangeset for help on using the changeset viewer.