Changeset 4036


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

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

Legend:

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

    r4004 r4036  
    405405            xt_seri(:,:,:) = xt_seri(:,:,:) + d_xt_the(:,:,:)
    406406#ifdef ISOVERIF
    407       write(*,*) 'calltherm 350 tmp: ajout d_xt_the'
     407!      write(*,*) 'calltherm 350 tmp: ajout d_xt_the'
    408408      if (iso_HDO.gt.0) then
    409409!      i=479
  • LMDZ6/trunk/libf/phylmdiso/isotopes_mod.F90

    r3927 r4036  
    665665endif
    666666
    667 ! fermeture fichier de paramètres
    668 close(unit=32)
    669 
    670667! nom des isotopes
    671668
  • 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
  • LMDZ6/trunk/libf/phylmdiso/pbl_surface_mod.F90

    r3962 r4036  
    24352435#endif
    24362436#ifdef ISOVERIF
    2437         write(*,*) 'pbl_surface_mod 1060: sortie surf_landice'
     2437        !write(*,*) 'pbl_surface_mod 1060: sortie surf_landice'
    24382438        do j=1,knon
    24392439          if (iso_eau.gt.0) then     
     
    25302530#endif
    25312531#ifdef ISOVERIF
    2532         write(*,*) 'pbl_surface_mod 1077: sortie surf_seaice'
     2532        !write(*,*) 'pbl_surface_mod 1077: sortie surf_seaice'
    25332533        do j=1,knon
    25342534          if (iso_eau.gt.0) then     
     
    32753275#ifdef ISO
    32763276#ifdef ISOVERIF
    3277        write(*,*) 'pbl_surface 2858'
     3277       !write(*,*) 'pbl_surface 2858'
    32783278       DO i = 1, klon
    32793279        do ixt=1,niso
  • LMDZ6/trunk/libf/phylmdiso/phyetat0.F90

    r3940 r4036  
    507507         enddo
    508508      endif
    509             write(*,*) 'phyetat0 1102'
     509      write(*,*) 'phyetat0 1102'
    510510#endif
    511511#endif
  • LMDZ6/trunk/libf/phylmdiso/phys_output_write_mod.F90

    r4033 r4036  
    26142614        ENDIF !IF (iso_HTO.gt.0) then
    26152615
    2616     write(*,*) 'phys_output_write_mod 2531'
     2616    !write(*,*) 'phys_output_write_mod 2531'
    26172617    enddo !do ixt=1,ntraciso   
    2618     write(*,*) 'phys_output_write_mod 1777'   
     2618    !write(*,*) 'phys_output_write_mod 1777'   
    26192619#endif
    26202620
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r4033 r4036  
    23542354#ifdef ISO
    23552355#ifdef ISOVERIF
    2356     write(*,*) 'physiq 1847: qx(1,1,:)=',qx(1,1,:)
     2356!    write(*,*) 'physiq 1847: qx(1,1,:)=',qx(1,1,:)
    23572357    write(*,*) 'physiq 1846b: ok_isotopes,ntraciso,niso=',ok_isotopes,ntraciso,niso
    23582358#endif
     
    24672467    ! Diagnostiquer la tendance dynamique
    24682468#ifdef ISOVERIF
    2469       write(*,*) 'physiq tmp 2010: ancien_ok=',ancien_ok       
     2469      !write(*,*) 'physiq tmp 2010: ancien_ok=',ancien_ok       
    24702470      if ((iso_HDO.gt.0).and.(iso_O18.gt.0)) then 
    24712471        do i=1,klon
     
    43934393#endif         
    43944394#ifdef ISOVERIF
    4395       write(*,*) 'physiq 3691b: avant call ajsec'
     4395      write(*,*) 'physiq 3691c: avant call ajsec'
    43964396      if (iso_eau.gt.0) then
    43974397      call iso_verif_egalite_vect2D( &
  • LMDZ6/trunk/libf/phylmdiso/wake.F90

    r3927 r4036  
    355355
    356356  ! print*, 'wake initialisations'
    357 #ifdef ISOVERIF
    358         write(*,*) 'wake 358: entree'
    359 #endif
     357!#ifdef ISOVERIF
     358!        write(*,*) 'wake 358: entree'
     359!#endif
    360360
    361361  ! Essais d'initialisation avec sigmaw = 0.02 et hw = 10.
     
    497497  ! ------------------------------------------------------------------------
    498498
    499 #ifdef ISOVERIF
    500         write(*,*) 'wake 500: debut inits'
    501 #endif
    502499!jyg<
    503500!!  DO k = 1, klev
     
    549546#endif
    550547
    551 #ifdef ISOVERIF
    552         write(*,*) 'wake 552: milieu inits'
    553 #endif
    554548      IF (iflag_wk_act == 0) THEN
    555549        act(:) = 0.
Note: See TracChangeset for help on using the changeset viewer.