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.F in trunk/NEMO/TOP_SRC – NEMO

source: trunk/NEMO/TOP_SRC/trcsms.F @ 247

Last change on this file since 247 was 247, checked in by opalod, 19 years ago

CL : Add CVS Header and CeCILL licence information

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1CCC $Header$ 
2CCC  TOP 1.0 , LOCEAN-IPSL (2005) 
3C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt 
4C ---------------------------------------------------------------------------
5CDIR$ LIST
6      SUBROUTINE trcsms( kt )
7CCC---------------------------------------------------------------------
8CCC
9CCC                       ROUTINE trcsms
10CCC                     *****************
11CCC
12CCC  PURPOSE :
13CCC  ---------
14CCC   time loop of opa for passive tracer
15CCC
16CC   METHOD :
17CC   -------
18CC      compute the well/spring evolution
19CC
20CC   INPUT :
21CC   -----
22CC      argument
23CC              ktask           : task identificator
24CC              kt              : time step
25CC      COMMON
26CC    all the COMMON defined in opa
27CC
28CC
29CC   OUTPUT :        : no
30CC   ------
31CC
32CC   WORKSPACE :
33CC   ---------
34CC
35CC   EXTERNAL :
36CC   --------
37CC      trcbio, trcsed, trcopt for NPZD or LOBSTER1 models
38CC
39CC      h3cprg for HAMOC3 and P3ZD models
40CC
41CC
42CC   MODIFICATIONS:
43CC   --------------
44CC      original  : 96-11
45CC      additions : 99-07 (M. Levy)
46CC                  04-00 (O. Aumont, M.A. Foujols) HAMOCC3 and P3ZD
47CC                  12-00 (O. Aumont, E. Kestenare) add trcexp for 
48CC                                                 instantaneous export
49CC----------------------------------------------------------------------
50CC parameters and commons
51CC ======================
52CDIR$ NOLIST
53      USE oce_trc
54      USE trc
55      IMPLICIT NONE
56CDIR$ LIST
57CC----------------------------------------------------------------------
58CC local declarations
59CC ==================
60      INTEGER kt
61
62#if defined key_passivetrc
63C
64C
65C
66C this ROUTINE is called only every ndttrc time step
67C
68
69      IF (mod(kt,ndttrc) .NE. 0) RETURN
70C
71C this first routines are parallelized on vertical slab
72C
73C
74#    if defined key_trc_npzd || defined key_trc_lobster1
75C
76C tracers: optical model
77C ----------------------
78C
79       CALL trcopt( kt)
80C
81C tracers: biological model
82C -------------------------
83C
84       CALL trcbio( kt)
85C
86C tracers: sedimentation model
87C ----------------------------
88C
89       CALL trcsed(kt)
90       CALL trcexp
91C
92#    elif defined key_trc_hamocc3
93C
94C    h3cprg: main PROGRAM for HAMOCC3 or P3ZD models
95C    -----------------------------------------------
96       CALL h3cprg(kt)
97#    elif defined key_trc_pisces
98C
99C    p4zprg: main PROGRAM for PISCES 
100C    -------------------------------
101       CALL p4zprg(kt)
102#    else
103C
104C SMS to DO
105C
106#if defined key_cfc
107C
108C   CFC's code taken from K. Rodgers
109C
110C   This part is still experimental
111C   -------------------------------
112C
113       CALL trcfreons(kt)
114C
115#elif defined key_gosac
116C
117C    C14 tracer modeled according to the OCMIP protocol
118C    This part has not been really tested in this configuration
119C
120C Compute the alkalinity
121C
122          CALL alkal(kt)
123C
124C  Compute the radioactive decay
125C
126          CALL decay
127C
128C Tracers: surface flux
129C
130          CALL dicgasflux(kt)
131
132#    endif
133
134#    endif
135
136# if defined key_trc_age
137C
138C Age Tracer 
139C
140          CALL trcage(kt)
141
142# endif
143
144#else
145C
146C no passive tracers
147C
148#endif
149C
150
151      RETURN
152      END
Note: See TracBrowser for help on using the repository browser.