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

Last change on this file was 11749, checked in by marc, 5 years ago

Fix to OPA_SRC/TRD/trdtrc.F90, so I can run just the physical ocean with Dr Hook

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