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 9280 for branches/UKMO/dev_r5518_cleanup_1d_cpl/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2018-01-24T14:23:31+01:00 (6 years ago)
Author:
frrh
Message:

Add support for reading in nn_cpl_river, the number of rivers to be dealt with
in atmos-ocean coupling.

File:
1 edited

Legend:

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

    r9218 r9280  
    175175   LOGICAL     ::   ln_usecplmask          !  use a coupling mask file to merge data received from several models 
    176176                                           !   -> file cplmask.nc with the float variable called cplmask (jpi,jpj,nn_cplmodel) 
     177   INTEGER     ::   nn_cpl_river           ! Number of rivers to be dealt with in atmos-ocean coupling.  
     178 
    177179   TYPE ::   DYNARR      
    178180      REAL(wp), POINTER, DIMENSION(:,:,:)    ::   z3    
     
    253255      NAMELIST/namsbc_cpl/  sn_snd_bio_co2, sn_snd_bio_dms, sn_snd_bio_chloro,                        & 
    254256         &                  sn_rcv_atm_pco2, sn_rcv_atm_dust 
     257 
     258      ! Add river coupling related field to namelist 
     259      NAMELIST/namsbc_cpl/ nn_cpl_river 
     260 
    255261 
    256262      !!--------------------------------------------------------------------- 
     
    324330         WRITE(numout,*)'  rn_antarctica_calving_fraction      = ', rn_antarctica_calving_fraction 
    325331         WRITE(numout,*)'  rn_iceshelf_fluxes_tolerance        = ', rn_iceshelf_fluxes_tolerance 
     332         WRITE(numout,*)'  nn_cpl_river                        = ', nn_cpl_river 
     333 
    326334      ENDIF 
    327335 
Note: See TracChangeset for help on using the changeset viewer.