Changeset 1943 for LMDZ5/trunk/libf/phy1d
- Timestamp:
- Jan 22, 2014, 10:51:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phy1d/lmdz1d.F
r1914 r1943 357 357 c Le numero du jour est dans "day". L heure est traitee separement. 358 358 c La date complete est dans "daytime" (l'unite est le jour). 359 fnday=nday 359 if (nday>0) then 360 fnday=nday 361 else 362 fnday=-nday/float(day_step) 363 endif 364 360 365 c Special case for arm_cu which lasts less than one day : 53100s !! (MPL 20111026) 361 366 IF(forcing_type .EQ. 61) fnday=53100./86400. … … 370 375 call ymds2ju(annee_ref,mois,day_ref,heure,day) 371 376 day_ini = day 372 day_end = day_ini + nday377 day_end = day_ini + fnday 373 378 374 379 IF (forcing_type .eq.2) THEN … … 463 468 !! mpl et jyg le 22/08/2012 : 464 469 !! pour que les cas a flux de surface imposes marchent 465 IF(.NOT.ok_flux_surf ) THEN470 IF(.NOT.ok_flux_surf.or.max(abs(wtsurf),abs(wqsurf))>0.) THEN 466 471 fsens=-wtsurf*rcpd*rho(1) 467 472 flat=-wqsurf*rlvtt*rho(1) 468 473 print *,'Flux: ok_flux wtsurf wqsurf',ok_flux_surf,wtsurf,wqsurf 469 474 ENDIF 475 print*,'Flux sol ',fsens,flat 470 476 !! ok_flux_surf=.false. 471 477 !! fsens=-wtsurf*rcpd*rho(1)
Note: See TracChangeset
for help on using the changeset viewer.