Ignore:
Timestamp:
Apr 8, 2022, 4:47:04 PM (3 years ago)
Author:
dcugnet
Message:

Remove solsym, ok_isotopes (=niso>0), ok_isotrac (=nzone>0)

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/climb_hq_mod.F90

    r4004 r4124  
    502502
    503503#ifdef ISOVERIF
    504 USE infotrac_phy, ONLY: ok_isotrac
     504USE infotrac_phy, ONLY: nzone
    505505USE isotopes_mod, ONLY: iso_eau,iso_HDO,iso_O18, ridicule
    506506USE isotopes_verif_mod
     
    578578         endif
    579579#ifdef ISOTRAC
    580          if (ok_isotrac) then
    581            call iso_verif_traceur(xt_old(1,i,k),'climb_hq_mod 422')
    582          endif
     580         IF(nzone > 0) CALL iso_verif_traceur(xt_old(1,i,k),'climb_hq_mod 422')
    583581#endif
    584582        enddo
     
    781779        endif
    782780#ifdef ISOTRAC
    783         if (ok_isotrac) then
    784            call iso_verif_traceur(xt_old(1,i,k),'climb_hq_mod 526')
    785         endif
     781        IF(nzone > 0) CALL iso_verif_traceur(xt_old(1,i,k),'climb_hq_mod 526')
    786782#endif       
    787783#endif       
  • LMDZ6/trunk/libf/phylmdiso/isotopes_mod.F90

    r4036 r4124  
    33
    44MODULE isotopes_mod
    5 USE infotrac_phy, ONLY: ntraciso,niso,indnum_fn_num,ok_isotrac,use_iso, &
     5USE infotrac_phy, ONLY: ntraciso,niso,indnum_fn_num,use_iso, &
    66&       niso_possibles
    77IMPLICIT NONE
     
    245245      write(*,*) 'iso_init 64: niso=',niso
    246246
    247 ! init de ntracisoOR: on écrasera en cas de ok_isotrac si complications avec
     247! init de ntracisoOR: on écrasera en cas de nzone>0 si complications avec
    248248! ORCHIDEE
    249249      ntracisoOR=ntraciso 
     
    327327call getin_p('essai_convergence',essai_convergence)
    328328call getin_p('initialisation_iso',initialisation_iso)
    329 !if (ok_isotrac) then     
     329!if (nzone>0) then     
    330330!if (initialisation_iso.eq.0) then
    331331!  call getin_p('initialisation_isotrac',initialisation_isotrac)
    332332!endif !if (initialisation_iso.eq.0) then
    333 !endif !if (ok_isotrac) then     
     333!endif !if (nzone>0)
    334334call getin_p('modif_sst',modif_sst)
    335335if (modif_sst.ge.1) then
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4120 r4124  
    4040    USE indice_sol_mod
    4141    USE infotrac, ONLY: iso_num, iso_indnum
    42     USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, ok_isotopes, indnum_fn_num
     42    USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, indnum_fn_num
    4343    USE readTracFiles_mod, ONLY: addPhase
    4444    USE strings_mod,  ONLY: strIdx, strStack, int2str
     
    126126
    127127#ifdef ISO
    128     USE infotrac_phy, ONLY:  &
    129         iqiso,ok_isotrac,niso, ntraciso
    130      USE isotopes_mod, ONLY: iso_eau,iso_HDO,iso_O18,iso_O17,iso_HTO, &
     128    USE infotrac_phy, ONLY: iqiso,niso, ntraciso, nzone
     129    USE isotopes_mod, ONLY: iso_eau,iso_HDO,iso_O18,iso_O17,iso_HTO, &
    131130        & bidouille_anti_divergence,ok_bidouille_wake, &
    132131        & modif_ratqs,essai_convergence,iso_init,ridicule_rain,tnat, &
    133132        & ridicule,ridicule_snow
    134      USE isotopes_routines_mod, ONLY: iso_tritium
     133    USE isotopes_routines_mod, ONLY: iso_tritium
    135134#ifdef ISOVERIF
    136135    USE isotopes_verif_mod, ONLY: errmax,errmaxrel, &
     
    15951594! dyn3dmem et physiq
    15961595#ifdef ISO
    1597     write(*,*) 'physiq 1846a: ok_isotopes,ntraciso,niso=',ok_isotopes,ntraciso,niso
    1598     if (.not.ok_isotopes) then
    1599       CALL abort_gcm('physiq 1756','options iso incompatibles',1)
    1600     endif
     1596    write(*,*) 'physiq 1846a: ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso
     1597    IF(niso  <= 0) CALL abort_gcm('physiq 1756','options iso incompatibles',1)
    16011598#ifdef ISOTRAC
    1602     if (.not.ok_isotrac) then
    1603       CALL abort_gcm('physiq 1758','options isotrac incompatibles',1)
    1604     endif   
     1599    IF(nzone <= 0) CALL abort_gcm('physiq 1758','options isotrac incompatibles',1)
    16051600#else
    1606 ! #ifdef ISOTRAC
    1607     if (ok_isotrac) then
    1608       CALL abort_gcm('physiq 1762','options isotrac incompatibles',1)
    1609     endif
    1610 #endif
    1611 !! #ifdef ISOTRAC
    1612 ! -> on supprime opion ISOTRAC, tout passe par ok_isotrac
     1601    IF(nzone  > 0) CALL abort_gcm('physiq 1762','options isotrac incompatibles',1)
     1602#endif
    16131603#else
    1614 ! #ifdef ISO
    1615     if (ok_isotopes) then
    1616       CALL abort_gcm('physiq 1772','options iso incompatibles',1)
    1617     endif
    1618 #endif
    1619 ! #ifdef ISO
     1604    if(niso   > 0) CALL abort_gcm('physiq 1772','options iso incompatibles',1)
     1605#endif
    16201606
    16211607#ifdef ISO
     
    16231609#ifdef ISOVERIF
    16241610           write(*,*) 'physiq 1366: call iso_init'
    1625            write(*,*) 'ok_isotopes=',ok_isotopes
    1626 #endif
    1627         if (ok_isotopes) then
    1628            call iso_init()
    1629         endif
     1611           write(*,*) 'ok_isotopes=',niso > 0
     1612#endif
     1613        if (niso > 0) call iso_init()
    16301614#ifdef ISOTRAC
    1631 if (ok_isotrac) then
     1615IF(nzone > 0) then
    16321616        write(*,*) 'physiq 1416: call iso_traceurs_init'
    16331617        call iso_traceurs_init()
     
    24242408#ifdef ISOVERIF
    24252409!    write(*,*) 'physiq 1847: qx(1,1,:)=',qx(1,1,:)
    2426     write(*,*) 'physiq 1846b: ok_isotopes,ntraciso,niso=',ok_isotopes,ntraciso,niso
     2410    write(*,*) 'physiq 1846b: ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso
    24272411#endif
    24282412    do ixt=1,ntraciso
     
    24512435#endif
    24522436! #ifdef ISO
    2453 
    24542437    !
    24552438    !--OB mass fixer
     
    25212504    ! Diagnostiquer la tendance dynamique
    25222505#ifdef ISOVERIF
    2523       !write(*,*) 'physiq tmp 2010: ancien_ok=',ancien_ok       
    25242506      if ((iso_HDO.gt.0).and.(iso_O18.gt.0)) then 
    25252507        do i=1,klon
     
    68216803            endif ! if (iso_eau.gt.0) then
    68226804#ifdef ISOTRAC
    6823             if (ok_isotrac) then     
    6824             call iso_verif_traceur(xt_ancien(1,i,k),'physiq 4802')
    6825             endif !if (ok_isotrac) then
     6805            IF(nzone > 0) CALL iso_verif_traceur(xt_ancien(1,i,k),'physiq 4802')
    68266806#endif         
    68276807          enddo
Note: See TracChangeset for help on using the changeset viewer.