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

source: trunk/NEMO/TOP_SRC/MY_TRC/trcctl_my_trc.F90 @ 2399

Last change on this file since 2399 was 2050, checked in by cetlod, 14 years ago

change loop indice jn to jl in trcctl_my_trc.F90, see ticket:691

  • Property svn:keywords set to Id
File size: 2.0 KB
RevLine 
[1069]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)
[1146]24   !! $Id$
[1069]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
[1255]37      INTEGER :: jl, jn
[1162]38
[1069]39      IF(lwp) WRITE(numout,*)
[1162]40      IF(lwp) WRITE(numout,*) ' use COLOR tracer '
[1069]41
[2050]42      DO jl = 1, jp_my_trc
[1255]43         jn = jp_myt0 + jl - 1
[1162]44         WRITE(ctrcnm(jn),'(a,i2.2)') 'CLR',jn
45         ctrcnl(jn)='Color concentration'
46         ctrcun(jn)='N/A'
47      END DO
[1069]48
[1162]49
[1069]50   END SUBROUTINE trc_ctl_my_trc
51
52#else
53   !!----------------------------------------------------------------------
54   !!  Empty module :                                            No PISCES
55   !!----------------------------------------------------------------------
56CONTAINS
57   SUBROUTINE trc_ctl_my_trc               ! Dummy routine
58   END SUBROUTINE trc_ctl_my_trc
59#endif
60
61   !!======================================================================
62END MODULE trcctl_my_trc
Note: See TracBrowser for help on using the repository browser.