Ignore:
Timestamp:
Apr 13, 2015, 10:21:09 AM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes 2216:2237 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

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

    r2220 r2258  
    1010      USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar
    1111      use phys_state_var_mod
    12       use comgeomphy
    1312      use dimphy
    1413      use surface_data, only : type_ocean,ok_veget
     
    203202!  Call to physiq
    204203!---------------------------------------------------------------------
    205       integer, parameter :: longcles=20
    206204      logical :: firstcall=.true.
    207205      logical :: lastcall=.false.
    208206      real :: phis    = 0.0
    209       real :: clesphy0(longcles) = 0.0
    210207      real :: dpsrf
    211208
     
    365362!---------------------------------------------------------------------
    366363
    367       call conf_gcm( 99, .TRUE. , clesphy0 )
     364      call conf_gcm( 99, .TRUE. )
    368365!-----------------------------------------------------------------------
    369366!   Choix du calendrier
     
    473470      call init_phys_lmdz(1,1,llm,1,(/1/))
    474471      call suphel
    475       call initcomgeomphy
    476472      call infotrac_init
    477473
     
    608604      rlon_rad(:)=rlon(:)*rpi/180.
    609605
    610       call iniphysiq(ngrid,llm,rday,day_ini,timestep,                        &
     606      call iniphysiq(iim,jjm,llm,rday,day_ini,timestep,                        &
    611607     &     rlat_rad,rlon_rad,airefi,zcufi,zcvfi,ra,rg,rd,rcpd,(/1/))
    612608      print*,'apres iniphysiq'
     
    618614! Ecriture du startphy avant le premier appel a la physique.
    619615! On le met juste avant pour avoir acces a tous les champs
    620 ! NB: les clesphy0 seront remplies dans phyredem d'apres les flags lus dans gcm.def
    621616
    622617      if (ok_writedem) then
     
    673668        zpic = zpicinp
    674669        ftsol=tsurf
     670        nsw=6 ! on met le nb de bandes SW=6, pour initialiser
     671              ! 6 albedo, mais on peut quand meme tourner avec
     672              ! moins. Seules les 2 ou 4 premiers seront lus
    675673        falb1 = albedo                           
    676674        falb2 = albedo                           
     675        falb_dir=albedo
     676        falb_dif=albedo
    677677        rugoro=rugos
    678678        t_ancien(1,:)=temp(:)
     
    859859     &              firstcall,lastcall,                                     &
    860860     &              day,time,timestep,                                      &
    861      &              plev,play,phi,phis,presnivs,clesphy0,                   &
     861     &              plev,play,phi,phis,presnivs,                            &
    862862     &              u,v,temp,q,omega2,                                      &
    863863     &              du_phys,dv_phys,dt_phys,dq,dpsrf,                        &
Note: See TracChangeset for help on using the changeset viewer.