New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9313 for branches/UKMO/dev_r5518_new_runoff_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2018-02-08T15:41:43+01:00 (6 years ago)
Author:
dancopsey
Message:

Changed number of rivers to be nn_cpl_river which is fed in from the nam_cpl_rnf_1d namelist. Made new scheme turn on and off by setting sn_rcv_rnf%cldes = 'coupled1d'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_new_runoff_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r9264 r9313  
    4343   USE eosbn2 
    4444   USE sbcrnf   , ONLY : l_rnfcpl 
    45    USE cpl_rnf_1d, ONLY : cpl_rnf_1D_rcv      ! Coupled runoff using 1D array 
     45   USE cpl_rnf_1d      ! Coupled runoff using 1D array 
    4646#if defined key_cpl_carbon_cycle 
    4747   USE p4zflx, ONLY : oce_co2 
     
    762762         ENDIF 
    763763      ENDIF 
     764       
     765      ! Initialise 1D river outflow scheme 
     766      nn_cpl_river = 1 
     767      IF ( TRIM( sn_rcv_rnf%cldes ) == 'coupled1d' ) CALL cpl_rnf_1d_init   ! Coupled runoff using 1D array 
    764768 
    765769      ! 
     
    10721076         !                                                        ! runoffs and calving (added in emp) 
    10731077         IF( srcv(jpr_rnf)%laction )     rnf(:,:) = frcv(jpr_rnf)%z3(:,:,1)                
    1074          CALL cpl_rnf_1d_rcv( isec) 
     1078         IF ( TRIM( sn_rcv_rnf%cldes ) == 'coupled1d' )         CALL cpl_rnf_1d_rcv( isec) 
    10751079         IF( srcv(jpr_cal)%laction )     zemp(:,:) = zemp(:,:) - frcv(jpr_cal)%z3(:,:,1) 
    10761080          
Note: See TracChangeset for help on using the changeset viewer.