Changeset 3579 for LMDZ6/trunk
- Timestamp:
- Oct 9, 2019, 3:11:07 PM (5 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/gcm.F90
r3435 r3579 241 241 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 242 242 if (.not.read_start) then 243 start_time=0. 243 244 annee_ref=anneeref 244 245 CALL iniacademic(vcov,ucov,teta,q,masse,ps,phis,time_0) -
LMDZ6/trunk/libf/dyn3dmem/conf_gcm.F90
r2665 r3579 25 25 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, & 26 26 alphax,alphay,taux,tauy 27 USE temps_mod, ONLY: calend 27 USE temps_mod, ONLY: calend, year_len 28 28 29 29 IMPLICIT NONE … … 144 144 !Config 145 145 calend = 'earth_360d' 146 ! initialize year_len for aquaplanets and 1D 146 147 CALL getin('calend', calend) 148 if (calend == 'earth_360d') then 149 year_len=360 150 else if (calend == 'earth_365d') then 151 year_len=365 152 else if (calend == 'earth_366d') then 153 year_len=366 154 else 155 year_len=1 156 endif 157 147 158 148 159 !Config Key = dayref -
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
r3435 r3579 233 233 'GCM: AVANT iniacademic AVANT AVANT AVANT AVANT' 234 234 if (.not.read_start) then 235 start_time=0. 235 236 annee_ref=anneeref 236 237 CALL iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0) -
LMDZ6/trunk/libf/dyn3dmem/temps_mod.F90
r2601 r3579 13 13 INTEGER annee_ref 14 14 INTEGER day_ref 15 INTEGER year_len 15 16 REAL dt ! (dynamics) time step (changes if doing Matsuno or LF step) 16 17 REAL jD_ref ! reference julian day date (beginning of experiment) -
LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r3435 r3579 31 31 USE inifis_mod, ONLY: inifis 32 32 USE time_phylmdz_mod, ONLY: init_time 33 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, start_time, calend 33 USE temps_mod, ONLY: annee_ref, day_ini, day_ref, start_time, calend, year_len 34 34 USE infotrac_phy, ONLY: init_infotrac_phy 35 35 USE phystokenc_mod, ONLY: init_phystokenc … … 173 173 ! Additional initializations for aquaplanets 174 174 IF (iflag_phys>=100) THEN 175 CALL iniaqua(klon_omp, iflag_phys)175 CALL iniaqua(klon_omp,year_len,iflag_phys) 176 176 END IF 177 177 -
LMDZ6/trunk/libf/phylmd/phyaqua_mod.F90
r3540 r3579 8 8 CONTAINS 9 9 10 SUBROUTINE iniaqua(nlon, 10 SUBROUTINE iniaqua(nlon,year_len,iflag_phys) 11 11 12 12 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 37 37 USE mod_grid_phy_lmdz 38 38 USE ioipsl_getin_p_mod, ONLY : getin_p 39 USE phys_cal_mod , ONLY: year_len39 USE phys_cal_mod , ONLY: calend, year_len_phy => year_len 40 40 IMPLICIT NONE 41 41 … … 44 44 include "dimsoil.h" 45 45 46 INTEGER, INTENT (IN) :: nlon, iflag_phys46 INTEGER, INTENT (IN) :: nlon, year_len, iflag_phys 47 47 ! IM ajout latfi, lonfi 48 48 ! REAL, INTENT (IN) :: lonfi(nlon), latfi(nlon) … … 129 129 ! ------------------------------- 130 130 131 131 !IF (calend .EQ. "earth_360d") Then 132 year_len_phy = year_len 133 !END IF 134 132 135 if (year_len.ne.360) then 136 write (*,*) year_len 133 137 write (*,*) 'iniaqua: 360 day calendar is required !' 134 138 stop … … 351 355 alp_bl =0. 352 356 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 353 372 354 373 !ym error : the sub surface dimension is the third not second : forgotten for iniaqua
Note: See TracChangeset
for help on using the changeset viewer.