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/TOP_SRC/trcini.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/TOP_SRC/trcini.F90

    r7850 r7865  
    1717   !!---------------------------------------------------------------------- 
    1818   USE oce_trc         ! shared variables between ocean and passive tracers 
     19   USE dom_oce, ONLY: e3w_n, gdep3w_n, gdept_n 
    1920   USE trc             ! passive tracers common variables 
    2021   USE trcrst          ! passive tracers restart 
     
    147148      tra(:,:,:,:) = 0._wp 
    148149      IF( ln_zps .AND. .NOT. lk_c1d .AND. .NOT. ln_isfcav )   &              ! Partial steps: before horizontal gradient of passive 
    149         &    CALL zps_hde    ( nit000, jptra, trn, gtru, gtrv  )  ! Partial steps: before horizontal gradient 
     150        &    CALL zps_hde    ( nit000, jptra, trn, e3w_n, gdept_n,    & 
     151        &                      gtru, gtrv  )  ! Partial steps: before horizontal gradient 
    150152      IF( ln_zps .AND. .NOT. lk_c1d .AND.       ln_isfcav )   & 
    151         &    CALL zps_hde_isf( nit000, jptra, trn, pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi )       ! tracers at the bottom ocean level 
     153        &    CALL zps_hde_isf( nit000, jptra, trn, e3w_n, gdept_n, gdep3w_n,  & 
     154        &                      pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi )       ! tracers at the bottom ocean level 
    152155 
    153156 
Note: See TracChangeset for help on using the changeset viewer.