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 10922 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/trcsub.F90 – NEMO

Ignore:
Timestamp:
2019-05-02T17:10:39+02:00 (5 years ago)
Author:
acc
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps : Convert IOM, LDF, OBS and SBC directories and compatibility changes elsewhere that these changes enforce. Changes pass SETTE and compare with original trunk results. Outstanding issues (currently with work-arounds) in DIU/step_diu.F90 and fld_bdy_interp within SBC/fldread.F90; proper soltions pending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/trcsub.F90

    r10425 r10922  
    8282CONTAINS 
    8383 
    84    SUBROUTINE trc_sub_stp( kt ) 
     84   SUBROUTINE trc_sub_stp( kt, Kmm ) 
    8585      !!------------------------------------------------------------------- 
    8686      !!                     ***  ROUTINE trc_stp  *** 
     
    9292      !!------------------------------------------------------------------- 
    9393      INTEGER, INTENT( in ) ::   kt   ! ocean time-step index 
     94      INTEGER, INTENT( in ) ::   Kmm  ! ocean time-level index 
    9495      ! 
    9596      INTEGER ::   ji, jj, jk   ! dummy loop indices 
     
    282283         ENDIF 
    283284         ! 
    284          CALL trc_sub_ssh( kt )         ! after ssh & vertical velocity 
     285         CALL trc_sub_ssh( kt, Kmm )         ! after ssh & vertical velocity 
    285286         ! 
    286287      ENDIF 
     
    445446 
    446447 
    447    SUBROUTINE trc_sub_ssh( kt )  
     448   SUBROUTINE trc_sub_ssh( kt, Kmm )  
    448449      !!---------------------------------------------------------------------- 
    449450      !!                ***  ROUTINE trc_sub_ssh  *** 
     
    464465      !!---------------------------------------------------------------------- 
    465466      INTEGER, INTENT(in) ::   kt   ! time step 
     467      INTEGER, INTENT(in) ::   Kmm  ! ocean time-level index 
    466468      ! 
    467469      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
     
    484486      ! 
    485487!!gm BUG here !   hdivn will include the runoff divergence at the wrong timestep !!!! 
    486       CALL div_hor( kt )                              ! Horizontal divergence & Relative vorticity 
     488      CALL div_hor( kt, Kmm )                         ! Horizontal divergence & Relative vorticity 
    487489      ! 
    488490      z2dt = 2._wp * rdt                              ! set time step size (Euler/Leapfrog) 
Note: See TracChangeset for help on using the changeset viewer.