Changeset 7254 for branches/ORCHIDEE_2_2
- Timestamp:
- 2021-07-21T19:32:17+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/routing_simple.f90
r7252 r7254 342 342 343 343 SUBROUTINE routing_simple_xios_initialize 344 !USE xios344 USE xios 345 345 USE routing, ONLY : routing_names 346 346 IMPLICIT NONE … … 350 350 LOGICAL :: file_exists 351 351 352 #ifdef XIOS353 352 IF (is_omp_root) THEN 354 353 CALL xios_get_axis_attr("basins", n_glo=basins_out) ! get nb basins to output … … 359 358 IF (file_exists) CALL xios_set_file_attr("routing_start", enabled=.TRUE.) 360 359 ENDIF 361 #endif 360 362 361 END SUBROUTINE routing_simple_xios_initialize 363 362 … … 380 379 381 380 SUBROUTINE routing_simple_init_2(nbpt, contfrac) 382 !USE xios381 USE xios 383 382 USE grid, ONLY : area 384 383 IMPLICIT NONE … … 410 409 411 410 !_ ================================================================================================================================ 412 #ifdef XIOS 411 413 412 split_routing=1 414 413 CALL getin_p("SPLIT_ROUTING",split_routing) … … 658 657 659 658 ENDIF 660 #endif 659 661 660 END SUBROUTINE routing_simple_init_2 662 661 … … 734 733 coastalflow_omp, hydrographs, slowflow_diag, flood_frac, flood_res) 735 734 736 !USE xios735 USE xios 737 736 USE grid, ONLY : area 738 737 IMPLICIT NONE … … 855 854 ! 856 855 857 #ifdef XIOS 856 858 857 irrig_netereq(:) = zero 859 858 totarea(:) = zero … … 1168 1167 irrigation(:) = zero 1169 1168 1170 #endif 1169 1171 1170 END SUBROUTINE routing_simple_flow 1172 1171 … … 1712 1711 1713 1712 SUBROUTINE routing_simple_finalize( kjit, nbpt, rest_id, flood_frac, flood_res ) 1714 !USE xios1713 USE xios 1715 1714 IMPLICIT NONE 1716 1715 … … 1728 1727 !_ ================================================================================================================================ 1729 1728 1730 #ifdef XIOS1731 1729 IF (is_omp_root) THEN 1732 1730 CALL xios_send_field("fast_reservoir_restart",fast_reservoir_r) … … 1734 1732 CALL xios_send_field("stream_reservoir_restart",stream_reservoir_r) 1735 1733 ENDIF 1736 #endif 1734 1737 1735 END SUBROUTINE routing_simple_finalize 1738 1736
Note: See TracChangeset
for help on using the changeset viewer.