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

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

CL + CE : NEMO TRC_SRC start

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1C $Id$
2CDIR$ LIST
3      SUBROUTINE trcsms( kt )
4CCC---------------------------------------------------------------------
5CCC
6CCC                       ROUTINE trcsms
7CCC                     *****************
8CCC
9CCC  PURPOSE :
10CCC  ---------
11CCC   time loop of opa for passive tracer
12CCC
13CC   METHOD :
14CC   -------
15CC      compute the well/spring evolution
16CC
17CC   INPUT :
18CC   -----
19CC      argument
20CC              ktask           : task identificator
21CC              kt              : time step
22CC      COMMON
23CC    all the COMMON defined in opa
24CC
25CC
26CC   OUTPUT :        : no
27CC   ------
28CC
29CC   WORKSPACE :
30CC   ---------
31CC
32CC   EXTERNAL :
33CC   --------
34CC      trcbio, trcsed, trcopt for NPZD or LOBSTER1 models
35CC
36CC      h3cprg for HAMOC3 and P3ZD models
37CC
38CC
39CC   MODIFICATIONS:
40CC   --------------
41CC      original  : 96-11
42CC      additions : 99-07 (M. Levy)
43CC                  04-00 (O. Aumont, M.A. Foujols) HAMOCC3 and P3ZD
44CC                  12-00 (O. Aumont, E. Kestenare) add trcexp for 
45CC                                                 instantaneous export
46CC----------------------------------------------------------------------
47CC parameters and commons
48CC ======================
49CDIR$ NOLIST
50      USE oce_trc
51      USE trc
52      IMPLICIT NONE
53CDIR$ LIST
54CC----------------------------------------------------------------------
55CC local declarations
56CC ==================
57      INTEGER kt
58
59#if defined key_passivetrc
60C
61CCC---------------------------------------------------------------------
62CCC  OPA8, LODYC (15/11/96)
63CCC---------------------------------------------------------------------
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.