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 14949 – NEMO

Changeset 14949


Ignore:
Timestamp:
2021-06-04T17:12:54+02:00 (3 years ago)
Author:
acc
Message:

#2605 : bug fixes to allow all SETTE tests to compile and run on this branch without key_RK3. This is a missed variable name change in stp2d.F90 and an uninecessarily duplicated routine in stprk3.F90. The duplicated routine (finalize_lbc) is unused but AGRIF compilations will pick up the incompatible first version from stpmlf.F90 (AGRIF does not respect scope). The copy in stprk3.F90 has been removed.

Location:
NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/stp2d.F90

    r14800 r14949  
    233233      !                 !==  Add the IAU weighted SSH increment  ==! 
    234234      ! 
    235       IF( lk_asminc .AND. ln_sshinc .AND. ln_asmiau )   zsshe_rhs(:,:) = zsshe_rhs(:,:) - ssh_iau(:,:) 
     235      IF( lk_asminc .AND. ln_sshinc .AND. ln_asmiau )   sshe_rhs(:,:) = sshe_rhs(:,:) - ssh_iau(:,:) 
    236236#endif 
    237237      ! 
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/stprk3.F90

    r14941 r14949  
    337337   END SUBROUTINE mlf_baro_corr 
    338338 
    339  
    340    SUBROUTINE finalize_lbc( kt, Kbb, Kaa, puu, pvv, pts ) 
    341       !!---------------------------------------------------------------------- 
    342       !!                  ***  ROUTINE finalize_lbc  *** 
    343       !! 
    344       !! ** Purpose :   Apply the boundary condition on the after velocity 
    345       !! 
    346       !! ** Method  : * Apply lateral boundary conditions on after velocity 
    347       !!             at the local domain boundaries through lbc_lnk call, 
    348       !!             at the one-way open boundaries (ln_bdy=T), 
    349       !!             at the AGRIF zoom   boundaries (lk_agrif=T) 
    350       !! 
    351       !! ** Action :   puu(Kaa),pvv(Kaa)   after horizontal velocity and tracers 
    352       !!---------------------------------------------------------------------- 
    353 #if defined key_agrif 
    354       USE agrif_oce_interp 
    355 #endif 
    356       USE bdydyn         ! ocean open boundary conditions (define bdy_dyn) 
    357       !! 
    358       INTEGER                                  , INTENT(in   ) ::   kt         ! ocean time-step index 
    359       INTEGER                                  , INTENT(in   ) ::   Kbb, Kaa   ! before and after time level indices 
    360       REAL(wp), DIMENSION(jpi,jpj,jpk,jpt)     , INTENT(inout) ::   puu, pvv   ! velocities to be time filtered 
    361       REAL(wp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) ::   pts        ! active tracers 
    362       !!---------------------------------------------------------------------- 
    363       ! 
    364       ! Update after tracer and velocity on domain lateral boundaries 
    365       ! 
    366 # if defined key_agrif 
    367             CALL Agrif_tra( kt )               !* AGRIF zoom boundaries 
    368             CALL Agrif_dyn( kt ) 
    369 # endif 
    370       !                                        ! local domain boundaries  (T-point, unchanged sign) 
    371       CALL lbc_lnk_multi( 'finalize_lbc', puu(:,:,:,       Kaa), 'U', -1., pvv(:,:,:       ,Kaa), 'V', -1.   & 
    372                        &                , pts(:,:,:,jp_tem,Kaa), 'T',  1., pts(:,:,:,jp_sal,Kaa), 'T',  1. ) 
    373       ! 
    374       !                                        !* BDY open boundaries 
    375       IF( ln_bdy )   THEN 
    376                                CALL bdy_tra( kt, Kbb, pts,      Kaa ) 
    377          IF( ln_dynspg_exp )   CALL bdy_dyn( kt, Kbb, puu, pvv, Kaa ) 
    378          IF( ln_dynspg_ts  )   CALL bdy_dyn( kt, Kbb, puu, pvv, Kaa, dyn3d_only=.true. ) 
    379       ENDIF 
    380       ! 
    381    END SUBROUTINE finalize_lbc 
    382  
    383339#else 
    384340   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.