Changeset 6102


Ignore:
Timestamp:
2019-07-05T14:52:05+02:00 (5 years ago)
Author:
josefine.ghattas
Message:

Added routing_simple module and routing_wrapper. No changes in defalut set up.

See ticket #581

Location:
branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_2_2/ORCHIDEE/src_sechiba/sechiba.f90

    r5820 r6102  
    4545  USE sechiba_io_p 
    4646  USE slowproc 
    47   USE routing 
     47  USE routing_wrapper 
    4848  USE ioipsl_para 
    4949  USE chemistry 
     
    295295      CALL chemistry_xios_initialize 
    296296      CALL thermosoil_xios_initialize 
     297      CALL routing_wrapper_xios_initialize 
    297298    END IF 
    298299    IF (printlev_loc>=3) WRITE(numout,*) 'End sechiba_xios_initialize' 
     
    492493    !! 1.12 Initialize river routing 
    493494    IF ( river_routing .AND. nbp_glo .GT. 1) THEN 
     495 
    494496       !! 1.12.1 Initialize river routing 
    495        CALL routing_initialize( kjit,        kjpindex,       index,                 & 
     497       CALL routing_wrapper_initialize( & 
     498            kjit,        kjpindex,       index,                 & 
    496499            rest_id,     hist_id,        hist2_id,   lalo,      & 
    497500            neighbours,  resolution,     contfrac,   stempdiag, & 
     
    762765    IF ( river_routing .AND. nbp_glo .GT. 1) THEN 
    763766       !! 8.1 River routing 
    764        CALL routing_main (kjit, kjpindex, index, & 
     767       CALL routing_wrapper_main (kjit, kjpindex, index, & 
    765768            & lalo, neighbours, resolution, contfrac, totfrac_nobio, veget_max, floodout, runoff, & 
    766769            & drainage, transpot, precip_rain, humrel, k_litt, flood_frac, flood_res, & 
     
    13641367    IF ( river_routing .AND. nbp_glo .GT. 1) THEN 
    13651368       !! 6.1 Call river routing to write restart files  
    1366        CALL routing_finalize( kjit, kjpindex, rest_id, flood_frac, flood_res ) 
     1369       CALL routing_wrapper_finalize( kjit, kjpindex, rest_id, flood_frac, flood_res ) 
    13671370    ELSE 
    13681371       !! 6.2 No routing, set variables to zero 
     
    19601963    CALL thermosoil_clear 
    19611964    CALL condveg_clear  
    1962     CALL routing_clear 
     1965    CALL routing_wrapper_clear 
    19631966 
    19641967  END SUBROUTINE sechiba_clear 
Note: See TracChangeset for help on using the changeset viewer.