Changeset 5151 for LMDZ6/branches/Amaury_dev/libf/phylmdiso
- Timestamp:
- Jul 31, 2024, 5:24:31 PM (4 months ago)
- Location:
- LMDZ6/branches/Amaury_dev/libf/phylmdiso
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90
r5144 r5151 110 110 USE phytrac_mod, ONLY: phytrac_init, phytrac 111 111 USE phys_output_write_mod 112 113 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_DUST, CPPKEY_STRATAER 112 USE lmdz_calcul_divers, ONLY: calcul_divers 113 114 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_DUST, CPPKEY_STRATAER, CPPKEY_COSP, CPPKEY_COSP2, CPPKEY_COSPV2 114 115 115 116 !!!!!!!!!!!!!!!!!! "USE" section for CPP keys !!!!!!!!!!!!!!!!!!!!!!!! … … 1274 1275 !============================================================ 1275 1276 ! AI 10-22 1276 #ifdef CPP_COSP 1277 include "ini_COSP.h" 1278 #endif 1279 #ifdef CPP_COSPV2 1280 include "ini_COSP.h" 1281 #endif 1277 INCLUDE "ini_COSP.h" 1278 1282 1279 REAL :: mr_ozone(klon,klev), phicosp(klon,klev) 1283 1280 … … 1922 1919 1923 1920 IF (ok_cosp) THEN 1924 #ifdef CPP_COSP 1921 IF (CPPKEY_COSP) THEN 1925 1922 ! A.I : Initialisations pour le 1er passage a Cosp 1926 1923 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & … … 1941 1938 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1942 1939 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1943 #endif 1944 1945 #ifdef CPP_COSP2 1940 END IF 1941 1942 IF (CPPKEY_COSP2) THEN 1946 1943 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1947 1944 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1961 1958 pmflxr(:,1:klev),pmflxs(:,1:klev), & 1962 1959 mr_ozone,cldtau, cldemi) 1963 #endif 1964 1965 #ifdef CPP_COSPV2 1960 END IF 1961 1962 IF (CPPKEY_COSPV2) THEN 1966 1963 CALL lmdz_cosp_interface(itap,phys_tstep,freq_cosp, & 1967 1964 ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, & … … 1976 1973 pmflxr(:,1:klev),pmflxs(:,1:klev), & 1977 1974 mr_ozone,cldtau, cldemi) 1978 #endif 1975 END IF 1979 1976 ENDIF 1980 1977 … … 6645 6642 IF (ok_cosp) THEN 6646 6643 ! adeclarer 6647 #ifdef CPP_COSP 6648 IF (itap .EQ.1.OR.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN6649 6650 IF (prt_level .GE.10) THEN6644 IF (CPPKEY_COSP) THEN 6645 IF (itap==1.OR.MOD(itap,NINT(freq_cosp/phys_tstep))==0) THEN 6646 6647 IF (prt_level >=10) THEN 6651 6648 PRINT*,'freq_cosp',freq_cosp 6652 6649 ENDIF … … 6674 6671 6675 6672 ENDIF 6676 #endif 6677 6678 #ifdef CPP_COSP2 6679 IF (itap .EQ.1.OR.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN6680 6681 IF (prt_level .GE.10) THEN6673 END IF 6674 6675 IF (CPPKEY_COSP2) THEN 6676 IF (itap==1.OR.MOD(itap,NINT(freq_cosp/phys_tstep))==0) THEN 6677 6678 IF (prt_level >=10) THEN 6682 6679 PRINT*,'freq_cosp',freq_cosp 6683 6680 ENDIF … … 6698 6695 mr_ozone,cldtau, cldemi) 6699 6696 ENDIF 6700 #endif 6701 6702 #ifdef CPP_COSPV2 6703 IF (itap .EQ.1.OR.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN6697 END IF 6698 6699 IF (CPPKEY_COSPV2) THEN 6700 IF (itap==1.OR.MOD(itap,NINT(freq_cosp/phys_tstep))==0) THEN 6704 6701 ! IF (MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 6705 6702 6706 IF (prt_level .GE.10) THEN6703 IF (prt_level >=10) THEN 6707 6704 PRINT*,'freq_cosp',freq_cosp 6708 6705 ENDIF … … 6728 6725 mr_ozone,cldtau, cldemi) 6729 6726 ENDIF 6730 #endif 6727 END IF 6731 6728 6732 6729 ENDIF !ok_cosp … … 7017 7014 7018 7015 !IM initialisation + calculs divers diag AMIP2 7019 7020 include "calcul_divers.h" 7016 CALL calcul_divers(itap, itapm1, un_jour) 7021 7017 7022 7018 !IM Interpolation sur les niveaux de pression du NMC
Note: See TracChangeset
for help on using the changeset viewer.