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 @ 7646

Last change on this file since 7646 was 7646, checked in by timgraham, 7 years ago

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

  • Property svn:keywords set to Id
File size: 2.5 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      IF( lk_trdmxl_trc )  CALL trd_mxl_bio( kt )   ! trends: Mixed-layer
64      !
65      IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH    ( numonp )     ! flush output namelist PISCES
66      IF( nn_timing == 1 )  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.