Changeset 2757 for LMDZ5/trunk/libf/phylmd/cv3_routines.F90
- Timestamp:
- Jan 10, 2017, 3:30:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3_routines.F90
r2671 r2757 83 83 84 84 ! Var interm pour le getin 85 cv_flag_feed=1 86 CALL getin_p('cv_flag_feed',cv_flag_feed) 85 87 dpbase=-40. 86 88 CALL getin_p('dpbase',dpbase) … … 453 455 END DO 454 456 END DO ! iter 457 455 458 DO i = 1, len 456 459 p2feed(i) = pfeed(i) … … 467 470 ! --- are reasonable 468 471 ! ------------------------------------------------------------------- 469 DO i = 1, len 470 IF (((tnk(i)<250.0) .OR. (qnk(i)<=0.0)) .AND. (iflag(i)==0)) iflag(i) = 7 471 END DO 472 IF (cv_flag_feed == 1) THEN 473 DO i = 1, len 474 IF (((tnk(i)<250.0) .OR. & 475 (qnk(i)<=0.0)) .AND. & 476 (iflag(i)==0)) iflag(i) = 7 477 END DO 478 ELSEIF (cv_flag_feed >= 2) THEN 479 ! --- and demand that LCL be high enough 480 DO i = 1, len 481 IF (((tnk(i)<250.0) .OR. & 482 (qnk(i)<=0.0) .OR. & 483 (plcl(i)>min(0.99*ph(i,1),ph(i,3)))) .AND. & 484 (iflag(i)==0)) iflag(i) = 7 485 END DO 486 ENDIF 472 487 473 488 ! -------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.