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.
trcsms_lobster.F90 in trunk/NEMO/TOP_SRC/LOBSTER – NEMO

source: trunk/NEMO/TOP_SRC/LOBSTER/trcsms_lobster.F90 @ 934

Last change on this file since 934 was 934, checked in by cetlod, 16 years ago

adding modules for LOBSTER SMS model, see ticket 140

File size: 2.6 KB
Line 
1MODULE trcsms_lobster
2   !!======================================================================
3   !!                         ***  MODULE trcsms_lobster  ***
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_lobster
10   !!----------------------------------------------------------------------
11   !!   'key_lobster'                                       LOBSTER bio-model
12   !!----------------------------------------------------------------------
13   !!   trcsms_lobster        :  Time loop of passive tracers sms
14   !!----------------------------------------------------------------------
15   USE trcbio
16   USE trcopt
17   USE trcsed
18   USE trcexp
19
20   IMPLICIT NONE
21   PRIVATE
22
23   PUBLIC   trc_sms_lobster    ! called in trcsms.F90
24
25   !!----------------------------------------------------------------------
26   !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)
27   !! $Header:$
28   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
29   !!----------------------------------------------------------------------
30
31CONTAINS
32
33   SUBROUTINE trc_sms_lobster( kt )
34      !!---------------------------------------------------------------------
35      !!                     ***  ROUTINE trc_sms_lobster  ***
36      !!
37      !! ** Purpose :  Managment of the call to Biological sources and sinks
38      !!               routines of LOBSTER bio-model
39      !!
40      !! ** Method  : - ???
41      !! -------------------------------------------------------------------------------------
42      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index     
43      !!
44
45      CALL trc_opt( kt )      ! optical model
46
47      CALL trc_bio( kt )      ! biological model
48
49      CALL trc_sed( kt )      ! sedimentation model
50
51      CALL trc_exp( kt )      ! export
52
53   END SUBROUTINE trc_sms_lobster
54
55#else
56   !!======================================================================
57   !!  Dummy module :                                     No passive tracer
58   !!======================================================================
59CONTAINS
60   SUBROUTINE trc_sms_lobster( kt )                   ! Empty routine
61      INTEGER, INTENT( in ) ::   kt
62      WRITE(*,*) 'trc_sms_lobster: You should not have seen this print! error?', kt
63   END SUBROUTINE trc_sms_lobster
64#endif 
65
66   !!======================================================================
67END MODULE  trcsms_lobster
Note: See TracBrowser for help on using the repository browser.