Changeset 4283 for LMDZ6/trunk/libf/phylmd/surf_land_orchidee_mod.F90
- Timestamp:
- Sep 26, 2022, 2:43:00 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r3551 r4283 5 5 #ifndef ORCHIDEE_NOFREIN 6 6 #ifndef ORCHIDEE_NOUNSTRUCT 7 #ifndef ORCHIDEE_NOLIC 7 8 ! 8 9 ! This module controles the interface towards the model ORCHIDEE. 9 10 ! 10 11 ! Compatibility with ORCHIDIEE : 11 ! The current version can be used with ORCHIDEE/trunk from revision 4465.12 ! The current version can be used with ORCHIDEE/trunk from revision 7757. 12 13 ! This interface is used if none of the cpp keys ORCHIDEE_NOOPENMP, 13 ! ORCHIDEE_NOZ0H or ORCHIDEE_NOFREINis set.14 ! ORCHIDEE_NOZ0H, ORCHIDEE_NOFREIN or ORCHIDEE_NOLIC is set. 14 15 ! 15 16 ! Subroutines in this module : surf_land_orchidee … … 20 21 USE dimphy 21 22 #ifdef CPP_VEGET 22 USE intersurf ! module d'ORCHIDEE23 #endif 24 USE cpl_mod, ONLY : cpl_send_land_fields 25 USE surface_data, ONLY : type_ocean 23 USE intersurf ! module in ORCHIDEE 24 #endif 25 USE cpl_mod, ONLY : cpl_send_land_fields, cpl_send_landice_fields 26 USE surface_data, ONLY : type_ocean, landice_opt 26 27 USE geometry_mod, ONLY : dx, dy, boundslon, boundslat,longitude, latitude, cell_area, ind_cell_glo 27 28 USE mod_grid_phy_lmdz … … 152 153 INTEGER :: error 153 154 REAL, DIMENSION(klon) :: swdown_vrai 155 REAL, DIMENSION(klon) :: run_off_lic !! run off from land ice defined in ORCHIDEE, contains calving, melting and liquid precipitation 156 REAL, DIMENSION(klon) :: run_off_lic_frac !! cell fraction corresponding to run_off_lic 157 REAL, DIMENSION(klon) :: blowingsnow_flux !! blowing snow flux 154 158 CHARACTER (len = 20) :: modname = 'surf_land_orchidee' 155 159 CHARACTER (len = 80) :: abort_message … … 570 574 lon_scat, lat_scat, q2m(1:knon), t2m(1:knon), z0h_new(1:knon), nvm_orch, & 571 575 grid=grid_type, bounds_latlon=bounds_lalo, cell_area=area, ind_cell_glo=ind_cell, & 572 field_out_names=cfname_out, field_in_names=cfname_in(1:nbcf_in_orc)) 576 field_out_names=cfname_out, field_in_names=cfname_in(1:nbcf_in_orc), & 577 coszang=yrmu0(1:knon)) 573 578 #endif 574 579 ENDIF … … 603 608 fields_out=yfields_out(1:knon,1:nbcf_out), & 604 609 fields_in=yfields_in(1:knon,1:nbcf_in_orc), & 605 coszang=yrmu0(1:knon) )610 coszang=yrmu0(1:knon), run_off_lic=run_off_lic(1:knon), run_off_lic_frac=run_off_lic_frac(1:knon), blowingsnow_flux=blowingsnow_flux(1:knon)) 606 611 #endif 607 612 ENDIF … … 616 621 CALL cpl_send_land_fields(itime, knon, knindex, & 617 622 riverflow, coastalflow) 623 IF (landice_opt .GE. 2) THEN 624 CALL cpl_send_landice_fields(itime, knon, knindex, run_off_lic, run_off_lic_frac) 625 END IF 618 626 ENDIF 619 627 … … 850 858 #endif 851 859 #endif 860 #endif 852 861 END MODULE surf_land_orchidee_mod
Note: See TracChangeset
for help on using the changeset viewer.