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_pisces.F90 in trunk/NEMO/TOP_SRC/PISCES – NEMO

source: trunk/NEMO/TOP_SRC/PISCES/trcctl_pisces.F90 @ 2423

Last change on this file since 2423 was 2423, checked in by cetlod, 13 years ago

v3.2:use of standard print control in TOP

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1MODULE trcctl_pisces
2   !!======================================================================
3   !!                         ***  trcctl_pisces.F90  ***
4   !! TOP :                Control of PISCES 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_pisces
11
12   USE oce_trc
13   USE trc
14
15
16   IMPLICIT NONE
17   PRIVATE
18
19   PUBLIC trc_ctl_pisces     ! 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_pisces
31      !!----------------------------------------------------------------------
32      !!                     ***  ROUTINE trc_ctl_pisces  ***
33      !!
34      !! ** Purpose :   control the cpp options, namelist and files
35      !!----------------------------------------------------------------------
36
37      IF(lwp) WRITE(numout,*)
38      IF(lwp) WRITE(numout,*) ' use PISCES biological model '
39
40   ! Check number of tracers
41   ! -----------------------
42#if  defined key_kriest
43      IF( jp_pisces /= 23) CALL ctl_stop( ' PISCES must have 23 passive tracers. Change jp_pisces in par_pisces.F90' )
44#else
45      IF( jp_pisces /= 24) CALL ctl_stop( ' PISCES must have 24 passive tracers. Change jp_pisces in par_pisces.F90' )
46#endif
47
48   END SUBROUTINE trc_ctl_pisces
49
50#else
51   !!----------------------------------------------------------------------
52   !!  Empty module :                                            No PISCES
53   !!----------------------------------------------------------------------
54CONTAINS
55   SUBROUTINE trc_ctl_pisces                 ! Dummy routine
56   END SUBROUTINE trc_ctl_pisces
57#endif
58
59   !!======================================================================
60END MODULE trcctl_pisces
Note: See TracBrowser for help on using the repository browser.