Changeset 2009 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Apr 8, 2014, 10:48:17 AM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq.F90
r2007 r2009 53 53 USE phytrac_mod, ONLY : phytrac 54 54 55 #ifdef CPP_RRTM 55 56 USE YOERAD , ONLY : NRADLP 57 #endif 56 58 57 59 !IM stations CFMIP … … 2713 2715 ELSE ! RRTM radiation 2714 2716 ! 2717 #ifdef CPP_RRTM 2715 2718 CALL readaerosol_optic_rrtm( & 2716 2719 debut, new_aod, flag_aerosol, itap, jD_cur-jD_ref, & … … 2719 2722 tau_aero_rrtm, piz_aero_rrtm, cg_aero_rrtm, & 2720 2723 tausum_aero, tau3d_aero) 2724 #else 2725 2726 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 2727 call abort_gcm(modname,abort_message,1) 2728 #endif 2721 2729 ! 2722 2730 ENDIF … … 2742 2750 CALL readaerosolstrato(debut) 2743 2751 ELSE 2752 #ifdef CPP_RRTM 2744 2753 CALL readaerosolstrato_rrtm(debut) 2754 #else 2755 2756 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 2757 call abort_gcm(modname,abort_message,1) 2758 #endif 2745 2759 ENDIF 2746 2760 ENDIF … … 2962 2976 2963 2977 if (ok_newmicro) then 2964 IF (iflag_rrtm.NE.0.AND.ok_cdnc.AND.NRADLP.NE.3) THEN 2965 PRINT *,'RRTM choix incoherent NRADLP doit etre egal a 3 pour ok_cdnc' 2966 STOP 2978 IF (iflag_rrtm.NE.0) THEN 2979 #ifdef CPP_RRTM 2980 IF (ok_cdnc.AND.NRADLP.NE.3) THEN 2981 abort_message='RRTM choix incoherent NRADLP doit etre egal a 3 pour ok_cdnc' 2982 call abort_gcm(modname,abort_message,1) 2983 endif 2984 #else 2985 2986 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 2987 call abort_gcm(modname,abort_message,1) 2988 #endif 2967 2989 ENDIF 2968 2990 CALL newmicro (ok_cdnc, bl95_b0, bl95_b1, & -
LMDZ5/trunk/libf/phylmd/radlwsw_aero.F90
r2005 r2009 33 33 ! USE YOERAD , ONLY : NSW ,LRRTM ,LCCNL ,LCCNO ,& 34 34 ! NSW mis dans .def MPL 20140211 35 USE YOERAD , ONLY : LRRTM ,LCCNL ,LCCNO ,& 36 NRADIP , NRADLP , NICEOPT, NLIQOPT ,RCCNLND , RCCNSEA 37 USE YOELW , ONLY : NSIL ,NTRA ,NUA ,TSTAND ,XP 38 USE YOESW , ONLY : RYFWCA ,RYFWCB ,RYFWCC ,RYFWCD,& 39 RYFWCE ,RYFWCF ,REBCUA ,REBCUB ,REBCUC,& 40 REBCUD ,REBCUE ,REBCUF ,REBCUI ,REBCUJ,& 41 REBCUG ,REBCUH ,RHSAVI ,RFULIO ,RFLAA0,& 42 RFLAA1 ,RFLBB0 ,RFLBB1 ,RFLBB2 ,RFLBB3,& 43 RFLCC0 ,RFLCC1 ,RFLCC2 ,RFLCC3 ,RFLDD0,& 44 RFLDD1 ,RFLDD2 ,RFLDD3 ,RFUETA ,RASWCA,& 45 RASWCB ,RASWCC ,RASWCD ,RASWCE ,RASWCF 35 #ifdef CPP_RRTM 36 ! USE YOERAD , ONLY : LRRTM ,LCCNL ,LCCNO ,& 37 ! NRADIP , NRADLP , NICEOPT, NLIQOPT ,RCCNLND , RCCNSEA 38 ! USE YOELW , ONLY : NSIL ,NTRA ,NUA ,TSTAND ,XP 39 ! USE YOESW , ONLY : RYFWCA ,RYFWCB ,RYFWCC ,RYFWCD,& 40 ! RYFWCE ,RYFWCF ,REBCUA ,REBCUB ,REBCUC,& 41 ! REBCUD ,REBCUE ,REBCUF ,REBCUI ,REBCUJ,& 42 ! REBCUG ,REBCUH ,RHSAVI ,RFULIO ,RFLAA0,& 43 ! RFLAA1 ,RFLBB0 ,RFLBB1 ,RFLBB2 ,RFLBB3,& 44 ! RFLCC0 ,RFLCC1 ,RFLCC2 ,RFLCC3 ,RFLDD0,& 45 ! RFLDD1 ,RFLDD2 ,RFLDD3 ,RFUETA ,RASWCA,& 46 ! RASWCB ,RASWCC ,RASWCD ,RASWCE ,RASWCF 46 47 !& RASWCB ,RASWCC ,RASWCD ,RASWCE ,RASWCF, RLINLI 47 USE YOERDU , ONLY : NUAER ,NTRAER ,REPLOG ,REPSC ,REPSCW ,DIFF48 USE YOETHF , ONLY : RTICE49 USE YOERRTWN , ONLY : DELWAVE ,TOTPLNK48 ! USE YOERDU , ONLY : NUAER ,NTRAER ,REPLOG ,REPSC ,REPSCW ,DIFF 49 ! USE YOETHF , ONLY : RTICE 50 ! USE YOERRTWN , ONLY : DELWAVE ,TOTPLNK 50 51 USE YOMPHY3 , ONLY : RII0 52 #endif 51 53 52 54 IMPLICIT NONE … … 274 276 REAL*8 zsolsw_aero(kdlon,9), zsolsw0_aero(kdlon,9) 275 277 278 CHARACTER (LEN=20) :: modname 279 CHARACTER (LEN=80) :: abort_message 280 276 281 ! initialisation 277 282 ist=1 … … 524 529 525 530 else 531 #ifdef CPP_RRTM 526 532 DO k = 1, kflev+1 527 533 DO i = 1, kdlon … … 766 772 ENDDO 767 773 ENDDO 774 #else 775 776 abort_message='You should compile with -rrtm if running with iflag_rrtm=1' 777 call abort_gcm(modname,abort_message,1) 778 #endif 768 779 ENDIF ! if(iflag_rrtm=0) 769 780 print*,'OK3'
Note: See TracChangeset
for help on using the changeset viewer.