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.npzd.h in trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/trcctl.npzd.h @ 247

Last change on this file since 247 was 247, checked in by opalod, 19 years ago

CL : Add CVS Header and CeCILL licence information

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1
2CCC $Header$ 
3CCC  TOP 1.0 , LOCEAN-IPSL (2005) 
4C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
5C ---------------------------------------------------------------------------
6C $Id$
7CCC
8CCC Modifications:
9CCC --------------
10CCC    00-12 (E. Kestenare): 
11CCC           assign a parameter to name individual tracers
12CCC    01-02 (E. Kestenare):
13CCC           introduce jpno3 instead of jpnut
14
15CCC
16c
17#if defined key_trc_npzd
18      IF(lwp) THEN
19          WRITE(numout,*) ' use NPZD biological model '
20          WRITE(numout,*) ' '
21      ENDIF
22c
23c Check number of tracers
24c -----------------------
25      IF (jptra.ne.4) THEN
26          IF (lwp) THEN
27              WRITE (numout,*) ' ===>>>> : w a r n i n g '
28              WRITE (numout,*) ' =======   ============= '
29              WRITE (numout,*)
30     $            ' STOP, change jptra to 4 in '
31     $            ,'parameter.passivetrc.npzd.h ' 
32          END IF
33          STOP 'TRCCTL'
34      END IF
35c
36c Check tracer names
37c ------------------
38      IF ((ctrcnm(jpdet).ne.'DET').OR.(ctrcnm(jpzoo).ne.'ZOO')
39     $    .or.(ctrcnm(jpphy).ne.'PHY').or.(ctrcnm(jpno3).ne.'NUT')
40     $    .or.(ctrcnl(jpdet).ne.'DETRITUS')
41     $    .or.(ctrcnl(jpzoo).ne.'ZOOPLANKTON')
42     $    .or.(ctrcnl(jpphy).ne.'PHYTOPLANKTON')
43     $    .or.(ctrcnl(jpno3).ne.'NUTRIENTS')) THEN
44          ctrcnm(jpdet)='DET'
45          ctrcnl(jpdet)='DETRITUS'
46          ctrcnm(jpzoo)='ZOO'
47          ctrcnl(jpzoo)='ZOOPLANKTON'
48          ctrcnm(jpphy)='PHY'
49          ctrcnl(jpphy)='PHYTOPLANKTON'
50          ctrcnm(jpno3)='NUT'
51          ctrcnl(jpno3)='NUTRIENTS'
52   
53          IF (lwp) THEN
54              WRITE (numout,*) ' ===>>>> : w a r n i n g '
55              WRITE (numout,*) ' =======   ============= '
56              WRITE (numout,*) ' we force tracer names'
57              DO jn=1,jptra
58                WRITE(numout,*) ' tracer nb: ',jn,' name = ',ctrcnm(jn)
59     $              ,ctrcnl(jn) 
60              END DO
61              WRITE(numout,*) ' '
62          ENDIF
63      ENDIF
64c Check tracer units
65      DO jn=1,jptra
66        IF (ctrcun(jn).ne.'mmole/m3') THEN
67            ctrcun(jn)='mmole/m3'
68            IF (lwp) THEN
69                WRITE (numout,*) ' ===>>>> : w a r n i n g '
70                WRITE (numout,*) ' =======   ============= '
71                WRITE (numout,*) ' we force tracer unit'
72                WRITE(numout,*) ' tracer  ',ctrcnm(jn), 'UNIT= '
73     $              ,ctrcun(jn)
74                WRITE(numout,*) ' '
75            ENDIF
76        ENDIF
77      END DO             
78#endif
Note: See TracBrowser for help on using the repository browser.