Ignore:
Timestamp:
Jan 30, 2019, 5:55:48 PM (5 years ago)
Author:
lguez
Message:

Introduce variable activate_ocean_skin in module config_ocean_skin_m.

Bug fix in phys_state_var_end: we need to deallocate variables for
lmdz1d (although it is useless for a 3D run).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/phylmd/phyredem.F90

    r3429 r3458  
    3737  USE ocean_slab_mod, ONLY : nslay, tslab, seaice, tice, fsic
    3838  USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy, pdtphys
     39  use config_ocean_skin_m, only: activate_ocean_skin 
    3940
    4041  IMPLICIT none
     
    337338       "tendency on zonal wind due to acama gravity waves", du_gwd_front)
    338339
    339   CALL put_field("ds_ns", "delta salinity near surface", ds_ns)
    340   CALL put_field("dT_ns", "delta temperature near surface", dT_ns)
     340  if (activate_ocean_skin >= 1) then
     341     CALL put_field("ds_ns", "delta salinity near surface", ds_ns)
     342     CALL put_field("dT_ns", "delta temperature near surface", dT_ns)
     343  end if
    341344 
    342345  CALL close_restartphy
Note: See TracChangeset for help on using the changeset viewer.