Changeset 4082 for LMDZ6/trunk/libf/dyn3d_common
- Timestamp:
- Feb 28, 2022, 9:37:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4078 r4082 308 308 CALL init_transport(hadv_inca, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca) 309 309 ! DC passive CO2 tracer is at position 1: H2O was removed ; nqCO2/=0 in "inco" case only 310 ALLOCATE(conv_flg(nbtr),pbl_flg(nbtr),solsym(nbtr)) 310 311 conv_flg = [( 1, ic=1, nqCO2),conv_flg_inca] 311 312 pbl_flg = [( 1, ic=1, nqCO2), pbl_flg_inca] … … 363 364 364 365 #ifndef INCA 365 conv_flg = [(1, ic=1, nbtr)] !--- Convection activated for all tracers366 pbl_flg = [(1, ic=1, nbtr)] !--- Boundary layer activated for all tracers367 ALLOCATE(solsym(nbtr))368 366 CALL msg('Valeur de traceur.def :', modname) 369 367 CALL msg('nombre total de traceurs '//TRIM(int2str(nqtrue)), modname) … … 374 372 IF(planet_type == 'earth') nqo = COUNT(delPhase(tnom_0) == 'H2O') !--- for all planets except for Earth 375 373 nbtr = nqtrue - nqo 374 ALLOCATE(conv_flg(nbtr),pbl_flg(nbtr),solsym(nbtr)) 375 conv_flg(1:nbtr) = 1 !--- Convection activated for all tracers 376 pbl_flg(1:nbtr) = 1 !--- Boundary layer activated for all tracers 376 377 #endif 377 378 … … 417 418 CALL init_transport(hadv_inca, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca) 418 419 ! DC passive CO2 tracer is at position 1: H2O was removed ; nqCO2/=0 in "inco" case only 420 419 421 conv_flg = [( 1 , k=1, nqCO2), conv_flg_inca] 420 422 pbl_flg = [( 1 , k=1, nqCO2), pbl_flg_inca] … … 440 442 lerr = getKey('hadv', hadv, ky=tracers(:)%keys) 441 443 lerr = getKey('vadv', vadv, ky=tracers(:)%keys) 444 ALLOCATE(solsym(nbtr)) 445 conv_flg(1:nbtr)=1 !--- Convection activated for all tracers 446 pbl_flg(1:nbtr)=1 !--- Boundary layer activated for all tracers 442 447 #endif 443 448 !--------------------------------------------------------------------------------------------------------------------------- … … 450 455 lerr = getKey('vadv', vadv, ky=tracers(:)%keys) 451 456 ALLOCATE(solsym(nbtr)) 452 conv_flg = [(1, it=1, nbtr)]453 pbl_flg = [(1, it=1, nbtr)]457 conv_flg(1:nbtr)=1 !--- Convection activated for all tracers 458 pbl_flg(1:nbtr)=1 !--- Boundary layer activated for all tracers 454 459 !--------------------------------------------------------------------------------------------------------------------------- 455 460 END IF
Note: See TracChangeset
for help on using the changeset viewer.