Ignore:
Timestamp:
Jul 23, 2024, 3:29:36 PM (4 months ago)
Author:
abarral
Message:

Handle CPP_INLANDSIS in lmdz_cppkeys_wrapper.F90
Remove obsolete key wrgrads_thermcell, _ADV_HALO, _ADV_HALLO, isminmax
Remove redundant uses of CPPKEY_INCA (thanks acozic)
Remove obsolete misc/write_field.F90
Remove unused ioipsl_* wrappers
Remove calls to WriteField_u with wrong signature
Convert .F -> .[fF]90
(lint) uppercase fortran operators
[note: 1d and iso still broken - working on it]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d_common/infotrac.F90

    r5101 r5103  
    196196    SELECT CASE(type_trac)
    197197    CASE('inca', 'inco')
    198       IF (CPPKEY_INCA) THEN
     198      IF (.NOT. CPPKEY_INCA) THEN
    199199        CALL abort_gcm(modname, 'You must add cpp key INCA and compile with INCA code', 1)
    200200      END IF
     
    228228    IF(fType == 1 .AND. ANY(['inca', 'inco']==type_trac)) THEN         !=== FOUND OLD STYLE INCA "traceur.def"
    229229      !---------------------------------------------------------------------------------------------------------------------------
    230       IF (CPPKEY_INCA) THEN
    231230        nqo = SIZE(tracers) - nqCO2
    232231        CALL Init_chem_inca_trac(nqINCA)                               !--- Get nqINCA from INCA
     
    259258        IF(setGeneration(tracers)) CALL abort_gcm(modname, 'See above', 1) !- SET FIELDS %iGeneration, %gen0Name
    260259        DEALLOCATE(had, hadv_inca, vad, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca)
    261       END IF
    262260      !---------------------------------------------------------------------------------------------------------------------------
    263261    ELSE                                                              !=== OTHER CASES (OLD OR NEW FORMAT, NO INCA MODULE)
     
    268266      nbtr = nqtrue - COUNT(delPhase(tracers(:)%gen0Name) == 'H2O' &
    269267              .AND. tracers(:)%component == 'lmdz') !--- Number of tracers passed to phytrac
    270       IF (CPPKEY_INCA) THEN
    271268        nqINCA = COUNT(tracers(:)%component == 'inca')
    272       END IF
    273269      lerr = getKey('hadv', hadv, ky = tracers(:)%keys)
    274270      lerr = getKey('vadv', vadv, ky = tracers(:)%keys)
Note: See TracChangeset for help on using the changeset viewer.