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

Ignore:
Timestamp:
2018-01-24T17:10:24+01:00 (6 years ago)
Author:
jcastill
Message:

Implementation of the changes needed to use a mask for mixed forced/coupled river runoff independently of other coupling fields

File:
1 edited

Legend:

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

    r6204 r9282  
    214214      INTEGER ::   ios  ! Local integer output status for namelist read 
    215215      INTEGER ::   inum  
     216      NAMELIST/namsbc_cpl/  ln_usernfmask       ! moved here to allow merging with other coupling branches 
    216217      REAL(wp), POINTER, DIMENSION(:,:) ::   zacs, zaos 
    217218      !! 
     
    271272         WRITE(numout,*)'  nn_cplmodel                         = ', nn_cplmodel 
    272273         WRITE(numout,*)'  ln_usecplmask                       = ', ln_usecplmask 
     274         WRITE(numout,*)'  ln_usernfmask                       = ', ln_usernfmask 
    273275      ENDIF 
    274276 
     
    403405      IF( TRIM( sn_rcv_rnf%cldes ) == 'coupled' ) THEN 
    404406         srcv(jpr_rnf)%laction = .TRUE. 
    405          l_rnfcpl              = .TRUE.                      ! -> no need to read runoffs in sbcrnf 
     407         l_rnfcpl              = .NOT. ln_usernfmask         ! -> no need to read runoffs in sbcrnf 
    406408         ln_rnf                = nn_components /= jp_iam_sas ! -> force to go through sbcrnf if not sas 
    407409         IF(lwp) WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.