Changeset 4124 for LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90
- Timestamp:
- Apr 8, 2022, 4:47:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.