- Timestamp:
- 2022-04-14T10:01:23+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/routing_wrapper.f90
r6102 r7576 15 15 !! available routing modules: 16 16 !! - ROUTING_METOD=standard for the standard routing scheme available in module routing. 17 !! - ROUTING_METHOD=simple for the routing scheme in module routing_simple. 17 !! - ROUTING_METHOD=simple for the routing scheme in module routing_simple. 18 !! - ROUTING_METHOD=highres for the high resolution routing scheme in module routing_highres. 18 19 !! 19 20 !! REFERENCE(S) : None … … 32 33 USE grid 33 34 USE routing 35 USE routing_highres 34 36 USE routing_simple 35 37 36 38 IMPLICIT NONE 37 39 38 CHARACTER(LEN=255), SAVE :: routing_method !! 'standard' or 'simple': Character string used to switch between routing modules40 CHARACTER(LEN=255), SAVE :: routing_method !! 'standard', 'highres' or 'simple': Character string used to switch between routing modules 39 41 !$OMP THREADPRIVATE(routing_method) 40 42 … … 67 69 routing_method='standard' 68 70 CALL getin_p("ROUTING_METHOD",routing_method) 69 IF(routing_method=='simple') THEN 71 IF(routing_method=='standard') THEN 72 CALL routing_xios_initialize 73 ELSEIF(routing_method=='highres') THEN 74 CALL routing_highres_xios_initialize 75 ELSEIF(routing_method=='simple') THEN 70 76 CALL routing_simple_xios_initialize 71 77 ENDIF … … 144 150 145 151 CALL routing_initialize( kjit, nbpt, index, & 152 rest_id, hist_id, hist2_id, lalo, & 153 neighbours, resolution, contfrac, stempdiag, & 154 returnflow, reinfiltration, irrigation, riverflow, & 155 coastalflow, flood_frac, flood_res ) 156 157 ELSE IF (routing_method == 'highres') THEN 158 159 CALL routing_highres_initialize( kjit, nbpt, index, & 146 160 rest_id, hist_id, hist2_id, lalo, & 147 161 neighbours, resolution, contfrac, stempdiag, & … … 242 256 stempdiag, reinf_slope, returnflow, reinfiltration, irrigation, riverflow, coastalflow, rest_id, hist_id, hist2_id) 243 257 258 ELSE IF (routing_method=='highres') THEN 259 260 CALL routing_highres_main (kjit, nbpt, index, & 261 lalo, neighbours, resolution, contfrac, totfrac_nobio, veget_max, floodout, runoff, & 262 drainage, transpot, precip_rain, humrel, k_litt, flood_frac, flood_res, & 263 stempdiag, reinf_slope, returnflow, reinfiltration, irrigation, riverflow, coastalflow, rest_id, hist_id, hist2_id) 264 244 265 ELSE IF(routing_method=='simple') THEN 245 266 … … 287 308 CALL routing_finalize( kjit, nbpt, rest_id, flood_frac, flood_res ) 288 309 310 ELSE IF (routing_method=='highres') THEN 311 312 CALL routing_highres_finalize( kjit, nbpt, rest_id, flood_frac, flood_res ) 313 289 314 ELSE IF(routing_method=='simple') THEN 290 315 … … 316 341 CALL routing_clear 317 342 343 ELSE IF (routing_method=='highres') THEN 344 345 CALL routing_highres_clear 346 318 347 ELSE IF(routing_method=='simple') THEN 319 348
Note: See TracChangeset
for help on using the changeset viewer.