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/zdfosm.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/zdfosm.F90

    r10883 r10946  
    122122 
    123123 
    124    SUBROUTINE zdf_osm( kt, Kbb, Kmm, p_avm, p_avt ) 
     124   SUBROUTINE zdf_osm( kt, Kbb, Kmm, Krhs, p_avm, p_avt ) 
    125125      !!---------------------------------------------------------------------- 
    126126      !!                   ***  ROUTINE zdf_osm  *** 
     
    158158      !!---------------------------------------------------------------------- 
    159159      INTEGER                   , INTENT(in   ) ::  kt             ! ocean time step 
    160       INTEGER                   , INTENT(in   ) ::  Kbb, Kmm      ! ocean time level indices 
     160      INTEGER                   , INTENT(in   ) ::  Kbb, Kmm, Krhs ! ocean time level indices 
    161161      REAL(wp), DIMENSION(:,:,:), INTENT(inout) ::  p_avm, p_avt   ! momentum and tracer Kz (w-points) 
    162162      !! 
     
    16611661         ztrds(:,:,:) = pts(:,:,:,jp_sal,Krhs) - ztrds(:,:,:) 
    16621662!!bug gm jpttdzdf ==> jpttosm 
    1663          CALL trd_tra( kt, 'TRA', jp_tem, jptra_zdf, ztrdt ) 
    1664          CALL trd_tra( kt, 'TRA', jp_sal, jptra_zdf, ztrds ) 
     1663         CALL trd_tra( kt, Kmm, Krhs, 'TRA', jp_tem, jptra_zdf, ztrdt ) 
     1664         CALL trd_tra( kt, Kmm, Krhs, 'TRA', jp_sal, jptra_zdf, ztrds ) 
    16651665         DEALLOCATE( ztrdt )      ;     DEALLOCATE( ztrds ) 
    16661666      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.