Changeset 4146 for LMDZ6/trunk/libf/dyn3dmem/gcm.F90
- Timestamp:
- May 10, 2022, 6:50:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3dmem/gcm.F90
-
Property
svn:keywords
set to
Id
r4139 r4146 1 ! $Id: $ 1 ! 2 ! $Id$ 3 ! 2 4 3 5 PROGRAM gcm … … 26 28 itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, & 27 29 dt,hour_ini,itaufin 30 #ifdef CPP_XIOS 31 USE mod_xios_dyn3dmem, ONLY: xios_dyn3dmem_init 32 #endif 28 33 29 34 IMPLICIT NONE … … 109 114 INTEGER :: an, mois, jour 110 115 REAL :: heure 116 ! needed for xios interface 117 character (len=10) :: xios_cal_type 118 INTEGER :: anref, moisref, jourref 119 REAL :: heureref 120 111 121 112 122 … … 174 184 call ioconf_calendar('360d') 175 185 write(lunout,*)'CALENDRIER CHOISI: Terrestre a 360 jours/an' 186 xios_cal_type='d360' 176 187 else if (calend == 'earth_365d') then 177 188 call ioconf_calendar('noleap') 178 189 write(lunout,*)'CALENDRIER CHOISI: Terrestre a 365 jours/an' 190 xios_cal_type='noleap' 179 191 else if (calend == 'gregorian') then 180 192 call ioconf_calendar('gregorian') 181 193 write(lunout,*)'CALENDRIER CHOISI: Terrestre bissextile' 194 xios_cal_type='gregorian' 182 195 else 183 196 abort_message = 'Mauvais choix de calendrier' … … 331 344 write(lunout,*)'annee_ref, mois, day_ref, heure, jD_ref' 332 345 write(lunout,*)annee_ref, mois, day_ref, heure, jD_ref 333 call ju2ymds(jD_ref+jH_ref,an , mois, jour, heure)346 call ju2ymds(jD_ref+jH_ref,anref, moisref, jourref, heureref) 334 347 write(lunout,*)'jD_ref+jH_ref,an, mois, jour, heure' 335 write(lunout,*)jD_ref+jH_ref,an , mois, jour, heure348 write(lunout,*)jD_ref+jH_ref,anref, moisref, jourref, heureref 336 349 #else 337 350 ! Ehouarn: we still need to define JD_ref and JH_ref … … 421 434 ecripar = .TRUE. 422 435 436 #define CPP_IOIPSL 423 437 #ifdef CPP_IOIPSL 424 438 time_step = zdtvr … … 440 454 dtav = iperiod*dtvr/daysec 441 455 #endif 456 #undef CPP_IOIPSL 457 458 ! setting up DYN3D/XIOS inerface 459 #ifdef CPP_XIOS 460 if (ok_dyn_xios) then 461 CALL xios_dyn3dmem_init(xios_cal_type, anref, moisref, jourref,heureref, an, & 462 mois, jour, heure, zdtvr) 463 endif 464 #endif 465 442 466 ! #endif of #ifdef CPP_IOIPSL 443 467 ! -
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.