Changeset 1067 for LMDZ4/trunk/libf/phylmd/surf_land_orchidee_mod.F90
- Timestamp:
- Dec 17, 2008, 2:30:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r1023 r1067 1 !2 ! $Header$3 1 ! 4 2 MODULE surf_land_orchidee_mod … … 10 8 ! Get_orchidee_communicator 11 9 ! Init_neighbours 10 11 USE dimphy 12 12 #ifdef CPP_VEGET 13 14 USE dimphy15 13 USE intersurf ! module d'ORCHIDEE 14 #endif 16 15 USE cpl_mod, ONLY : cpl_send_land_fields 17 16 USE surface_data, ONLY : type_ocean … … 203 202 204 203 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 205 210 CALL Init_surf_para(knon) 206 211 ALLOCATE(ktindex(knon)) … … 368 373 369 374 IF (knon > 0) THEN 375 #ifdef CPP_VEGET 370 376 CALL Init_intersurf(nbp_lon,nbp_lat,knon,ktindex,offset,orch_omp_size,orch_omp_rank,orch_comm) 377 #endif 371 378 ENDIF 372 379 … … 374 381 IF (knon > 0) THEN 375 382 383 #ifdef CPP_VEGET 376 384 CALL intersurf_main (itime+itau_phy-1, iim, jjm+1, knon, ktindex, dtime, & 377 385 lrestart_read, lrestart_write, lalo, & … … 383 391 tsol_rad, tsurf_new, qsurf, albedo_out, emis_new, z0_new, & 384 392 lon_scat, lat_scat) 385 393 #endif 386 394 ENDIF 387 395 … … 397 405 398 406 IF (knon > 0) THEN 399 407 #ifdef CPP_VEGET 400 408 CALL intersurf_main (itime+itau_phy, iim, jjm+1, knon, ktindex, dtime, & 401 409 lrestart_read, lrestart_write, lalo, & … … 407 415 tsol_rad(1:knon), tsurf_new(1:knon), qsurf(1:knon), albedo_out(1:knon,:), emis_new(1:knon), z0_new(1:knon), & 408 416 lon_scat, lat_scat) 409 417 #endif 410 418 ENDIF 411 419 … … 625 633 ! 626 634 627 #endif628 629 635 END MODULE surf_land_orchidee_mod
Note: See TracChangeset
for help on using the changeset viewer.