Ignore:
Timestamp:
Dec 1, 2021, 8:23:48 AM (3 years ago)
Author:
crisi
Message:

correction d'un probleme d'initialisation phylmdiso + suite du nettoyage dans phylmdiso

File:
1 edited

Legend:

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

    r4033 r4036  
    1606316063!      write(*,*) 'xtsnow(4,8,1)=',xtsnow(4,8,1)
    1606416064#ifdef ISOVERIF
    16065       write(*,*) 'phyiso_etat0 15993 tmp: xtsol(iso_eau,1),qsol(1)=',xtsol(iso_eau,1),qsol(1)
    1606616065      do i=1,klon
    1606716066         do ixt=1,niso
     
    1636816367     &                  *(1-kcin(ixt))/(1.0-kcin(ixt)*h0)
    1636916368           xt_ancien(ixt,i,k)=q_ancien(i,k)*RMerlivat(ixt) &
    16370      &                  *(q_ancien(i,k)/q0)**(alpha(ixt)-1.0)
     16369     &                  *(min(q0,q_ancien(i,k))/q0)**(alpha(ixt)-1.0)
    1637116370           if (q_ancien(i,k).gt.ridicule) then
    1637216371           xtl_ancien(ixt,i,k)=ql_ancien(i,k)*alpha(ixt) &
     
    1646816467
    1646916468#ifdef ISOVERIF
     16469      write(*,*) 'phyisoetat0 16468: verif init dure'
    1647016470      do i=1,klon
    1647116471         do ixt=1,niso
     
    1649916499           if (iso_eau.gt.0) then
    1650016500             call iso_verif_egalite(xt_ancien(iso_eau,i,k), &
    16501      &           q_ancien(i,k),'phyiso_etat0_dur 775')       
     16501     &           q_ancien(i,k),'phyiso_etat0_dur 775a')       
    1650216502           endif !if (iso_eau.gt.0) then
     16503           if (iso_HDO.gt.0) then
     16504             if (q_ancien(i,k).gt.ridicule) then
     16505              call iso_verif_aberrant_encadre( &
     16506     &           xt_ancien(iso_hdo,i,k)/q_ancien(i,k), &
     16507     &          'phyiso_etat0_dur 775b')
     16508             endif !if (q_ancien(i,k).gt.ridicule) then
     16509           endif !if (iso_HDO.gt.0) then
     16510           if ((iso_HDO.gt.0).and.(iso_O18.gt.0)) then
     16511              if (q_ancien(i,k).gt.ridicule) then
     16512                call iso_verif_O18_aberrant( &
     16513     &              xt_ancien(iso_hdo,i,k)/q_ancien(i,k), &
     16514     &              xt_ancien(iso_O18,i,k)/q_ancien(i,k), &
     16515     &              'phyiso_etat0_dur 775c')
     16516              endif ! if (q_ancien(i,k).gt.ridicule) then
     16517           endif ! if ((iso_HDO.gt.0).and.(iso_O18.gt.0)) then
    1650316518         enddo !do k=1,klev
    1650416519         do nsrf=1,nbsrf
Note: See TracChangeset for help on using the changeset viewer.