Ignore:
Timestamp:
Oct 9, 2019, 3:11:07 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Make aquaplanets run again (on jean-zay)
EM & MP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/phyaqua_mod.F90

    r3540 r3579  
    88CONTAINS
    99
    10   SUBROUTINE iniaqua(nlon, iflag_phys)
     10  SUBROUTINE iniaqua(nlon,year_len,iflag_phys)
    1111
    1212    ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    3737    USE mod_grid_phy_lmdz
    3838    USE ioipsl_getin_p_mod, ONLY : getin_p
    39     USE phys_cal_mod , ONLY: year_len
     39    USE phys_cal_mod , ONLY: calend, year_len_phy => year_len
    4040    IMPLICIT NONE
    4141
     
    4444    include "dimsoil.h"
    4545
    46     INTEGER, INTENT (IN) :: nlon, iflag_phys
     46    INTEGER, INTENT (IN) :: nlon, year_len, iflag_phys
    4747    ! IM ajout latfi, lonfi
    4848!    REAL, INTENT (IN) :: lonfi(nlon), latfi(nlon)
     
    129129    ! -------------------------------
    130130
    131 
     131    !IF (calend .EQ. "earth_360d") Then
     132      year_len_phy = year_len
     133    !END IF
     134   
    132135    if (year_len.ne.360) then
     136      write (*,*) year_len
    133137      write (*,*) 'iniaqua: 360 day calendar is required !'
    134138      stop
     
    351355    alp_bl =0.
    352356    treedrg(:,:,:)=0.
     357
     358    u10m = 0.
     359    v10m = 0.
     360
     361    ql_ancien   = 0.
     362    qs_ancien   = 0.
     363    u_ancien    = 0.
     364    v_ancien    = 0.
     365    prw_ancien  = 0.
     366    prlw_ancien = 0.
     367    prsw_ancien = 0. 
     368
     369    ale_wake    = 0.
     370    ale_bl_stat = 0. 
     371
    353372
    354373!ym error : the sub surface dimension is the third not second : forgotten for iniaqua
Note: See TracChangeset for help on using the changeset viewer.