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/UKMO/r6232_tracer_advection/NEMOGCM/NEMO/TOP_SRC/PISCES – NEMO

source: branches/UKMO/r6232_tracer_advection/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90 @ 9295

Last change on this file since 9295 was 9295, checked in by jcastill, 6 years ago

Remove svn keywords

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