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

source: branches/CNRS/dev_r6270_PISCES_QUOTA/NEMOGCM/NEMO/TOP_SRC/PISCES/trcsms_pisces.F90 @ 8003

Last change on this file since 8003 was 6453, checked in by aumont, 8 years ago

New developments of PISCES (QUOTA, ligands, lability, ...)

  • Property svn:keywords set to Id
File size: 3.1 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
[6453]8   !!             3.6  !  2015-05  (O. Aumont) PISCES quota
[935]9   !!----------------------------------------------------------------------
[6453]10#if defined key_pisces || defined key_pisces_reduced || defined key_pisces_quota
[935]11   !!----------------------------------------------------------------------
[6453]12   !!   'key_pisces*'                                       PISCES bio-model
[935]13   !!----------------------------------------------------------------------
14   !!   trcsms_pisces        :  Time loop of passive tracers sms
15   !!----------------------------------------------------------------------
[3680]16   USE par_pisces
[6453]17   USE p5zsms
[3680]18   USE p4zsms
19   USE p2zsms
[935]20
21   IMPLICIT NONE
22   PRIVATE
23
24   PUBLIC   trc_sms_pisces    ! called in trcsms.F90
25   !!----------------------------------------------------------------------
[2528]26   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
[1152]27   !! $Id$
[2528]28   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
[935]29   !!----------------------------------------------------------------------
30
31CONTAINS
32
[3680]33      !!----------------------------------------------------------------------
34      !!                   ***  ROUTINE trc_ini_pisces ***
35      !!
36      !! ** Purpose :   Initialisation of the PISCES biochemical model
37      !!----------------------------------------------------------------------
38
39
[935]40   SUBROUTINE trc_sms_pisces( kt )
41      !!---------------------------------------------------------------------
42      !!                     ***  ROUTINE trc_sms_pisces  ***
43      !!
44      !! ** Purpose :   Managment of the call to Biological sources and sinks
[3680]45      !!                routines of PISCES or LOBSTER bio-model
[935]46      !!
47      !!---------------------------------------------------------------------
[2715]48      !
[935]49      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
50      !!---------------------------------------------------------------------
[3294]51      !
[6453]52      SELECT CASE ( nn_p4z )
[4147]53
[6453]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
[3294]60      !
[1287]61   END SUBROUTINE trc_sms_pisces
[1185]62
[935]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.