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 10946 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/ZDF/zdfphy.F90 – NEMO

Ignore:
Timestamp:
2019-05-08T10:56:14+02:00 (5 years ago)
Author:
acc
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps : Convert STO, TRD and USR modules and all knock on effects of these conversions. Note change to USR module may have implications for the TEST CASES (not tested yet). Standard SETTE tested only

File:
1 edited

Legend:

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

    r10883 r10946  
    220220 
    221221 
    222    SUBROUTINE zdf_phy( kt, Kbb, Kmm ) 
     222   SUBROUTINE zdf_phy( kt, Kbb, Kmm, Krhs ) 
    223223      !!---------------------------------------------------------------------- 
    224224      !!                     ***  ROUTINE zdf_phy  *** 
     
    233233      !!---------------------------------------------------------------------- 
    234234      INTEGER, INTENT(in) ::   kt         ! ocean time-step index 
    235       INTEGER, INTENT(in) ::   Kbb, Kmm   ! ocean time level indices 
     235      INTEGER, INTENT(in) ::   Kbb, Kmm, Krhs   ! ocean time level indices 
    236236      ! 
    237237      INTEGER ::   ji, jj, jk   ! dummy loop indice 
     
    264264      CASE( np_TKE )   ;   CALL zdf_tke( kt, Kbb, Kmm, zsh2, avm_k, avt_k )    ! TKE closure scheme for Kz 
    265265      CASE( np_GLS )   ;   CALL zdf_gls( kt, Kbb, Kmm, zsh2, avm_k, avt_k )    ! GLS closure scheme for Kz 
    266       CASE( np_OSM )   ;   CALL zdf_osm( kt, Kbb, Kmm      , avm_k, avt_k )    ! OSMOSIS closure scheme for Kz 
     266      CASE( np_OSM )   ;   CALL zdf_osm( kt, Kbb, Kmm, Krhs, avm_k, avt_k )    ! OSMOSIS closure scheme for Kz 
    267267!     CASE( np_CST )                                  ! Constant Kz (reset avt, avm to the background value) 
    268268!         ! avt_k and avm_k set one for all at initialisation phase 
     
    283283      ENDIF 
    284284      ! 
    285       IF( ln_zdfevd )   CALL zdf_evd( kt, avm, avt )  !* convection: enhanced vertical eddy diffusivity 
     285      IF( ln_zdfevd )   CALL zdf_evd( kt, Kmm, Krhs, avm, avt )  !* convection: enhanced vertical eddy diffusivity 
    286286      ! 
    287287      !                                         !* double diffusive mixing 
Note: See TracChangeset for help on using the changeset viewer.