Changeset 3468


Ignore:
Timestamp:
Oct 24, 2024, 9:18:07 AM (2 months ago)
Author:
emillour
Message:

Mars PCM:
Remove obsolete/depreciated lwrite flag (which would trigger some very specific
extra text outputs), in code and in reference callphys.def files.
EM

Location:
trunk/LMDZ.MARS
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3466 r3468  
    47274727  is a duplicate of the "dtridgl" routine in phymars/swr_toon.F
    47284728- turn aeronomars routines to modules, for those which aren't in modules yet.
     4729
     4730== 24/10/2024 == EM
     4731Remove obsolete/depreciated lwrite flag (which would trigger some very specific
     4732extra text outputs), in code and in reference callphys.def files.
     4733
  • trunk/LMDZ.MARS/deftank/callphys.def.GCM5

    r3448 r3468  
    1010#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1111season = .true.   
    12 
    13 #write some more output on the screen ?
    14 lwrite = .false.   
    1512
    1613#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/deftank/callphys.def.GCM6

    r3448 r3468  
    1212#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1313season = .true.   
    14 
    15 #write some more output on the screen ?
    16 lwrite = .false.   
    1714
    1815#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/deftank/callphys.def.MCD5

    r3448 r3468  
    1313#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1414season = .true.   
    15 
    16 #write some more output on the screen ?
    17 lwrite = .false.   
    1815
    1916#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/deftank/callphys.def.MCD6

    r3448 r3468  
    1212#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1313season = .true.   
    14 
    15 #write some more output on the screen ?
    16 lwrite = .false.   
    1714
    1815#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/deftank/callphys.def.co2clouds.GCM5

    r3448 r3468  
    1818#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1919season = .true.   
    20 
    21 #write some more output on the screen ?
    22 lwrite = .false.   
    2320
    2421#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/deftank/callphys.def.hdo.GCM5

    r3448 r3468  
    1010#Seasonal cycle ? if season=False, Ls stays constant, to value set in "start"
    1111season = .true.   
    12 
    13 #write some more output on the screen ?
    14 lwrite = .false.   
    1512
    1613#Save statistics in file "stats.nc" ?
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r3230 r3468  
    77
    88      COMMON/callkeys_l/callrad,calldifv,calladj,callcond,callsoil      &
    9      &   ,season,diurnal,lwrite,calllott,calleofdump                    &
     9     &   ,season,diurnal,calllott,calleofdump                           &
    1010     &   ,callnirco2,callnlte,callthermos,callconduct,calleuv           &
    1111     &   ,callmolvis,callmoldiff,thermochem,thermoswater,callemis       &
     
    3333     
    3434      LOGICAL callrad,calldifv,calladj,callcond,callsoil,               &
    35      &   season,diurnal,lwrite,calllott,calllott_nonoro                 &
     35     &   season,diurnal,calllott,calllott_nonoro                        &
    3636     &   ,calleofdump                                                   &
    3737     &   ,callnirco2,callnlte,callthermos,callconduct,                  &
  • trunk/LMDZ.MARS/libf/phymars/callradite_mod.F

    r2685 r3468  
    608608         enddo
    609609      endif
    610 c     Output for debugging if lwrite=T
     610c     Output for debugging
    611611c     --------------------------------
    612612c     Write all nlayer layers, even though only nlaylte layers may have
    613613c     non-zero tendencies.
    614614
    615          IF(lwrite) THEN
    616             PRINT*,'Diagnotique for the radiation'
    617             PRINT*,'albedo, emissiv, mu0,fract,fluxsurf_lw,fluxsurf_sw'
    618             PRINT*,albedo(igout,1),emis(igout),mu0(igout),
    619      s           fract(igout), fluxsurf_lw(igout),
    620      $     fluxsurf_dn_sw(igout,1)+fluxsurf_dn_sw(igout,2)
    621             PRINT*,'Tlay Tlev Play Plev dT/dt SW dT/dt LW (K/s)'
    622             PRINT*,'daysec',daysec
    623             DO l=1,nlayer
    624                PRINT*,pt(igout,l),ptlev(igout,l),
    625      s         pplay(igout,l),pplev(igout,l),
    626      s         dtsw(igout,l),dtlw(igout,l)
    627             ENDDO
    628          ENDIF
     615c            PRINT*,'Diagnotique for the radiation'
     616c            PRINT*,'albedo, emissiv, mu0,fract,fluxsurf_lw,fluxsurf_sw'
     617c            PRINT*,albedo(igout,1),emis(igout),mu0(igout),
     618c     s           fract(igout), fluxsurf_lw(igout),
     619c     $     fluxsurf_dn_sw(igout,1)+fluxsurf_dn_sw(igout,2)
     620c            PRINT*,'Tlay Tlev Play Plev dT/dt SW dT/dt LW (K/s)'
     621c            PRINT*,'daysec',daysec
     622c            DO l=1,nlayer
     623c               PRINT*,pt(igout,l),ptlev(igout,l),
     624c     s         pplay(igout,l),pplev(igout,l),
     625c     s         dtsw(igout,l),dtlw(igout,l)
     626c            ENDDO
    629627
    630628
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r3369 r3468  
    130130         call getin_p("season",season)
    131131         write(*,*) " season = ",season
    132 
    133          write(*,*) "Write some extra output to the screen ?"
    134          lwrite=.false. ! default value
    135          call getin_p("lwrite",lwrite)
    136          write(*,*) " lwrite = ",lwrite
    137132
    138133         write(*,*) "Save statistics in file stats.nc ?"
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r3466 r3468  
    15051505         dwatercap_dif(:,:) = 0.
    15061506         CALL vdifc(ngrid,nlayer,nsoilmx,nq,nqsoil,zpopsk,
    1507      $        ptimestep,capcal,lwrite,
     1507     $        ptimestep,capcal,
    15081508     $        zplay,zplev,zzlay,zzlev,z0,
    15091509     $        pu,pv,zh,pq,tsurf,tsoil,emis,qsurf,
     
    25462546     &              'ig l =', igmin, lmin
    25472547      end if
    2548 c *******************************************************************
    2549 
    2550 c     ---------------------
    2551 c     Outputs to the screen
    2552 c     ---------------------
    2553 
    2554       IF (lwrite) THEN
    2555          write(*,*)'Global diagnostics for the physics'
    2556          write(*,*)'Variables and their increments x and dx/dt * dt'
    2557          WRITE(*,'(a6,a10,2a15)') 'Ts','dTs','ps','dps'
    2558          WRITE(*,'(2f10.5,2f15.5)')
    2559      s   tsurf(igout,:),zdtsurf(igout,:)*ptimestep,
    2560      s   zplev(igout,1),pdpsrf(igout)*ptimestep
    2561          WRITE(*,'(a4,a6,5a10)') 'l','u','du','v','dv','T','dT'
    2562          WRITE(*,'(i4,6f10.5)') (l,
    2563      s   pu(igout,l),pdu(igout,l)*ptimestep,
    2564      s   pv(igout,l),pdv(igout,l)*ptimestep,
    2565      s   pt(igout,l),pdt(igout,l)*ptimestep,
    2566      s   l=1,nlayer)
    2567       ENDIF ! of IF (lwrite)
    25682548
    25692549c        ----------------------------------------------------------
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3404 r3468  
    66     
    77      SUBROUTINE vdifc(ngrid,nlay,nsoil,nq,nqsoil,ppopsk,
    8      $                ptimestep,pcapcal,lecrit,
     8     $                ptimestep,pcapcal,
    99     $                pplay,pplev,pzlay,pzlev,pz0,
    1010     $                pu,pv,ph,pq,ptsrf,ptsoil,pemis,pqsurf,qsoil,
     
    8585c    Argument added for condensation:
    8686      REAL,INTENT(IN) :: ppopsk(ngrid,nlay)
    87       logical,INTENT(IN) :: lecrit
    8887      REAL,INTENT(IN) :: pcondicea_co2microp(ngrid,nlay)! tendency due to CO2 condensation (kg/kg.s-1)
    8988     
     
    341340      ENDDO
    342341
    343 c    ** diagnostique pour l'initialisation
    344 c       ----------------------------------
    345 
    346       IF(lecrit) THEN
    347          ig=ngrid/2+1
    348          PRINT*,'Pression (mbar) ,altitude (km),u,v,theta, rho dz'
    349          DO ilay=1,nlay
    350             WRITE(*,'(6f11.5)')
    351      s      .01*pplay(ig,ilay),.001*pzlay(ig,ilay),
    352      s      pu(ig,ilay),pv(ig,ilay),ph(ig,ilay),za(ig,ilay)
    353          ENDDO
    354          PRINT*,'Pression (mbar) ,altitude (km),zb'
    355          DO ilev=1,nlay
    356             WRITE(*,'(3f15.7)')
    357      s      .01*pplev(ig,ilev),.001*pzlev(ig,ilev),
    358      s      zb0(ig,ilev)
    359          ENDDO
    360       ENDIF
    361 
    362342c     -----------------------------------
    363343c     Potential Condensation temperature:
     
    503483        end do
    504484      end if
    505 
    506 c    ** diagnostique pour le schema de turbulence
    507 c       -----------------------------------------
    508 
    509       IF(lecrit) THEN
    510          PRINT*
    511          PRINT*,'Diagnostic for the vertical turbulent mixing'
    512          PRINT*,'Cd for momentum and potential temperature'
    513 
    514          PRINT*,zcdv_tmp(ngrid/2+1),zcdh_tmp(ngrid/2+1)
    515          PRINT*,'Mixing coefficient for momentum and pot.temp.'
    516          DO ilev=1,nlay
    517             PRINT*,zkv(ngrid/2+1,ilev),zkh(ngrid/2+1,ilev)
    518          ENDDO
    519       ENDIF
    520485
    521486c-----------------------------------------------------------------------
     
    14651430     &                                    *ptimestep))/ptimestep
    14661431
    1467 c    ** diagnostique final
    1468 c       ------------------
    1469 
    1470       IF(lecrit) THEN
    1471          PRINT*,'In vdif'
    1472          PRINT*,'Ts (t) and Ts (t+st)'
    1473          WRITE(*,'(a10,3a15)')
    1474      s   'theta(t)','theta(t+dt)','u(t)','u(t+dt)'
    1475          PRINT*,ptsrf(ngrid/2+1,:),ztsrf2(ngrid/2+1)
    1476          DO ilev=1,nlay
    1477             WRITE(*,'(4f15.7)')
    1478      s      ph(ngrid/2+1,ilev),zhs(ngrid/2+1,ilev),
    1479      s      pu(ngrid/2+1,ilev),zu(ngrid/2+1,ilev)
    1480 
    1481          ENDDO
    1482       ENDIF
    1483 
    14841432      END SUBROUTINE vdifc
    14851433
Note: See TracChangeset for help on using the changeset viewer.