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.
trcnam_my_trc.F90 in branches/UKMO/dev_r10171_test_crs_AMM7/NEMOGCM/NEMO/TOP_SRC/MY_TRC – NEMO

source: branches/UKMO/dev_r10171_test_crs_AMM7/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcnam_my_trc.F90 @ 10207

Last change on this file since 10207 was 10207, checked in by cmao, 6 years ago

remove svn keyword

File size: 2.5 KB
Line 
1MODULE trcnam_my_trc
2   !!======================================================================
3   !!                      ***  MODULE trcnam_my_trc  ***
4   !! TOP :   initialisation of some run parameters for MY_TRC bio-model
5   !!======================================================================
6   !! History :   2.0  !  2007-12  (C. Ethe, G. Madec) Original code
7   !!----------------------------------------------------------------------
8#if defined key_my_trc
9   !!----------------------------------------------------------------------
10   !!   'key_my_trc'   :                                       MY_TRC model
11   !!----------------------------------------------------------------------
12   !! trc_nam_my_trc      : MY_TRC model initialisation
13   !!----------------------------------------------------------------------
14   USE oce_trc         ! Ocean variables
15   USE par_trc         ! TOP parameters
16   USE trc             ! TOP variables
17
18   IMPLICIT NONE
19   PRIVATE
20
21   PUBLIC   trc_nam_my_trc   ! called by trcnam.F90 module
22
23   !!----------------------------------------------------------------------
24   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
25   !! $Id$
26   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
27   !!----------------------------------------------------------------------
28
29CONTAINS
30
31   SUBROUTINE trc_nam_my_trc
32      !!----------------------------------------------------------------------
33      !!                     ***  trc_nam_my_trc  *** 
34      !!
35      !! ** Purpose :   read MY_TRC namelist
36      !!
37      !!----------------------------------------------------------------------
38      INTEGER :: jn
39      !
40      IF(lwp) WRITE(numout,*)
41      IF(lwp) WRITE(numout,*) ' trc_nam_my_trc : read MY_TRC namelists'
42      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~~'
43      !
44      do jn = jp_myt0 , jp_myt1
45         ctrcnm    (jn) = 'NONAME'
46         ctrcln    (jn) = 'NO Long Name'
47         ctrcun    (jn) = 'NOUNIT'
48         ln_trc_ini(jn) = .false.
49         ln_trc_wri(jn) = .true.
50      enddo
51      !
52      END SUBROUTINE trc_nam_my_trc
53   
54#else
55   !!----------------------------------------------------------------------
56   !!  Dummy module :                                             No MY_TRC
57   !!----------------------------------------------------------------------
58CONTAINS
59   SUBROUTINE trc_nam_my_trc                      ! Empty routine
60   END  SUBROUTINE  trc_nam_my_trc
61#endif 
62
63   !!======================================================================
64END MODULE trcnam_my_trc
Note: See TracBrowser for help on using the repository browser.