Ignore:
Timestamp:
Jun 11, 2014, 3:46:46 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r1997:2055 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phydev/physiq.F90

    r1910 r2056  
    88     &            flxmass_w, &
    99     &            d_u, d_v, d_t, d_qx, d_ps &
    10      &            , dudyn &
    11      &            , PVteta)
     10     &            , dudyn)
    1211
    1312      USE dimphy, only : klon,klev
     
    2120
    2221#ifdef CPP_XIOS
     22      USE xios, ONLY: xios_update_calendar
    2323      USE wxios, only: wxios_add_vaxis, wxios_set_timestep, wxios_closedef, &
    24                        wxios_update_calendar, histwrite_phy
     24                       histwrite_phy
    2525#endif
    2626
     
    5858      real,intent(out) :: d_ps(klon) ! physics tendency on surface pressure
    5959      real,intent(in) :: dudyn(iim+1,jjmp1,klev) ! Not used
    60 !FH! REAL PVteta(klon,nbteta)
    61 !      REAL PVteta(klon,1)
    62       real,intent(in) :: PVteta(klon,3) ! Not used ; should match definition
    63                                         ! in calfis.F
    6460
    6561integer,save :: itau=0 ! counter to count number of calls to physics
     
    137133#ifdef CPP_XIOS
    138134!XIOS
    139     ! Déclaration de l'axe vertical du fichier:   
    140     CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs)
    141 
    142     !Déclaration du pas de temps:
     135    ! Declare available vertical axes to be used in output files:   
     136    !CALL wxios_add_vaxis("presnivs", "dummy-not-used", klev, presnivs)
     137    CALL wxios_add_vaxis("presnivs", klev, presnivs)
     138
     139    ! Declare time step length (in s):
    143140    CALL wxios_set_timestep(dtime)
    144141
    145     !Finalisation du contexte:
     142    !Finalize the context:
    146143    CALL wxios_closedef()
    147144#endif
     
    187184!$OMP MASTER
    188185    !Increment XIOS time
    189     CALL wxios_update_calendar(itau)
     186    CALL xios_update_calendar(itau)
    190187!$OMP END MASTER
    191188!$OMP BARRIER
    192189
    193     !Send fields to XIOS:
     190    !Send fields to XIOS: (NB these fields must also be defined as
     191    ! <field id="..." /> in iodef.xml to be correctly used
    194192    CALL histwrite_phy("temperature",t)
     193    CALL histwrite_phy("temp_newton",temp_newton)
    195194    CALL histwrite_phy("u",u)
    196195    CALL histwrite_phy("v",v)
Note: See TracChangeset for help on using the changeset viewer.