Changeset 4389 for LMDZ6/trunk/libf/phylmdiso
- Timestamp:
- Jan 23, 2023, 11:28:51 AM (3 years ago)
- Location:
- LMDZ6/trunk/libf/phylmdiso
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmdiso/phyetat0_mod.F90
r4384 r4389 40 40 USE geometry_mod, ONLY: longitude_deg, latitude_deg 41 41 USE iostart, ONLY: close_startphy, get_field, get_var, open_startphy 42 USE infotrac_phy, ONLY: nqtot, nbtr, type_trac, t ypes_trac, tracers42 USE infotrac_phy, ONLY: nqtot, nbtr, type_trac, tracers 43 43 USE readTracFiles_mod,ONLY: maxlen, new2oldH2O 44 44 USE traclmdz_mod, ONLY: traclmdz_from_restart … … 492 492 493 493 !--OB now this is for co2i - ThL: and therefore also for inco 494 IF (ANY(type s_trac == 'co2i') .OR. ANY(types_trac == 'inco')) THEN494 IF (ANY(type_trac == ['co2i','inco'])) THEN 495 495 IF (carbon_cycle_cpl) THEN 496 496 ALLOCATE(co2_send(klon), stat=ierr) -
LMDZ6/trunk/libf/phylmdiso/phyredem.F90
r4374 r4389 39 39 USE iostart, ONLY: open_restartphy, close_restartphy, enddef_restartphy, put_field, put_var 40 40 USE traclmdz_mod, ONLY : traclmdz_to_restart 41 USE infotrac_phy, ONLY: type s_trac, nqtot, tracers, nbtr, niso41 USE infotrac_phy, ONLY: type_trac, nqtot, tracers, nbtr, niso 42 42 #ifdef ISO 43 43 #ifdef ISOVERIF … … 176 176 CALL put_field(pass,"FSIC", "fraction glace mer", pctsrf(:, is_sic)) 177 177 178 IF(nbsrf>99) THEN 179 PRINT*, "Trop de sous-mailles"; CALL abort_physic("phyredem", "", 1) 180 END IF 181 IF(nsoilmx>99) THEN 182 PRINT*, "Trop de sous-surfaces"; CALL abort_physic("phyredem", "", 1) 183 END IF 184 IF(nsw>99) THEN 185 PRINT*, "Trop de bandes"; CALL abort_physic("phyredem", "", 1) 186 END IF 178 IF(nbsrf >99) CALL abort_physic("phyredem", "Trop de sous-mailles", 1) 179 IF(nsoilmx>99) CALL abort_physic("phyredem", "Trop de sous-mailles", 1) 180 IF(nsw >99) CALL abort_physic("phyredem", "Trop de bandes", 1) 187 181 188 182 ! Surface variables … … 350 344 351 345 352 IF (ANY(type s_trac == 'co2i') .OR. ANY(types_trac == 'inco')) THEN346 IF (ANY(type_trac == ['co2i','inco'])) THEN 353 347 IF (carbon_cycle_cpl) THEN 354 348 IF (.NOT. ALLOCATED(co2_send)) THEN … … 361 355 362 356 ! trs from traclmdz_mod 363 ELSE IF ( ANY(types_trac == 'lmdz')) THEN357 ELSE IF (type_trac == 'lmdz') THEN 364 358 CALL traclmdz_to_restart(trs) 365 359 it = 0 -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r4386 r4389 39 39 USE ioipsl_getin_p_mod, ONLY : getin_p 40 40 USE indice_sol_mod 41 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type s_trac41 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac 42 42 USE readTracFiles_mod, ONLY: addPhase 43 43 USE strings_mod, ONLY: strIdx … … 1570 1570 tau_overturning_th(:)=0. 1571 1571 1572 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN1572 IF (ANY(type_trac == ['inca','inco'])) THEN 1573 1573 ! jg : initialisation jusqu'au ces variables sont dans restart 1574 1574 ccm(:,:,:) = 0. … … 2187 2187 !c ENDDO 2188 2188 ! 2189 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL2189 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 2190 2190 #ifdef INCA 2191 2191 CALL VTe(VTphysiq) … … 2269 2269 ENDIF 2270 2270 ! 2271 IF ( ANY(types_trac == 'repr')) THEN2271 IF (type_trac == 'repr') THEN 2272 2272 #ifdef REPROBUS 2273 2273 CALL chemini_rep( & … … 2386 2386 2387 2387 ! Update time and other variables in Reprobus 2388 IF ( ANY(types_trac == 'repr')) THEN2388 IF (type_trac == 'repr') THEN 2389 2389 #ifdef REPROBUS 2390 2390 CALL Init_chem_rep_xjour(jD_cur-jD_ref+day_ref) … … 3654 3654 ! 3655 3655 !>jyg 3656 IF ( ANY(types_trac == 'repr')) THEN3656 IF (type_trac == 'repr') THEN 3657 3657 nbtr_tmp=ntra 3658 3658 ELSE … … 5191 5191 ENDDO 5192 5192 5193 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL5193 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 5194 5194 #ifdef INCA 5195 5195 CALL VTe(VTphysiq) … … 5247 5247 #endif 5248 5248 ENDIF !type_trac = inca or inco 5249 IF ( ANY(types_trac == 'repr')) THEN5249 IF (type_trac == 'repr') THEN 5250 5250 #ifdef REPROBUS 5251 5251 !CALL chemtime_rep(itap+itau_phy-1, date0, dtime, itap) … … 6336 6336 ! 6337 6337 6338 IF ( ANY(types_trac=='repr')) THEN6338 IF (type_trac=='repr') THEN 6339 6339 !MM pas d'impact, car on recupere q_seri,tr_seri,t_seri via phys_local_var_mod 6340 6340 !MM dans Reprobus … … 6501 6501 #endif 6502 6502 ! 6503 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN6503 IF (ANY(type_trac == ['inca','inco'])) THEN 6504 6504 #ifdef INCA 6505 6505 CALL VTe(VTphysiq) … … 6525 6525 ENDIF 6526 6526 6527 IF ( ANY(types_trac == 'repr')) THEN6527 IF (type_trac == 'repr') THEN 6528 6528 #ifdef REPROBUS 6529 6529 CALL coord_hyb_rep(paprs, pplay, aps, bps, ap, bp, cell_area) … … 6901 6901 6902 6902 #ifdef INCA 6903 if ( ANY(types_trac == 'inca' )) then6903 if (type_trac == 'inca') then 6904 6904 IF (is_omp_master .and. grid_type==unstructured) THEN 6905 6905 CALL finalize_inca
Note: See TracChangeset
for help on using the changeset viewer.