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/2012/dev_LOCEAN_UKMO_2012/NEMOGCM/NEMO/TOP_SRC/PISCES – NEMO

source: branches/2012/dev_LOCEAN_UKMO_2012/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90 @ 3653

Last change on this file since 3653 was 3653, checked in by cetlod, 11 years ago

commit the changes from LOCEAN & UKMO merge, see ticket #1021

  • Property svn:keywords set to Id
File size: 2.9 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   !!----------------------------------------------------------------------
9#if defined key_pisces || defined key_pisces_reduced
10   !!----------------------------------------------------------------------
11   !!   'key_pisces'                                       PISCES bio-model
12   !!----------------------------------------------------------------------
13   !!   trcsms_pisces        :  Time loop of passive tracers sms
14   !!----------------------------------------------------------------------
15   USE par_pisces
16   USE p4zsms
17   USE p2zsms
18
19   IMPLICIT NONE
20   PRIVATE
21
22   PUBLIC   trc_sms_pisces    ! called in trcsms.F90
23   !!----------------------------------------------------------------------
24   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
25   !! $Id$
26   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
27   !!----------------------------------------------------------------------
28
29CONTAINS
30
31      !!----------------------------------------------------------------------
32      !!                   ***  ROUTINE trc_ini_pisces ***
33      !!
34      !! ** Purpose :   Initialisation of the PISCES biochemical model
35      !!----------------------------------------------------------------------
36
37
38   SUBROUTINE trc_sms_pisces( kt )
39      !!---------------------------------------------------------------------
40      !!                     ***  ROUTINE trc_sms_pisces  ***
41      !!
42      !! ** Purpose :   Managment of the call to Biological sources and sinks
43      !!                routines of PISCES or LOBSTER bio-model
44      !!
45      !!---------------------------------------------------------------------
46      !
47      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
48      !!---------------------------------------------------------------------
49      !
50      IF( lk_p4z ) THEN  ;   CALL p4z_sms( kt )   !  PISCES
51      ELSE               ;   CALL p2z_sms( kt )   !  LOBSTER
52      ENDIF
53      !
54   END SUBROUTINE trc_sms_pisces
55
56#else
57   !!======================================================================
58   !!  Dummy module :                                   No PISCES bio-model
59   !!======================================================================
60CONTAINS
61   SUBROUTINE trc_sms_pisces( kt )                   ! Empty routine
62      INTEGER, INTENT( in ) ::   kt
63      WRITE(*,*) 'trc_sms_pisces: You should not have seen this print! error?', kt
64   END SUBROUTINE trc_sms_pisces
65#endif 
66
67   !!======================================================================
68END MODULE trcsms_pisces 
Note: See TracBrowser for help on using the repository browser.