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 copied

Legend:

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

    r4282 r4283  
    11!
    2 MODULE surf_land_orchidee_mod
    3 #ifndef ORCHIDEE_NOOPENMP
    4 #ifndef ORCHIDEE_NOZ0H
    5 #ifndef ORCHIDEE_NOFREIN
    6 #ifndef ORCHIDEE_NOUNSTRUCT
     2MODULE surf_land_orchidee_nolic_mod
     3#ifdef ORCHIDEE_NOLIC
    74!
    85! This module controles the interface towards the model ORCHIDEE.
    96!
    107! Compatibility with ORCHIDIEE :
    11 ! The current version can be used with ORCHIDEE/trunk from revision 4465.
    12 ! This interface is used if none of the cpp keys ORCHIDEE_NOOPENMP,
    13 ! ORCHIDEE_NOZ0H or ORCHIDEE_NOFREIN is set.
    14 !
     8! This module is compiled only if cpp key ORCHIDEE_NOLIC is defined.
     9! The current version can be used with ORCHIDEE/trunk from revision 4465-7757.
     10! (it can be used for later revisions also but it is not needed.)
     11! 
    1512! Subroutines in this module : surf_land_orchidee
    1613!                              Init_orchidee_index
     
    847844!
    848845#endif
    849 #endif
    850 #endif
    851 #endif
    852 END MODULE surf_land_orchidee_mod
     846END MODULE surf_land_orchidee_nolic_mod
Note: See TracChangeset for help on using the changeset viewer.