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 @ 186

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

CL + CE : NEMO TRC_SRC start

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