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 9017 for branches/UKMO/dev_r8600_closea_rewrite/NEMOGCM/NEMO/OPA_SRC/SBC – NEMO

Ignore:
Timestamp:
2017-12-13T15:37:41+01:00 (7 years ago)
Author:
davestorkey
Message:

UKMO/dev_r8600_closea_rewrite branch : commit code

Location:
branches/UKMO/dev_r8600_closea_rewrite/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r8600_closea_rewrite/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r8995 r9017  
    4949   USE bdy_oce   , ONLY: ln_bdy 
    5050   USE usrdef_sbc     ! user defined: surface boundary condition 
    51    USE usrdef_closea  ! user defined: closed sea 
     51   USE closea         ! closed sea 
    5252   ! 
    5353   USE prtctl         ! Print control                    (prt_ctl routine) 
     
    153153         WRITE(numout,*) '         runoff / runoff mouths                     ln_rnf        = ', ln_rnf 
    154154         WRITE(numout,*) '         iceshelf formulation                       ln_isf        = ', ln_isf 
    155          WRITE(numout,*) '         closed sea (=0/1) (set in namdom)          nn_closea     = ', nn_closea 
     155         WRITE(numout,*) '         special treatment of closed seas (set in namdom)  ln_closea     = ', ln_closea 
     156         IF(ln_closea) WRITE(numout,*) '         closed sea treatment (=0/1) (set in namdom) nn_closea     = ', nn_closea 
    156157         WRITE(numout,*) '         nb of iterations if land-sea-mask applied  nn_lsm        = ', nn_lsm 
    157158         WRITE(numout,*) '         surface wave                               ln_wave       = ', ln_wave 
     
    446447      ! treatment of closed sea in the model domain   (update freshwater fluxes) 
    447448      ! Should not be ran if ln_diurnal_only 
    448       IF( .NOT.ln_diurnal_only .AND. nn_closea == 1 )   CALL sbc_clo( kt, cn_cfg, nn_cfg )    
     449      IF( .NOT.ln_diurnal_only .AND. ln_closea .AND. nn_closea == 1 )   CALL sbc_clo( kt )    
    449450 
    450451!RBbug do not understand why see ticket 667 
  • branches/UKMO/dev_r8600_closea_rewrite/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r8995 r9017  
    2121   USE sbcisf         ! PM we could remove it I think 
    2222   USE eosbn2         ! Equation Of State 
    23    USE usrdef_closea  ! closed seas 
     23   USE closea         ! closed seas 
    2424   ! 
    2525   USE in_out_manager ! I/O manager 
     
    513513      CALL iom_close( inum )                                      ! close file 
    514514      ! 
    515       IF( nn_closea == 1 )   CALL clo_rnf( rnfmsk )               ! closed sea inflow set as ruver mouth 
     515      IF( ln_closea .and. nn_closea == 1 )   CALL clo_rnf( rnfmsk )   ! closed sea inflow set as river mouth 
    516516      ! 
    517517      rnfmsk_z(:)   = 0._wp                                       ! vertical structure 
Note: See TracChangeset for help on using the changeset viewer.