Ignore:
Timestamp:
Dec 14, 2015, 11:43:09 AM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2298:2396 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

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

    r2298 r2408  
    55CONTAINS
    66
    7   SUBROUTINE iniaqua(nlon, latfi, lonfi, iflag_phys)
     7  SUBROUTINE iniaqua(nlon, iflag_phys)
    88
    99    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    1919    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    2020
    21     USE comgeomphy, ONLY: rlatd, rlond
    2221    USE dimphy, ONLY: klon
     22    USE geometry_mod, ONLY : latitude
    2323    USE surface_data, ONLY: type_ocean, ok_veget
    2424    USE pbl_surface_mod, ONLY: pbl_surface_init
    2525    USE fonte_neige_mod, ONLY: fonte_neige_init
    2626    USE phys_state_var_mod
    27     USE control_mod, ONLY: dayref, nday, iphysiq
     27    USE time_phylmdz_mod, ONLY: day_ref, ndays, pdtphys, &
     28                                day_ini,day_end
    2829    USE indice_sol_mod
    29 
     30    USE nrtype, ONLY: pi
    3031    USE ioipsl
    3132    IMPLICIT NONE
    3233
    33     include "dimensions.h"
    34     ! #include "dimphy.h"
    35     ! #include "YOMCST.h"
    36     include "comconst.h"
     34    include "YOMCST.h"
    3735    include "clesphys.h"
    3836    include "dimsoil.h"
    39     include "temps.h"
    4037
    4138    INTEGER, INTENT (IN) :: nlon, iflag_phys
    4239    ! IM ajout latfi, lonfi
    43     REAL, INTENT (IN) :: lonfi(nlon), latfi(nlon)
     40!    REAL, INTENT (IN) :: lonfi(nlon), latfi(nlon)
    4441
    4542    INTEGER type_profil, type_aqua
     
    120117    INTEGER l, ierr, aslun
    121118
    122     REAL longitude, latitude
     119!    REAL longitude, latitude
    123120    REAL paire
    124121
    125     DATA latitude, longitude/48., 0./
     122!    DATA latitude, longitude/48., 0./
    126123
    127124    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    152149
    153150    ! IM ajout latfi, lonfi
    154     rlatd = latfi
    155     rlond = lonfi
    156     rlat = rlatd*180./pi
    157     rlon = rlond*180./pi
     151!    rlatd = latfi
     152!    rlond = lonfi
     153!    rlat = rlatd*180./pi
     154!    rlon = rlond*180./pi
    158155
    159156    ! -----------------------------------------------------------------------
     
    161158    ! -----------------------------------------------------------------------
    162159
    163     day_ini = dayref
    164     day_end = day_ini + nday
    165     airefi = 1.
    166     zcufi = 1.
    167     zcvfi = 1.
     160    day_ini = day_ref
     161    day_end = day_ini + ndays
     162!    airefi = 1.
     163!    zcufi = 1.
     164!    zcvfi = 1.
    168165    !$OMP MASTER
    169166    nbapp_rad_omp = 24
     
    263260    END DO
    264261    ! IM calcul profil sst
    265     CALL profil_sst(nlon, rlatd, type_profil, phy_sst)
     262    CALL profil_sst(nlon, latitude, type_profil, phy_sst)
    266263
    267264    CALL writelim(klon, phy_nat, phy_alb, phy_sst, phy_bil, phy_rug, phy_ice, &
     
    276273    ! Ecriture etat initial physique
    277274
    278     timestep = dtvr*float(iphysiq)
    279     radpas = nint(daysec/timestep/float(nbapp_rad))
     275    timestep = pdtphys
     276    radpas = nint(rday/timestep/float(nbapp_rad))
    280277
    281278    DO i = 1, longcles
     
    492489    USE mod_phys_lmdz_transfert_para, ONLY: gather
    493490    IMPLICIT NONE
    494     ! #include "dimensions.h"
    495     ! #include "dimphy.h"
    496491    include "netcdf.inc"
    497492
Note: See TracChangeset for help on using the changeset viewer.