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

Last change on this file since 4990 was 4990, checked in by timgraham, 9 years ago

Merged branches/2014/dev_MERGE_2014 back onto the trunk as follows:

In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
1 conflict in LIM_SRC_3/limdiahsb.F90
Resolved by keeping the version from dev_MERGE_2014 branch
and commited at r4989

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2014/dev_MERGE_2014
to merge the branch into the trunk - no conflicts at this stage.

File size: 3.2 KB
RevLine 
[3443]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#if defined key_pisces_reduced
10   !!----------------------------------------------------------------------
11   !!   'key_pisces_reduced'                              LOBSTER bio-model
12   !!----------------------------------------------------------------------
13   !!   p2zsms        :  Time loop of passive tracers sms
14   !!----------------------------------------------------------------------
15   USE oce_trc          !
16   USE trc
[4147]17   USE sms_pisces
[3443]18   USE p2zbio
19   USE p2zopt
20   USE p2zsed
21   USE p2zexp
[4990]22   USE trd_oce
23   USE trdtrc_oce
24   USE trdtrc
25   USE trdmxl_trc
[3443]26
27   IMPLICIT NONE
28   PRIVATE
29
30   PUBLIC   p2z_sms    ! called in p2zsms.F90
31
32   !!----------------------------------------------------------------------
33   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
34   !! $Id: p2zsms.F90 3294 2012-01-28 16:44:18Z rblod $
35   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
36   !!----------------------------------------------------------------------
37CONTAINS
38
39   SUBROUTINE p2z_sms( kt )
40      !!---------------------------------------------------------------------
41      !!                     ***  ROUTINE p2z_sms  ***
42      !!
43      !! ** Purpose :  Managment of the call to Biological sources and sinks
44      !!               routines of LOBSTER bio-model
45      !!
46      !! ** Method  : - ???
47      !! --------------------------------------------------------------------
48      !!
49      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
50      !
51      INTEGER :: jn
52      !! --------------------------------------------------------------------
53      !
54      IF( nn_timing == 1 )  CALL timing_start('p2z_sms')
55      !
56      CALL p2z_opt( kt )      ! optical model
57      CALL p2z_bio( kt )      ! biological model
58      CALL p2z_sed( kt )      ! sedimentation model
59      CALL p2z_exp( kt )      ! export
60
61      IF( l_trdtrc ) THEN
62         DO jn = jp_pcs0, jp_pcs1
[4990]63           CALL trd_trc( tra(:,:,:,jn), jn, jptra_sms, kt )   ! save trends
[3443]64         END DO
65      END IF
66
[4990]67      IF( lk_trdmxl_trc )  CALL trd_mxl_bio( kt )   ! trends: Mixed-layer
[3443]68      !
[4624]69      IF ( lwm .AND. kt == nittrc000 ) CALL FLUSH    ( numonp )     ! flush output namelist PISCES
[3443]70      IF( nn_timing == 1 )  CALL timing_stop('p2z_sms')
71      !
72   END SUBROUTINE p2z_sms
73
74#else
75   !!======================================================================
76   !!  Dummy module :                                     No passive tracer
77   !!======================================================================
78CONTAINS
79   SUBROUTINE p2z_sms( kt )                   ! Empty routine
80      INTEGER, INTENT( in ) ::   kt
81      WRITE(*,*) 'p2z_sms: You should not have seen this print! error?', kt
82   END SUBROUTINE p2z_sms
83#endif 
84
85   !!======================================================================
86END MODULE  p2zsms
Note: See TracBrowser for help on using the repository browser.