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/phys_output_write_mod.F90

    r3429 r3458  
    376376#endif
    377377    USE tracinca_mod, ONLY: config_inca
     378    use config_ocean_skin_m, only: activate_ocean_skin
    378379
    379380    IMPLICIT NONE
     
    21112112       ENDIF   !(iflag_phytrac==1)
    21122113
    2113        CALL histwrite_phy(o_t_int, t_int)
    2114        CALL histwrite_phy(o_s_int, s_int)
    2115        CALL histwrite_phy(o_ds_ns, ds_ns)
    2116        CALL histwrite_phy(o_dt_ns, dt_ns)
    2117        CALL histwrite_phy(o_dter, dter)
    2118        CALL histwrite_phy(o_dser, dser)
    2119        CALL histwrite_phy(o_tkt, tkt)
    2120        CALL histwrite_phy(o_tks, tks)
    2121        CALL histwrite_phy(o_rf, rf)
    2122        CALL histwrite_phy(o_taur, taur)
     2114       if (activate_ocean_skin >= 1) then
     2115          CALL histwrite_phy(o_t_int, t_int)
     2116          CALL histwrite_phy(o_s_int, s_int)
     2117          CALL histwrite_phy(o_ds_ns, ds_ns)
     2118          CALL histwrite_phy(o_dt_ns, dt_ns)
     2119          CALL histwrite_phy(o_dter, dter)
     2120          CALL histwrite_phy(o_dser, dser)
     2121          CALL histwrite_phy(o_tkt, tkt)
     2122          CALL histwrite_phy(o_tks, tks)
     2123          CALL histwrite_phy(o_rf, rf)
     2124          CALL histwrite_phy(o_taur, taur)
     2125       end if
    21232126
    21242127       IF (.NOT.vars_defined) THEN
Note: See TracChangeset for help on using the changeset viewer.