Changeset 4429 for LMDZ6/trunk
- Timestamp:
- Feb 10, 2023, 2:35:11 PM (21 months ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d_common/infotrac.F90
r4403 r4429 161 161 TYPE(trac_type), ALLOCATABLE, TARGET :: ttr(:) 162 162 TYPE(trac_type), POINTER :: t1, t(:) 163 TYPE(keys_type), POINTER :: k 163 164 INTEGER :: ierr 164 165 … … 243 244 vadv(1:nqo+nqCO2) = vad(:); vadv(1+nqo+nqCO2:nqtrue) = vadv_inca 244 245 CALL MOVE_ALLOC(FROM=ttr, TO=tracers) 246 DO iq = 1, nqtrue 247 t1 => tracers(iq) 248 CALL addKey_1('name', t1%name, t1%keys) 249 CALL addKey_1('component', t1%component, t1%keys) 250 CALL addKey_1('parent', t1%parent, t1%keys) 251 CALL addKey_1('phase', t1%phase, t1%keys) 252 END DO 245 253 IF(setGeneration(tracers)) CALL abort_gcm(modname,'See above',1) !- SET FIELDS %iGeneration, %gen0Name 246 254 DEALLOCATE(had, hadv_inca, vad, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca) … … 263 271 !--------------------------------------------------------------------------------------------------------------------------- 264 272 273 #ifdef REPROBUS 265 274 !--- Transfert the number of tracers to Reprobus 266 #ifdef REPROBUS267 275 CALL Init_chem_rep_trac(nbtr, nqo, tracers(:)%name) 268 #endif 269 276 277 #endif 270 278 !============================================================================================================================== 271 279 ! 2) Calculate nqtot, number of tracers needed (greater if advection schemes 20 or 30 have been chosen). -
LMDZ6/trunk/libf/phylmd/infotrac_phy.F90
r4403 r4429 271 271 vadv(1:nqo+nqCO2) = vad(:); vadv(1+nqo+nqCO2:nqtrue) = vadv_inca 272 272 CALL MOVE_ALLOC(FROM=ttr, TO=tracers) 273 DO iq = 1, nqtrue 274 t1 => tracers(iq) 275 CALL addKey_1('name', t1%name, t1%keys) 276 CALL addKey_1('component', t1%component, t1%keys) 277 CALL addKey_1('parent', t1%parent, t1%keys) 278 CALL addKey_1('phase', t1%phase, t1%keys) 279 END DO 273 280 IF(setGeneration(tracers)) CALL abort_gcm(modname,'See below',1) !- SET FIELDS %iGeneration, %gen0Name 274 281 DEALLOCATE(had, hadv_inca, vad, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca)
Note: See TracChangeset
for help on using the changeset viewer.