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.
p2zsms.F90 in trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/P2Z – NEMO

source: trunk/NEMOGCM/NEMO/TOP_SRC/PISCES/P2Z/p2zsms.F90 @ 7681

Last change on this file since 7681 was 7681, checked in by cetlod, 7 years ago

Remove unused routines trd_mld_bio etc ...

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1MODULE p2zsms
2   !!======================================================================
3   !!                         ***  MODULE p2zsms  ***
4   !! TOP :   Time loop of LOBSTER model
5   !!======================================================================
6   !! History :   1.0  !            M. Levy
7   !!             2.0  !  2007-12  (C. Ethe, G. Madec)  revised architecture
8   !!----------------------------------------------------------------------
9   !!   p2zsms        :  Time loop of passive tracers sms
10   !!----------------------------------------------------------------------
11   USE oce_trc          !
12   USE trc
13   USE sms_pisces
14   USE p2zbio
15   USE p2zopt
16   USE p2zsed
17   USE p2zexp
18   USE trd_oce
19   USE trdtrc_oce
20   USE trdtrc
21   USE trdmxl_trc
22
23   IMPLICIT NONE
24   PRIVATE
25
26   PUBLIC   p2z_sms    ! called in p2zsms.F90
27
28   !!----------------------------------------------------------------------
29   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
30   !! $Id$
31   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
32   !!----------------------------------------------------------------------
33CONTAINS
34
35   SUBROUTINE p2z_sms( kt )
36      !!---------------------------------------------------------------------
37      !!                     ***  ROUTINE p2z_sms  ***
38      !!
39      !! ** Purpose :  Managment of the call to Biological sources and sinks
40      !!               routines of LOBSTER bio-model
41      !!
42      !! ** Method  : - ???
43      !! --------------------------------------------------------------------
44      !!
45      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
46      !
47      INTEGER :: jn
48      !! --------------------------------------------------------------------
49      !
50      IF( nn_timing == 1 )  CALL timing_start('p2z_sms')
51      !
52      CALL p2z_opt( kt )      ! optical model
53      CALL p2z_bio( kt )      ! biological model
54      CALL p2z_sed( kt )      ! sedimentation model
55      CALL p2z_exp( kt )      ! export
56
57      IF( l_trdtrc ) THEN
58         DO jn = jp_pcs0, jp_pcs1
59           CALL trd_trc( tra(:,:,:,jn), jn, jptra_sms, kt )   ! save trends
60         END DO
61      END IF
62
63      !
64      IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH    ( numonp )     ! flush output namelist PISCES
65      IF( nn_timing == 1 )  CALL timing_stop('p2z_sms')
66      !
67   END SUBROUTINE p2z_sms
68
69   !!======================================================================
70END MODULE p2zsms
Note: See TracBrowser for help on using the repository browser.