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 11738 for branches/UKMO/dev_r5518_GO6_under_ice_relax_dr_hook/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2019-10-21T09:34:11+02:00 (5 years ago)
Author:
marc
Message:

The Dr Hook changes from my perl code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_under_ice_relax_dr_hook/NEMOGCM/NEMO/OPA_SRC/step.F90

    r8400 r11738  
    3535   USE lbclnk 
    3636 
     37   USE yomhook, ONLY: lhook, dr_hook 
     38   USE parkind1, ONLY: jprb, jpim 
     39 
    3740   IMPLICIT NONE 
    3841   PRIVATE 
     
    7780      INTEGER ::   indic    ! error indicator if < 0 
    7881      INTEGER ::   kcall    ! optional integer argument (dom_vvl_sf_nxt) 
     82      INTEGER(KIND=jpim), PARAMETER :: zhook_in = 0 
     83      INTEGER(KIND=jpim), PARAMETER :: zhook_out = 1 
     84      REAL(KIND=jprb)               :: zhook_handle 
     85 
     86      CHARACTER(LEN=*), PARAMETER :: RoutineName='STP' 
     87 
     88      IF (lhook) CALL dr_hook(RoutineName,zhook_in,zhook_handle) 
     89 
    7990      !! --------------------------------------------------------------------- 
    8091 
     
    400411      !      
    401412      ! 
     413      IF (lhook) CALL dr_hook(RoutineName,zhook_out,zhook_handle) 
    402414   END SUBROUTINE stp 
    403415 
Note: See TracChangeset for help on using the changeset viewer.