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/2019/dev_r11351_fldread_with_XIOS/src/TOP/PISCES/P2Z – NEMO

source: NEMO/branches/2019/dev_r11351_fldread_with_XIOS/src/TOP/PISCES/P2Z/p2zsms.F90 @ 13463

Last change on this file since 13463 was 13463, checked in by andmirek, 4 years ago

Ticket #2195:update to trunk 13461

  • 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 4.0 , NEMO Consortium (2018)
32   !! $Id$
33   !! Software governed by the CeCILL license (see ./LICENSE)
34   !!----------------------------------------------------------------------
35CONTAINS
36
37   SUBROUTINE p2z_sms( kt, Kmm, Krhs )
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      INTEGER, INTENT( in ) ::   Kmm, Krhs     ! ocean time level index     
48      !
49      INTEGER ::   jn   ! dummy loop index
50      !! --------------------------------------------------------------------
51      !
52      IF( ln_timing )   CALL timing_start('p2z_sms')
53      !
54      CALL p2z_opt( kt, Kmm       )      ! optical model
55      CALL p2z_bio( kt, Kmm, Krhs )      ! biological model
56      CALL p2z_sed( kt, Kmm, Krhs )      ! sedimentation model
57      CALL p2z_exp( kt, Kmm, Krhs )      ! export
58      !
59      IF( l_trdtrc ) THEN
60         DO jn = jp_pcs0, jp_pcs1
61           CALL trd_trc( tr(:,:,:,jn,Krhs), jn, jptra_sms, kt, Kmm )   ! save trends
62         END DO
63      END IF
64      !
65      IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH    ( numonp )     ! flush output namelist PISCES
66      IF( ln_timing )   CALL timing_stop('p2z_sms')
67      !
68   END SUBROUTINE p2z_sms
69
70   !!======================================================================
71END MODULE p2zsms
Note: See TracBrowser for help on using the repository browser.