Changeset 4124 for LMDZ6/trunk/libf/phylmdiso
- Timestamp:
- Apr 8, 2022, 4:47:04 PM (3 years ago)
- Location:
- LMDZ6/trunk/libf/phylmdiso
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmdiso/climb_hq_mod.F90
r4004 r4124 502 502 503 503 #ifdef ISOVERIF 504 USE infotrac_phy, ONLY: ok_isotrac504 USE infotrac_phy, ONLY: nzone 505 505 USE isotopes_mod, ONLY: iso_eau,iso_HDO,iso_O18, ridicule 506 506 USE isotopes_verif_mod … … 578 578 endif 579 579 #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') 583 581 #endif 584 582 enddo … … 781 779 endif 782 780 #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') 786 782 #endif 787 783 #endif -
LMDZ6/trunk/libf/phylmdiso/isotopes_mod.F90
r4036 r4124 3 3 4 4 MODULE isotopes_mod 5 USE infotrac_phy, ONLY: ntraciso,niso,indnum_fn_num, ok_isotrac,use_iso, &5 USE infotrac_phy, ONLY: ntraciso,niso,indnum_fn_num,use_iso, & 6 6 & niso_possibles 7 7 IMPLICIT NONE … … 245 245 write(*,*) 'iso_init 64: niso=',niso 246 246 247 ! init de ntracisoOR: on écrasera en cas de ok_isotracsi complications avec247 ! init de ntracisoOR: on écrasera en cas de nzone>0 si complications avec 248 248 ! ORCHIDEE 249 249 ntracisoOR=ntraciso … … 327 327 call getin_p('essai_convergence',essai_convergence) 328 328 call getin_p('initialisation_iso',initialisation_iso) 329 !if ( ok_isotrac) then329 !if (nzone>0) then 330 330 !if (initialisation_iso.eq.0) then 331 331 ! call getin_p('initialisation_isotrac',initialisation_isotrac) 332 332 !endif !if (initialisation_iso.eq.0) then 333 !endif !if ( ok_isotrac) then333 !endif !if (nzone>0) 334 334 call getin_p('modif_sst',modif_sst) 335 335 if (modif_sst.ge.1) then -
LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
r4120 r4124 40 40 USE indice_sol_mod 41 41 USE infotrac, ONLY: iso_num, iso_indnum 42 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, ok_isotopes,indnum_fn_num42 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2, indnum_fn_num 43 43 USE readTracFiles_mod, ONLY: addPhase 44 44 USE strings_mod, ONLY: strIdx, strStack, int2str … … 126 126 127 127 #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, & 131 130 & bidouille_anti_divergence,ok_bidouille_wake, & 132 131 & modif_ratqs,essai_convergence,iso_init,ridicule_rain,tnat, & 133 132 & ridicule,ridicule_snow 134 133 USE isotopes_routines_mod, ONLY: iso_tritium 135 134 #ifdef ISOVERIF 136 135 USE isotopes_verif_mod, ONLY: errmax,errmaxrel, & … … 1595 1594 ! dyn3dmem et physiq 1596 1595 #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) 1601 1598 #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) 1605 1600 #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 1613 1603 #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 1620 1606 1621 1607 #ifdef ISO … … 1623 1609 #ifdef ISOVERIF 1624 1610 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() 1630 1614 #ifdef ISOTRAC 1631 if (ok_isotrac) then1615 IF(nzone > 0) then 1632 1616 write(*,*) 'physiq 1416: call iso_traceurs_init' 1633 1617 call iso_traceurs_init() … … 2424 2408 #ifdef ISOVERIF 2425 2409 ! write(*,*) 'physiq 1847: qx(1,1,:)=',qx(1,1,:) 2426 write(*,*) 'physiq 1846b: ok_isotopes,ntraciso,niso=', ok_isotopes,ntraciso,niso2410 write(*,*) 'physiq 1846b: ok_isotopes,ntraciso,niso=',niso>0,ntraciso,niso 2427 2411 #endif 2428 2412 do ixt=1,ntraciso … … 2451 2435 #endif 2452 2436 ! #ifdef ISO 2453 2454 2437 ! 2455 2438 !--OB mass fixer … … 2521 2504 ! Diagnostiquer la tendance dynamique 2522 2505 #ifdef ISOVERIF 2523 !write(*,*) 'physiq tmp 2010: ancien_ok=',ancien_ok2524 2506 if ((iso_HDO.gt.0).and.(iso_O18.gt.0)) then 2525 2507 do i=1,klon … … 6821 6803 endif ! if (iso_eau.gt.0) then 6822 6804 #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') 6826 6806 #endif 6827 6807 enddo
Note: See TracChangeset
for help on using the changeset viewer.