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 NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/TOP/PISCES/P2Z – NEMO

source: NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/TOP/PISCES/P2Z/p2zsms.F90 @ 9939

Last change on this file since 9939 was 9939, checked in by gm, 6 years ago

#1911 (ENHANCE-04): RK3 branche phased with MLF@9937 branche

  • Property svn:keywords set to Id
File size: 2.6 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
10   !!----------------------------------------------------------------------
11   !!   p2zsms        :  Time loop of passive tracers sms
12   !!----------------------------------------------------------------------
13   USE oce_trc        !
14   USE trc            !
15   USE sms_pisces     !
16   USE p2zbio         !
17   USE p2zopt         !
18   USE p2zsed         !
19   USE p2zexp         !
20   USE trd_oce        !
21   USE trdtrc_oce     !
22   USE trdtrc         !
23   USE trdmxl_trc     !
24
25   IMPLICIT NONE
26   PRIVATE
27
28   PUBLIC   p2z_sms    ! called in p2zsms.F90
29
30   !!----------------------------------------------------------------------
31   !! NEMO/TOP 3.3 , NEMO Consortium (2018)
32   !! $Id$
33   !! Software governed by the CeCILL licence     (./LICENSE)
34   !!----------------------------------------------------------------------
35CONTAINS
36
37   SUBROUTINE p2z_sms( kt )
38      !!---------------------------------------------------------------------
39      !!                     ***  ROUTINE p2z_sms  ***
40      !!
41      !! ** Purpose :  Managment of the call to Biological sources and sinks
42      !!               routines of LOBSTER bio-model
43      !!
44      !! ** Method  : - ???
45      !! --------------------------------------------------------------------
46      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
47      !
48      INTEGER ::   jn   ! dummy loop index
49      !! --------------------------------------------------------------------
50      !
51      IF( ln_timing )   CALL timing_start('p2z_sms')
52      !
53      CALL p2z_opt( kt )      ! optical model
54      CALL p2z_bio( kt )      ! biological model
55      CALL p2z_sed( kt )      ! sedimentation model
56      CALL p2z_exp( kt )      ! export
57      !
58      IF( l_trdtrc ) THEN
59         DO jn = jp_pcs0, jp_pcs1
60           CALL trd_trc( tra(:,:,:,jn), jn, jptra_sms, kt )   ! save trends
61         END DO
62      END IF
63      !
64      IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH    ( numonp )     ! flush output namelist PISCES
65      IF( ln_timing )   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.