- Timestamp:
- Feb 2, 2022, 11:24:54 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4071 r4073 205 205 INTEGER :: nqtrue !--- Tracers nb from tracer.def (no higher order moments) 206 206 INTEGER :: iad !--- Advection scheme number 207 INTEGER :: ic, ip, np, iq, jq, it, nt, im, nm, ix, iz, nz 207 INTEGER :: ic, ip, np, iq, jq, it, nt, im, nm, ix, iz, nz, k !--- Indexes and temporary variables 208 208 LOGICAL :: lerr, ll 209 209 CHARACTER(LEN=1) :: p … … 298 298 nbtr = nqINCA + nqCO2 299 299 nqtrue = nbtr + nqo 300 IF(ALL([2,3] /= nqo) CALL abort_gcm(modname, 'Only 2 or 3 water phases allowed ; found nqo='//TRIM(int2str(nqo)), 1)300 IF(ALL([2,3] /= nqo)) CALL abort_gcm(modname, 'Only 2 or 3 water phases allowed ; found nqo='//TRIM(int2str(nqo)), 1) 301 301 CALL msg('nqo = '//TRIM(int2str(nqo)), modname) 302 302 CALL msg('nbtr = '//TRIM(int2str(nbtr)), modname) … … 310 310 conv_flg = [( 1, ic=1, nqCO2),conv_flg_inca] 311 311 pbl_flg = [( 1, ic=1, nqCO2), pbl_flg_inca] 312 solsym = [('CO2 ', ic=1, nqCO2) 313 DEALLOCATE(conv_flg_inca, pbl_flg_inca, 312 solsym = [('CO2 ', ic=1, nqCO2), solsym_inca] 313 DEALLOCATE(conv_flg_inca, pbl_flg_inca,solsym_inca) 314 314 #endif 315 315 ELSE … … 402 402 nbtr = nqINCA + nqCO2 !--- Number of tracers passed to phytrac 403 403 nqtrue = nbtr + nqo !--- Total number of "true" tracers 404 IF(ALL([2,3] /= nqo) CALL abort_gcm(modname, 'Only 2 or 3 water phases allowed ; found nqo='//TRIM(int2str(nqo)), 1)404 IF(ALL([2,3] /= nqo)) CALL abort_gcm(modname, 'Only 2 or 3 water phases allowed ; found nqo='//TRIM(int2str(nqo)), 1) 405 405 CALL msg('nqo = '//TRIM(int2str(nqo)), modname) 406 406 CALL msg('nbtr = '//TRIM(int2str(nbtr)), modname) … … 412 412 CALL init_transport(hadv_inca, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca) 413 413 ! DC passive CO2 tracer is at position 1: H2O was removed ; nqCO2/=0 in "inco" case only 414 conv_flg = [( 1 ,k=1, nqCO2), conv_flg_inca]415 pbl_flg = [( 1, k=1, nqCO2),pbl_flg_inca]416 solsym = [('CO2 ', k=1, nqCO2)solsym_inca]414 conv_flg = [( 1 , k=1, nqCO2), conv_flg_inca] 415 pbl_flg = [( 1 , k=1, nqCO2), pbl_flg_inca] 416 solsym = [('CO2 ', k=1, nqCO2), solsym_inca] 417 417 DEALLOCATE(conv_flg_inca, pbl_flg_inca, solsym_inca) 418 418 ALLOCATE(ttr(nqtrue))
Note: See TracChangeset
for help on using the changeset viewer.