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

source: trunk/NEMO/TOP_SRC/SMS/trcctl.p3zd.h90 @ 262

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

nemo_v1_update_005:RB+OA: Update and rewritting of (part of) the TOP component.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1! $Id$
2#if defined key_trc_p3zd
3      IF(lwp) THEN
4          WRITE(numout,*) ' use P3ZD biological model '
5          WRITE(numout,*) ' '
6      ENDIF
7
8! Check number of tracers
9! -----------------------
10#    if defined key_trc_biohamocc13
11      IF (jptra /= 11) THEN
12#    else
13      IF (jptra /= 10) THEN
14#    endif
15          IF (lwp) THEN
16              WRITE (numout,*) ' ===>>>> : w a r n i n g '
17              WRITE (numout,*) ' =======   ============= '
18              WRITE (numout,*)                                            &
19              &   ' STOP, change jptra to 10 or 11 key_trc_biohamocc13',  &
20              &   ' in parameter.passivetrc.p3zd.h ' 
21          END IF
22          STOP 'TRC_CTL'
23      END IF
24
25! check consistency of key_trc_hamocc3 and key_trc_p3zd
26! ------------------------------------------------------
27#    if !defined key_trc_hamocc3
28      IF (lwp) THEN
29          WRITE (numout,*) ' ===>>>> : w a r n i n g '
30          WRITE (numout,*) ' =======   ============= '
31          WRITE (numout,*)             &
32          &   ' STOP, key_trc_p3zd  requires  key_trc_hamocc3'
33      END IF
34      STOP 'TRC_CTL'
35#    endif
36
37#    if defined key_trc_diaadd
38      IF ( jpdia2d /= 12 .AND. jpdia3d /= 1 ) THEN
39          IF (lwp) THEN
40              WRITE (numout,*) ' ===>>>> : w a r n i n g '
41              WRITE (numout,*) ' =======   ============= '
42              WRITE (numout,*)                                    &
43              &   ' STOP, change jpdia2d to 12 and jpdia3d to 1'  &
44              &   ,' in parameter.passivetrc.h '                  &
45              &   ,' (key_trc_p3zd and key_trc_diaadd)'
46          END IF
47          STOP 'TRC_CTL'
48      END IF
49#    endif
50#endif
Note: See TracBrowser for help on using the repository browser.