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 7865 for branches/UKMO/dev_r5518_medusa_fix_restart/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90 – NEMO

Ignore:
Timestamp:
2017-04-03T10:17:15+02:00 (7 years ago)
Author:
marc
Message:

Adding extra arguments to ZPS_HDE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_medusa_fix_restart/NEMOGCM/NEMO/OPA_SRC/ASM/asminc.F90

    r7850 r7865  
    646646      !! ** Action  :  
    647647      !!---------------------------------------------------------------------- 
     648      USE dom_oce, ONLY: e3w_n 
     649 
    648650      INTEGER, INTENT(IN) :: kt               ! Current time step 
    649651      ! 
     
    747749 
    748750            IF( ln_zps .AND. .NOT. lk_c1d .AND. .NOT. ln_isfcav)      & 
    749                &  CALL zps_hde    ( kt, jpts, tsb, gtsu, gtsv,        &  ! Partial steps: before horizontal gradient 
     751               &  CALL zps_hde    ( kt, jpts, tsb, e3w_n, gdept_n,    & 
     752               &                              gtsu, gtsv,             &  ! Partial steps: before horizontal gradient 
    750753               &                              rhd, gru , grv          )  ! of t, s, rd at the last ocean level 
    751754            IF( ln_zps .AND. .NOT. lk_c1d .AND.       ln_isfcav)      & 
    752                &  CALL zps_hde_isf( nit000, jpts, tsb, gtsu, gtsv,    &    ! Partial steps for top cell (ISF) 
     755               &  CALL zps_hde_isf( nit000, jpts, tsb,                & 
     756               &                    e3w_n, gdept_n, gdep3w_n,         & 
     757               &                    gtsu, gtsv,                       &    ! Partial steps for top cell (ISF) 
    753758               &                                  rhd, gru , grv , aru , arv , gzu , gzv , ge3ru , ge3rv ,   & 
    754759               &                           gtui, gtvi, grui, grvi, arui, arvi, gzui, gzvi, ge3rui, ge3rvi    ) ! of t, s, rd at the last ocean level 
Note: See TracChangeset for help on using the changeset viewer.