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.
trcctl_my_trc.F90 in branches/TAM_V3_0/NEMO/TOP_SRC/MY_TRC – NEMO

source: branches/TAM_V3_0/NEMO/TOP_SRC/MY_TRC/trcctl_my_trc.F90 @ 3588

Last change on this file since 3588 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.0 KB
Line 
1MODULE trcctl_my_trc
2   !!======================================================================
3   !!                         ***  trcctl_my_trc.F90  ***
4   !! TOP :                Control of MY_TRC biogeochemical model
5   !!======================================================================
6   !!----------------------------------------------------------------------
7   !! History :   1.0  !  2000-12 (C. Ethe) assign a parameter to name individual tracers
8   !!----------------------------------------------------------------------
9
10#if defined key_my_trc
11
12   USE oce_trc
13   USE trc
14
15
16   IMPLICIT NONE
17   PRIVATE
18
19   PUBLIC trc_ctl_my_trc     ! called by ???
20
21
22   !!----------------------------------------------------------------------
23   !! NEMO/TOP 1.0 , LOCEAN-IPSL (2005)
24   !! $Id$
25   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
26   !!----------------------------------------------------------------------
27
28CONTAINS
29
30   SUBROUTINE trc_ctl_my_trc
31      !!----------------------------------------------------------------------
32      !!                     ***  ROUTINE trc_ctl_pisces  ***
33      !!
34      !! ** Purpose :   control the cpp options, namelist and files
35      !!----------------------------------------------------------------------
36
37      INTEGER :: jn
38
39      IF(lwp) WRITE(numout,*)
40      IF(lwp) WRITE(numout,*) ' use COLOR tracer '
41
42      DO jn = jp_myt0, jp_myt1
43         WRITE(ctrcnm(jn),'(a,i2.2)') 'CLR',jn
44         ctrcnl(jn)='Color concentration'
45         ctrcun(jn)='N/A'
46      END DO
47
48
49   END SUBROUTINE trc_ctl_my_trc
50
51#else
52   !!----------------------------------------------------------------------
53   !!  Empty module :                                            No PISCES
54   !!----------------------------------------------------------------------
55CONTAINS
56   SUBROUTINE trc_ctl_my_trc               ! Dummy routine
57   END SUBROUTINE trc_ctl_my_trc
58#endif
59
60   !!======================================================================
61END MODULE trcctl_my_trc
62     
Note: See TracBrowser for help on using the repository browser.