Ignore:
Timestamp:
Sep 26, 2022, 2:43:00 PM (19 months ago)
Author:
jghattas
Message:

Added landice_opt=2 : Treat continental land ice fractions in ORCHIDEE => pctsrf(:,is_lic) = 0.0 in LMDZ.

For this option, some more variables are needed from ORCHIDEE. Therfor change in the interface LMDZ-ORCHIDEE in surf_land_orchidee_mod is done. Previous interface is moved to surf_land_orchidee_nolic_mod.f90. To compile with previous interface, cpp key ORCHIDEE_NOLIC is added. Previous interface is compiled with argument orchidee2.1 in makelmdz and makelmdz_fcm.

At the same time, when the interface was changed, the variable yrmu0(coszang) was added in the call to intersurf_initialize_gathered. This is needed in ORCHIDEE to better initialize the model.

Modifications done by Etienne Vignon and Josefine Ghattas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/surf_land_mod.F90

    r3435 r4283  
    2424    USE dimphy
    2525    USE surface_data, ONLY    : ok_veget
    26 ! >> PC
    27     USE carbon_cycle_mod
    28 ! << PC
     26    USE carbon_cycle_mod
     27
    2928
    3029    ! See comments in each module surf_land_orchidee_xxx for compatiblity with ORCHIDEE
     
    4544    USE surf_land_orchidee_nounstruct_mod
    4645#else
     46#if ORCHIDEE_NOLIC
     47    ! Compilation with cpp key ORCHIDEE_NOLIC
     48    USE surf_land_orchidee_nolic_mod
     49#else
     50    ! Default version
    4751    USE surf_land_orchidee_mod
    4852#endif
     
    5054#endif
    5155#endif
    52 
     56#endif
     57   
    5358    USE surf_land_bucket_mod
    5459    USE calcul_fluxs_mod
    5560    USE indice_sol_mod
    56 
    57 ! >> PC
    5861    USE print_control_mod, ONLY: lunout
    59 ! << PC
    6062
    6163    INCLUDE "dimsoil.h"
Note: See TracChangeset for help on using the changeset viewer.