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 10957 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/DYN/dynnxt.F90 – NEMO

Ignore:
Timestamp:
2019-05-10T12:26:38+02:00 (5 years ago)
Author:
davestorkey
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps : BDY module (including some removal of redundant code). Tested in AMM12 and ORCA1 (not full SETTE test at this stage).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/DYN/dynnxt.F90

    r10946 r10957  
    5050#if defined key_agrif 
    5151   USE agrif_oce_interp 
    52 #endif 
     52#endif    
    5353 
    5454   IMPLICIT NONE 
     
    6464CONTAINS 
    6565 
    66    SUBROUTINE dyn_nxt ( kt, Kmm ) 
     66   SUBROUTINE dyn_nxt ( kt, Kbb, Kmm, Kaa ) 
    6767      !!---------------------------------------------------------------------- 
    6868      !!                  ***  ROUTINE dyn_nxt  *** 
     
    9292      !!               un,vn   now horizontal velocity of next time-step 
    9393      !!---------------------------------------------------------------------- 
    94       INTEGER, INTENT( in ) ::   kt      ! ocean time-step index 
    95       INTEGER, INTENT( in ) ::   Kmm     ! time level index 
     94      INTEGER, INTENT( in ) ::   kt             ! ocean time-step index 
     95      INTEGER, INTENT( in ) ::   Kbb, Kmm, Kaa  ! time level indices 
    9696      ! 
    9797      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
     
    148148      ! 
    149149      !                                !* BDY open boundaries 
    150       IF( ln_bdy .AND. ln_dynspg_exp )   CALL bdy_dyn( kt ) 
    151       IF( ln_bdy .AND. ln_dynspg_ts  )   CALL bdy_dyn( kt, dyn3d_only=.true. ) 
     150      !! IMMERSE development : Following the general pattern for the new code we want to pass in the  
     151      !!                       velocities to bdy_dyn as arguments so here we use "uu" and "vv" even  
     152      !!                       though we haven't converted the velocity names in the rest of dynnxt.F90 
     153      !!                       because it will be completely rewritten. DS. 
     154      IF( ln_bdy .AND. ln_dynspg_exp )   CALL bdy_dyn( kt, Kbb, uu, vv, Kaa ) 
     155      IF( ln_bdy .AND. ln_dynspg_ts  )   CALL bdy_dyn( kt, Kbb, uu, vv, Kaa, dyn3d_only=.true. ) 
    152156 
    153157!!$   Do we need a call to bdy_vol here?? 
Note: See TracChangeset for help on using the changeset viewer.