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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.