Ignore:
Timestamp:
Apr 30, 2025, 5:54:41 PM (8 weeks ago)
Author:
afalco
Message:

Pluto: ecritphy changed into diagfi_output_rate (followup of generic model), which defines the output rate of the diagfi in physical timesteps rather than dynamical ones.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/inifis_mod.F90

    r3684 r3749  
    1818  use comgeomfi_h, only: totarea, totarea_planet
    1919  use comsoil_h, only: ini_comsoil_h, nsoilmx, lay1_soil, alpha_soil
    20   use time_phylmdz_mod, only: ecritphy,day_step,iphysiq, &
     20  use time_phylmdz_mod, only: diagfi_output_rate, &
    2121                              init_time, daysec, dtphys
    2222  use comcstfi_mod, only: rad, cpp, g, r, rcp, &
     
    8383  REAL SSUM
    8484
    85   ! deprecated parameter
     85  ! deprecated parameters
     86  REAL :: ecritphy ! to check that this obsolete flag is no longer used...
    8687  logical aerohaze
    8788
     
    104105#endif
    105106
     107
    106108  ! read in some parameters from "run.def" for physics,
    107109  ! or shared between dynamics and physics.
     110  ecritphy=-666 ! dummy default value
    108111  call getin_p("ecritphy",ecritphy) ! frequency of outputs in physics,
    109112                                    ! in dynamical steps
    110   call getin_p("day_step",day_step) ! number of dynamical steps per day
    111   call getin_p("iphysiq",iphysiq) ! call physics every iphysiq dyn step
     113  if (ecritphy/=-666) then
     114    call abort_physic(rname, &
     115         "Error: parameter ecritphy is obsolete! Remove it! "//&
     116         "And use diagfi_output_rate instead",1)
     117  endif
    112118
    113119  ! do we read a startphy.nc file? (default: .true.)
     
    164170     call getin_p("tracer",tracer)
    165171     if (is_master) write(*,*) trim(rname)//": tracer = ",tracer
     172
     173     if (is_master) write(*,*) trim(rname)//&
     174       ": Output rate for diagfi.nc file (in physics steps) ?"
     175     diagfi_output_rate=24 !default value
     176     call getin_p("diagfi_output_rate",diagfi_output_rate)
     177     if (is_master) write(*,*) trim(rname)//": diagfi_output_rate = ",&
     178                               diagfi_output_rate
    166179
    167180     if (is_master) write(*,*) trim(rname)//&
Note: See TracChangeset for help on using the changeset viewer.