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.
trcsms_pisces.F90 in branches/CNRS/dev_r4826_PISCES_QUOTA/NEMOGCM/NEMO/TOP_SRC/PISCES – NEMO

source: branches/CNRS/dev_r4826_PISCES_QUOTA/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90 @ 5289

Last change on this file since 5289 was 5289, checked in by aumont, 9 years ago

various bug fixes and updates of PISCES quota

  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
1MODULE trcsms_pisces
2   !!======================================================================
3   !!                         ***  MODULE trcsms_pisces  ***
4   !! TOP :   PISCES Source Minus Sink manager
5   !!======================================================================
6   !! History :   1.0  !  2004-03 (O. Aumont) Original code
7   !!             2.0  !  2007-12  (C. Ethe, G. Madec)  F90
8   !!             3.6  !  2015-05  (O. Aumont) PISCES quota
9   !!----------------------------------------------------------------------
10#if defined key_pisces || defined key_pisces_reduced || defined key_pisces_quota
11   !!----------------------------------------------------------------------
12   !!   'key_pisces*'                                       PISCES bio-model
13   !!----------------------------------------------------------------------
14   !!   trcsms_pisces        :  Time loop of passive tracers sms
15   !!----------------------------------------------------------------------
16   USE par_pisces
17   USE p5zsms
18   USE p4zsms
19   USE p2zsms
20
21   IMPLICIT NONE
22   PRIVATE
23
24   PUBLIC   trc_sms_pisces    ! called in trcsms.F90
25   !!----------------------------------------------------------------------
26   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
27   !! $Id$
28   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
29   !!----------------------------------------------------------------------
30
31CONTAINS
32
33      !!----------------------------------------------------------------------
34      !!                   ***  ROUTINE trc_ini_pisces ***
35      !!
36      !! ** Purpose :   Initialisation of the PISCES biochemical model
37      !!----------------------------------------------------------------------
38
39
40   SUBROUTINE trc_sms_pisces( kt )
41      !!---------------------------------------------------------------------
42      !!                     ***  ROUTINE trc_sms_pisces  ***
43      !!
44      !! ** Purpose :   Managment of the call to Biological sources and sinks
45      !!                routines of PISCES or LOBSTER bio-model
46      !!
47      !!---------------------------------------------------------------------
48      !
49      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
50      !!---------------------------------------------------------------------
51      !
52      SELECT CASE ( nn_p4z )
53
54      CASE(1)       ;        CALL p2z_sms( kt )   !  LOBSTER
55      CASE(2)       ;        CALL p4z_sms( kt )   !  PISCES
56      CASE(3)       ;        CALL p5z_sms( kt )   !  PISCES with variable stoichiometry
57
58      END SELECT
59
60      !
61   END SUBROUTINE trc_sms_pisces
62
63#else
64   !!======================================================================
65   !!  Dummy module :                                   No PISCES bio-model
66   !!======================================================================
67CONTAINS
68   SUBROUTINE trc_sms_pisces( kt )                   ! Empty routine
69      INTEGER, INTENT( in ) ::   kt
70      WRITE(*,*) 'trc_sms_pisces: You should not have seen this print! error?', kt
71   END SUBROUTINE trc_sms_pisces
72#endif 
73
74   !!======================================================================
75END MODULE trcsms_pisces 
Note: See TracBrowser for help on using the repository browser.