Changeset 5103 for LMDZ6/branches/Amaury_dev/libf/dyn3d_common/infotrac.F90
- Timestamp:
- Jul 23, 2024, 3:29:36 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3d_common/infotrac.F90
r5101 r5103 196 196 SELECT CASE(type_trac) 197 197 CASE('inca', 'inco') 198 IF ( CPPKEY_INCA) THEN198 IF (.NOT. CPPKEY_INCA) THEN 199 199 CALL abort_gcm(modname, 'You must add cpp key INCA and compile with INCA code', 1) 200 200 END IF … … 228 228 IF(fType == 1 .AND. ANY(['inca', 'inco']==type_trac)) THEN !=== FOUND OLD STYLE INCA "traceur.def" 229 229 !--------------------------------------------------------------------------------------------------------------------------- 230 IF (CPPKEY_INCA) THEN231 230 nqo = SIZE(tracers) - nqCO2 232 231 CALL Init_chem_inca_trac(nqINCA) !--- Get nqINCA from INCA … … 259 258 IF(setGeneration(tracers)) CALL abort_gcm(modname, 'See above', 1) !- SET FIELDS %iGeneration, %gen0Name 260 259 DEALLOCATE(had, hadv_inca, vad, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca) 261 END IF262 260 !--------------------------------------------------------------------------------------------------------------------------- 263 261 ELSE !=== OTHER CASES (OLD OR NEW FORMAT, NO INCA MODULE) … … 268 266 nbtr = nqtrue - COUNT(delPhase(tracers(:)%gen0Name) == 'H2O' & 269 267 .AND. tracers(:)%component == 'lmdz') !--- Number of tracers passed to phytrac 270 IF (CPPKEY_INCA) THEN271 268 nqINCA = COUNT(tracers(:)%component == 'inca') 272 END IF273 269 lerr = getKey('hadv', hadv, ky = tracers(:)%keys) 274 270 lerr = getKey('vadv', vadv, ky = tracers(:)%keys)
Note: See TracChangeset
for help on using the changeset viewer.