Changeset 5251 for LMDZ6/trunk/libf/phylmdiso
- Timestamp:
- Oct 22, 2024, 12:31:08 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r5244 r5251 109 109 110 110 111 #ifdef INCA112 111 USE geometry_mod, ONLY: longitude, latitude, boundslon, boundslat, ind_cell_glo 113 112 USE time_phylmdz_mod, ONLY: ndays 114 113 USE infotrac_phy, ONLY: nqCO2 115 #endif116 114 #ifdef REPROBUS 117 115 USE chem_rep, ONLY: Init_chem_rep_xjour, d_q_rep, d_ql_rep, d_qi_rep, & … … 120 118 USE strataer_emiss_mod, ONLY: strataer_emiss_init 121 119 #endif 122 #if defined INCA || defined REPROBUS123 120 USE time_phylmdz_mod, ONLY: annee_ref, day_ini, day_ref, start_time 124 121 USE vertical_layers_mod, ONLY: aps, bps, ap, bp 125 #endif126 122 127 123 … … 441 437 reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra 442 438 USE output_physiqex_mod, ONLY: output_physiqex 439 USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_INCA 443 440 444 441 … … 1349 1346 REAL, dimension(klon, klev) :: cldfrarad ! fraction nuageuse 1350 1347 1351 #ifdef INCA1352 1348 REAL :: calday, zxsnow_dummy(klon) 1353 1349 ! set de variables utilisees pour l'initialisation des valeurs provenant de INCA … … 1356 1352 REAL, DIMENSION(klon,klev,naero_grp,nbands) :: init_cginca 1357 1353 REAL, DIMENSION(klon,klev,nbands) :: init_ccminca 1358 #endif1359 1354 REAL, DIMENSION(klon,nbtr) :: init_source 1360 1355 … … 2340 2335 ! 2341 2336 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 2342 #ifdef INCA 2337 IF (CPPKEY_INCA) THEN 2343 2338 CALL VTe(VTphysiq) 2344 2339 CALL VTb(VTinca) … … 2350 2345 config_inca) 2351 2346 2352 CALL init_inca_geometry( & 2347 CALL init_inca_geometry( & 2353 2348 longitude, latitude, & 2354 2349 boundslon, boundslat, & 2355 cell_area, ind_cell_glo) 2356 2357 if (grid_type==unstructured) THEN 2350 cell_area, ind_cell_glo) 2351 2352 if (grid_type==unstructured) THEN 2358 2353 CALL chemini( pplay, & 2359 2354 nbp_lon, nbp_lat, & … … 2413 2408 piz_aero(:,:,:,:) = init_pizinca 2414 2409 cg_aero(:,:,:,:) = init_cginca 2415 ! 2410 ! 2416 2411 2417 2412 2418 2413 CALL VTe(VTinca) 2419 2414 CALL VTb(VTphysiq) 2420 #endif 2415 END IF 2421 2416 ENDIF 2422 2417 ! … … 5635 5630 5636 5631 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 5637 #ifdef INCA 5632 IF (CPPKEY_INCA) THEN 5638 5633 CALL VTe(VTphysiq) 5639 5634 CALL VTb(VTinca) … … 5688 5683 CALL VTe(VTinca) 5689 5684 CALL VTb(VTphysiq) 5690 #endif 5685 END IF 5691 5686 ENDIF !type_trac = inca or inco 5692 5687 IF (type_trac == 'repr') THEN … … 5978 5973 5979 5974 IF (aerosol_couple.AND.config_inca=='aero') THEN 5980 #ifdef INCA 5975 IF (CPPKEY_INCA) THEN 5981 5976 CALL radlwsw_inca & 5982 5977 (chemistry_couple, kdlon,kflev,dist, rmu0, fract, solaire, & … … 5998 5993 cldtaupirad, & 5999 5994 topswai_aero, solswai_aero) 6000 #endif 5995 END IF 6001 5996 ELSE 6002 5997 ! … … 7109 7104 ! 7110 7105 IF (ANY(type_trac == ['inca','inco'])) THEN 7111 #ifdef INCA 7106 IF (CPPKEY_INCA) THEN 7112 7107 CALL VTe(VTphysiq) 7113 7108 CALL VTb(VTinca) … … 7129 7124 CALL VTe(VTinca) 7130 7125 CALL VTb(VTphysiq) 7131 #endif 7126 END IF 7132 7127 ENDIF 7133 7128 … … 7440 7435 IF (using_xios) THEN 7441 7436 7442 #ifdef INCA 7443 IF (type_trac == 'inca') THEN 7444 IF (is_omp_master .AND. grid_type==unstructured) THEN 7437 IF (CPPKEY_INCA) THEN 7438 IF (type_trac == 'inca') THEN 7439 IF (is_omp_master .AND. grid_type==unstructured) THEN 7445 7440 CALL finalize_inca 7446 7441 ENDIF 7447 7442 ENDIF 7448 #endif 7443 END IF 7449 7444 7450 7445 ! close xios physiq context (call LMDZ)
Note: See TracChangeset
for help on using the changeset viewer.