Changeset 5091 for LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90
- Timestamp:
- Jul 20, 2024, 11:17:09 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90
r5088 r5091 93 93 USE phys_output_var_mod, ONLY : cloudth_sth,cloudth_senv,cloudth_sigmath,cloudth_sigmaenv 94 94 USE phys_output_var_mod, ONLY : cloud_cover_sw, cloud_cover_sw_s2 95 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA 95 96 96 97 … … 111 112 112 113 113 #ifdef INCA114 114 USE geometry_mod, ONLY: longitude, latitude, boundslon, boundslat, ind_cell_glo 115 115 USE time_phylmdz_mod, ONLY: ndays 116 116 USE infotrac_phy, ONLY: nqCO2 117 #endif118 117 #ifdef REPROBUS 119 118 USE chem_rep, ONLY: Init_chem_rep_xjour, d_q_rep, d_ql_rep, d_qi_rep, & … … 122 121 USE strataer_emiss_mod, ONLY: strataer_emiss_init 123 122 #endif 124 #if defined INCA || defined REPROBUS125 123 USE time_phylmdz_mod, ONLY: annee_ref, day_ini, day_ref, start_time 126 124 USE vertical_layers_mod, ONLY: aps, bps, ap, bp 127 #endif128 125 129 126 … … 1343 1340 REAL, dimension(klon, klev) :: cldfrarad ! fraction nuageuse 1344 1341 1345 #ifdef INCA1346 1342 REAL :: calday, zxsnow_dummy(klon) 1347 1343 ! set de variables utilisees pour l'initialisation des valeurs provenant de INCA … … 1350 1346 REAL, DIMENSION(klon,klev,naero_grp,nbands) :: init_cginca 1351 1347 REAL, DIMENSION(klon,klev,nbands) :: init_ccminca 1352 #endif1353 1348 REAL, DIMENSION(klon,nbtr) :: init_source 1354 1349 … … 2341 2336 ! 2342 2337 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 2343 #ifdef INCA 2338 IF (CPPKEY_INCA) THEN 2344 2339 CALL VTe(VTphysiq) 2345 2340 CALL VTb(VTinca) … … 2419 2414 CALL VTe(VTinca) 2420 2415 CALL VTb(VTphysiq) 2421 #endif 2416 END IF 2422 2417 ENDIF 2423 2418 ! … … 2995 2990 B=Z2-fac*alog(pplay(i,itroprep(i))) 2996 2991 ttrop(i)= fac*alog(ptrop(i))+B 2997 ! 2992 ! 2998 2993 Z1= 1.e-3 * ( pphi(i,itroprep(i)+1)+pphis(i) ) / gravit 2999 2994 Z2= 1.e-3 * ( pphi(i,itroprep(i)) +pphis(i) ) / gravit … … 5611 5606 5612 5607 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 5613 #ifdef INCA 5608 IF (CPPKEY_INCA) THEN 5614 5609 CALL VTe(VTphysiq) 5615 5610 CALL VTb(VTinca) … … 5664 5659 CALL VTe(VTinca) 5665 5660 CALL VTb(VTphysiq) 5666 #endif 5661 END IF 5667 5662 ENDIF !type_trac = inca or inco 5668 5663 IF (type_trac == 'repr') THEN … … 5954 5949 5955 5950 IF (aerosol_couple.AND.config_inca=='aero') THEN 5956 #ifdef INCA 5951 IF (CPPKEY_INCA) THEN 5957 5952 CALL radlwsw_inca & 5958 5953 (chemistry_couple, kdlon,kflev,dist, rmu0, fract, solaire, & … … 5974 5969 cldtaupirad, & 5975 5970 topswai_aero, solswai_aero) 5976 #endif 5971 END IF 5977 5972 ELSE 5978 5973 ! … … 7085 7080 ! 7086 7081 IF (ANY(type_trac == ['inca','inco'])) THEN 7087 #ifdef INCA 7082 IF (CPPKEY_INCA) THEN 7088 7083 CALL VTe(VTphysiq) 7089 7084 CALL VTb(VTinca) … … 7105 7100 CALL VTe(VTinca) 7106 7101 CALL VTb(VTphysiq) 7107 #endif 7102 END IF 7108 7103 ENDIF 7109 7104 … … 7412 7407 IF (using_xios) THEN 7413 7408 7414 #ifdef INCA 7409 IF (CPPKEY_INCA) THEN 7415 7410 IF (type_trac == 'inca') THEN 7416 7411 IF (is_omp_master .AND. grid_type==unstructured) THEN … … 7418 7413 ENDIF 7419 7414 ENDIF 7420 #endif 7415 END IF 7421 7416 7422 7417 IF (is_omp_master .and. grid_type==unstructured) CALL xios_context_finalize
Note: See TracChangeset
for help on using the changeset viewer.