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.
trdtrc.F90 in branches/UKMO/dev_r5518_GO6_under_ice_relax_dr_hook/NEMOGCM/NEMO/OPA_SRC/TRD – NEMO

source: branches/UKMO/dev_r5518_GO6_under_ice_relax_dr_hook/NEMOGCM/NEMO/OPA_SRC/TRD/trdtrc.F90 @ 11738

Last change on this file since 11738 was 11738, checked in by marc, 4 years ago

The Dr Hook changes from my perl code.

File size: 1.4 KB
Line 
1#if ! defined key_top
2MODULE trdtrc
3   !!======================================================================
4   !!                       ***  MODULE trdtrc  ***
5   !!  Dummy module
6   !!======================================================================
7   !!----------------------------------------------------------------------
8   !!   Dummy module                                             NO TOP use
9   !!----------------------------------------------------------------------
10CONTAINS
11
12   SUBROUTINE trd_trc( ptrtrd, kjn, ktrd, kt )
13      INTEGER ::   kt, kjn, ktrd   
14      REAL    ::   ptrtrd(:,:,:) 
15      INTEGER(KIND=jpim), PARAMETER :: zhook_in = 0
16      INTEGER(KIND=jpim), PARAMETER :: zhook_out = 1
17      REAL(KIND=jprb)               :: zhook_handle
18
19      CHARACTER(LEN=*), PARAMETER :: RoutineName='TRD_TRC'
20
21      IF (lhook) CALL dr_hook(RoutineName,zhook_in,zhook_handle)
22
23      WRITE(*,*) 'trd_trc : You should not have seen this print! error?', ptrtrd(1,1,1)
24      WRITE(*,*) '  "      "      : You should not have seen this print! error?', kjn, ktrd, kt
25      IF (lhook) CALL dr_hook(RoutineName,zhook_out,zhook_handle)
26   END SUBROUTINE trd_trc
27
28   !!----------------------------------------------------------------------
29   !! NEMO/OPA 3.3 , NEMO Consortium (2010)
30   !! $Id$
31   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
32   !!======================================================================
33END MODULE trdtrc
34#endif
Note: See TracBrowser for help on using the repository browser.