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