1 | MODULE 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 | |
---|
28 | CONTAINS |
---|
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 | !!---------------------------------------------------------------------- |
---|
54 | CONTAINS |
---|
55 | SUBROUTINE trc_ctl_pisces ! Dummy routine |
---|
56 | END SUBROUTINE trc_ctl_pisces |
---|
57 | #endif |
---|
58 | |
---|
59 | !!====================================================================== |
---|
60 | END MODULE trcctl_pisces |
---|