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