Ignore:
Timestamp:
Dec 17, 2008, 2:30:13 PM (15 years ago)
Author:
Laurent Fairhead
Message:
  • Modifications lie au premier niveau du modele pour la diffusion turbulent

du vent.

  • Preparation pour un couplage des courrant oceaniques.

JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/surf_land_orchidee_mod.F90

    r1023 r1067  
    1 !
    2 ! $Header$
    31!
    42MODULE surf_land_orchidee_mod
     
    108!                              Get_orchidee_communicator
    119!                              Init_neighbours
     10
     11  USE dimphy
    1212#ifdef CPP_VEGET
    13 
    14   USE dimphy
    1513  USE intersurf     ! module d'ORCHIDEE
     14#endif
    1615  USE cpl_mod,      ONLY : cpl_send_land_fields
    1716  USE surface_data, ONLY : type_ocean
     
    203202 
    204203    IF (debut) THEN
     204! Test of coherence between variable ok_veget and cpp key CPP_VEGET
     205#ifndef CPP_VEGET
     206       abort_message='Pb de coherence: ok_veget = .true. mais CPP_VEGET = .false.'
     207       CALL abort_gcm(modname,abort_message,1)
     208#endif
     209
    205210       CALL Init_surf_para(knon)
    206211       ALLOCATE(ktindex(knon))
     
    368373       
    369374       IF (knon > 0) THEN
     375#ifdef CPP_VEGET
    370376         CALL Init_intersurf(nbp_lon,nbp_lat,knon,ktindex,offset,orch_omp_size,orch_omp_rank,orch_comm)
     377#endif
    371378       ENDIF
    372379
     
    374381       IF (knon > 0) THEN
    375382
     383#ifdef CPP_VEGET
    376384          CALL intersurf_main (itime+itau_phy-1, iim, jjm+1, knon, ktindex, dtime, &
    377385               lrestart_read, lrestart_write, lalo, &
     
    383391               tsol_rad, tsurf_new, qsurf, albedo_out, emis_new, z0_new, &
    384392               lon_scat, lat_scat)
    385          
     393#endif         
    386394       ENDIF
    387395
     
    397405
    398406    IF (knon > 0) THEN
    399    
     407#ifdef CPP_VEGET   
    400408       CALL intersurf_main (itime+itau_phy, iim, jjm+1, knon, ktindex, dtime,  &
    401409            lrestart_read, lrestart_write, lalo, &
     
    407415            tsol_rad(1:knon), tsurf_new(1:knon), qsurf(1:knon), albedo_out(1:knon,:), emis_new(1:knon), z0_new(1:knon), &
    408416            lon_scat, lat_scat)
    409        
     417#endif       
    410418    ENDIF
    411419
     
    625633!
    626634
    627 #endif
    628 
    629635END MODULE surf_land_orchidee_mod
Note: See TracChangeset for help on using the changeset viewer.