Ignore:
Timestamp:
Apr 26, 2023, 3:08:01 PM (20 months ago)
Author:
evos
Message:

adding the options to write profiles at the end of the 1D simulation (write_prof=.true.)

Location:
trunk/LMDZ.MARS/libf/phymars/dyn1d
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F

    r2947 r2948  
    1818      use geometry_mod, only: init_geometry
    1919      use watersat_mod, only: watersat
    20       use tracer_mod, only: igcm_h2o_vap,igcm_h2o_ice,igcm_co2
     20      use tracer_mod, only: igcm_h2o_vap,igcm_h2o_ice,igcm_co2,noms
    2121      use planete_h, only: year_day, periheli, aphelie, peri_day,
    2222     &                     obliquit, emin_turb, lmixmin
     
    8787      INTEGER ilayer,ilevel,isoil,idt,iq
    8888      LOGICAl firstcall,lastcall
     89      LOGICAL write_prof
    8990c
    9091      real,parameter :: odpref=610. ! DOD reference pressure (Pa)
     
    987988
    988989      ENDDO   ! of idt=1,ndt ! end of time stepping loop
     990     
     991      ! update the profiles files at the end of the run
     992      write_prof=.false.
     993      call getin("write_prof",write_prof)
     994      IF (write_prof.eq..true.) then
     995              DO iq = 1, nq
     996                call writeprofile(nlayer,q(:,iq),noms(iq),iq)
     997              ENDDO
     998      ENDIF
     999
    9891000
    9901001c    ========================================================
Note: See TracChangeset for help on using the changeset viewer.