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 12841 for NEMO/releases/r4.0/r4.0-HEAD/src/TOP – NEMO

Ignore:
Timestamp:
2020-05-01T12:52:40+02:00 (4 years ago)
Author:
cetlod
Message:

r4.0-HEAD : bugfix on BDY & TOP, see ticket #2389

Location:
NEMO/releases/r4.0/r4.0-HEAD/src/TOP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/TOP/MY_TRC/trcsms_my_trc.F90

    r10425 r12841  
    1515   USE trd_oce 
    1616   USE trdtrc 
    17    USE trcbc, only : trc_bc 
    1817 
    1918   IMPLICIT NONE 
     
    5453      IF( l_trdtrc )  ALLOCATE( ztrmyt(jpi,jpj,jpk) ) 
    5554 
    56       CALL trc_bc ( kt )       ! tracers: surface and lateral Boundary Conditions 
    57  
    5855      ! add here the call to BGC model 
    5956 
  • NEMO/releases/r4.0/r4.0-HEAD/src/TOP/TRP/trctrp.F90

    r10068 r12841  
    2424   USE trcsbc          ! surface boundary condition          (trc_sbc routine) 
    2525   USE zpshde          ! partial step: hor. derivative       (zps_hde routine) 
     26   USE trcbc           ! Tracers boundary condtions          ( trc_bc routine) 
    2627   USE bdy_oce   , ONLY: ln_bdy 
    2728   USE trcbdy          ! BDY open boundaries 
     
    6364         IF( ln_trabbl )        CALL trc_bbl    ( kt )      ! advective (and/or diffusive) bottom boundary layer scheme 
    6465         IF( ln_trcdmp )        CALL trc_dmp    ( kt )      ! internal damping trends 
     66                                CALL trc_bc     ( kt )      ! BC for BDY 
    6567         IF( ln_bdy )           CALL trc_bdy_dmp( kt )      ! BDY damping trends 
    6668                                CALL trc_adv    ( kt )      ! horizontal & vertical advection  
  • NEMO/releases/r4.0/r4.0-HEAD/src/TOP/trcbc.F90

    r11536 r12841  
    153153               IF(trcdta_bdy(jn,ib)%cn_obc == 'frs' .AND. nn_trcdmp_bdy(ib) /= 0 )  & 
    154154                   & CALL ctl_stop( 'trc_bc_ini: Use FRS OR relaxation' ) 
    155                IF(  .NOT.( 0 < nn_trcdmp_bdy(ib)  .AND.  nn_trcdmp_bdy(ib) <= 2 )  )   & 
     155               IF(  .NOT.( 0 <= nn_trcdmp_bdy(ib)  .AND.  nn_trcdmp_bdy(ib) <= 2 )  ) 
    156156                   & CALL ctl_stop( 'trc_bc_ini: Not a valid option for nn_trcdmp_bdy. Allowed: 0,1,2.' ) 
    157157            END DO 
  • NEMO/releases/r4.0/r4.0-HEAD/src/TOP/trcini.F90

    r12136 r12841  
    218218      IF( ln_trcdta )   CALL trc_dta_ini( jptra )      ! set initial tracers values 
    219219      ! 
    220       IF( ln_my_trc )   CALL trc_bc_ini ( jptra )      ! set tracers Boundary Conditions 
     220      CALL trc_bc_ini ( jptra )      ! set tracers Boundary Conditions 
    221221      ! 
    222222      ! 
Note: See TracChangeset for help on using the changeset viewer.