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

Generic PCM:
Minor fix following last updates, only fetch slab ocean variables to put
in the restart file if using the slab ocean.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90

    r3397 r3429  
    23942394            write(*,*)'PHYSIQ: for physdem ztime_fin =',ztime_fin
    23952395           
    2396             ! fetch "ocean variables" to ensure they are stored
    2397             call ocean_slab_get_vars(ngrid, tslab, tice, sea_ice, flux_g, &
    2398                                      dt_hdiff, dt_ekman, dt_gm)
     2396            if (ok_slab_ocean) then
     2397              ! fetch "ocean variables" to ensure they are stored
     2398              call ocean_slab_get_vars(ngrid, tslab, tice, sea_ice, flux_g, &
     2399                                       dt_hdiff, dt_ekman, dt_gm)
     2400            endif
    23992401
    24002402            call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq, &
Note: See TracChangeset for help on using the changeset viewer.