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.
trclsm_my_trc.F90 in trunk/NEMO/TOP_SRC/MY_TRC – NEMO

source: trunk/NEMO/TOP_SRC/MY_TRC/trclsm_my_trc.F90 @ 1162

Last change on this file since 1162 was 1162, checked in by cetlod, 16 years ago

add an example of MY_TRC tracer model, see ticket:229

  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1MODULE trclsm_my_trc
2   !!======================================================================
3   !!                      ***  MODULE trclsm_my_trc  ***
4   !! TOP :   initialisation of some run parameters for LOBSTER 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_lsm_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_lsm_my_trc   ! called by trclsm.F90 module
22
23   !!----------------------------------------------------------------------
24   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
25   !! $Id$
26   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
27   !!----------------------------------------------------------------------
28
29CONTAINS
30
31   SUBROUTINE trc_lsm_my_trc
32      !!----------------------------------------------------------------------
33      !!                     ***  trc_lsm_my_trc  *** 
34      !!
35      !! ** Purpose :   read MY_TRC namelist
36      !!
37      !! ** input   :   file 'namelist.trc.sms' containing the following
38      !!             namelist: natbio, natopt, and natdbi ("key_trc_diabio")
39      !!----------------------------------------------------------------------
40      !!----------------------------------------------------------------------
41      !
42      IF(lwp) WRITE(numout,*)
43      IF(lwp) WRITE(numout,*) ' trc_lsm_my_trc : read MY_TRC namelists'
44      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~~'
45      !
46   END SUBROUTINE trc_lsm_my_trc
47   
48#else
49   !!----------------------------------------------------------------------
50   !!  Dummy module :                                             No MY_TRC
51   !!----------------------------------------------------------------------
52CONTAINS
53   SUBROUTINE trc_lsm_my_trc                      ! Empty routine
54   END  SUBROUTINE  trc_lsm_my_trc
55#endif 
56
57   !!======================================================================
58END MODULE trclsm_my_trc
Note: See TracBrowser for help on using the repository browser.