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 branches/dev_001_GM/NEMO/TOP_SRC/MY_TRC – NEMO

source: branches/dev_001_GM/NEMO/TOP_SRC/MY_TRC/trclsm_my_trc.F90 @ 768

Last change on this file since 768 was 768, checked in by gm, 16 years ago

dev_001_GM - create 1 trclsm_ module by trc model (CFC, LOBSTER, PISCES..) + some bug corrections

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   USE sms             ! sms trends
18
19   IMPLICIT NONE
20   PRIVATE
21
22   PUBLIC   trc_lsm_my_trc   ! called by trclsm.F90 module
23
24   !!----------------------------------------------------------------------
25   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
26   !! $Id: $
27   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
28   !!----------------------------------------------------------------------
29
30CONTAINS
31
32   SUBROUTINE trc_lsm_my_trc
33      !!----------------------------------------------------------------------
34      !!                     ***  trc_lsm_my_trc  *** 
35      !!
36      !! ** Purpose :   read MY_TRC namelist
37      !!
38      !! ** input   :   file 'namelist.trc.sms' containing the following
39      !!             namelist: natbio, natopt, and natdbi ("key_trc_diabio")
40      !!----------------------------------------------------------------------
41      !!----------------------------------------------------------------------
42      !
43      IF(lwp) WRITE(numout,*)
44      IF(lwp) WRITE(numout,*) ' trc_lsm_my_trc : read MY_TRC namelists'
45      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~~'
46      !
47   END SUBROUTINE trc_lsm_my_trc
48   
49#else
50   !!----------------------------------------------------------------------
51   !!  Dummy module :                                             No MY_TRC
52   !!----------------------------------------------------------------------
53CONTAINS
54   SUBROUTINE trc_lsm_my_trc                      ! Empty routine
55   END  SUBROUTINE  trc_lsm_my_trc
56#endif 
57
58   !!======================================================================
59END MODULE trclsm_my_trc
Note: See TracBrowser for help on using the repository browser.