Changeset 2731 for LMDZ5/trunk/libf
- Timestamp:
- Dec 14, 2016, 8:30:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2730 r2731 1303 1303 ! Il se peut qu'il faille prendre une valeur differente de nbapp_rad 1304 1304 ! pour obtenir le meme resultat. 1305 dtime=pdtphys 1306 IF (MOD(INT(86400./dtime),nbapp_rad).EQ.0) THEN 1307 radpas = NINT( 86400./dtime/nbapp_rad) 1305 !jyg for fh< 1306 !! dtime=pdtphys 1307 dtime=NINT(pdtphys) 1308 WRITE(lunout,*) 'Pas de temps dtime pdtphys ',dtime,pdtphys 1309 IF (abs(dtime-pdtphys)>1.e-10) THEN 1310 abort_message='pas de temps doit etre entier en seconde pour orchidee et XIOS' 1311 CALL abort_physic(modname,abort_message,1) 1312 ENDIF 1313 !>jyg 1314 IF (MOD(NINT(86400./dtime),nbapp_rad).EQ.0) THEN 1315 radpas = NINT( 86400./dtime)/nbapp_rad 1308 1316 ELSE 1309 1317 WRITE(lunout,*) 'le nombre de pas de temps physique doit etre un ', & … … 1318 1326 IF (nbapp_wk .EQ. 0) nbapp_wk=86400./dtime 1319 1327 print *,'physiq, nbapp_cv, nbapp_wk ',nbapp_cv,nbapp_wk 1320 IF (MOD( INT(86400./dtime),nbapp_cv).EQ.0) THEN1321 cvpas = NINT( 86400./dtime /nbapp_cv)1328 IF (MOD(NINT(86400./dtime),nbapp_cv).EQ.0) THEN 1329 cvpas = NINT( 86400./dtime)/nbapp_cv 1322 1330 print *,'physiq, cvpas ',cvpas 1323 1331 ELSE … … 1330 1338 call abort_physic(modname,abort_message,1) 1331 1339 ENDIF 1332 IF (MOD( INT(86400./dtime),nbapp_wk).EQ.0) THEN1333 wkpas = NINT( 86400./dtime /nbapp_wk)1340 IF (MOD(NINT(86400./dtime),nbapp_wk).EQ.0) THEN 1341 wkpas = NINT( 86400./dtime)/nbapp_wk 1334 1342 print *,'physiq, wkpas ',wkpas 1335 1343 ELSE
Note: See TracChangeset
for help on using the changeset viewer.