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.
oce_trc.F90 in branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC – NEMO

source: branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/oce_trc.F90 @ 5105

Last change on this file since 5105 was 5105, checked in by cbricaud, 9 years ago

bug correction

  • Property svn:keywords set to Id
File size: 21.7 KB
Line 
1MODULE oce_trc
2   !!======================================================================
3   !!                      ***  MODULE  oce_trc  ***
4   !! TOP :   variables shared between ocean and passive tracers
5   !!======================================================================
6   !! History :   1.0  !  2004-03  (C. Ethe)  original code
7   !!             2.0  !  2007-12 (C. Ethe, G. Madec)  rewritting
8   !!----------------------------------------------------------------------
9#if defined key_top
10
11#if defined key_crs
12
13  !* Domain size *
14   USE par_oce , ONLY :   jpi      =>   jpi        !: first  dimension of grid --> i
15   USE par_oce , ONLY :   jpj      =>   jpj        !: second dimension of grid --> j 
16   USE par_oce , ONLY :   jpk      =>   jpk        !: number of levels 
17   USE par_oce , ONLY :   jpim1    =>   jpim1      !: jpi - 1
18   USE par_oce , ONLY :   jpjm1    =>   jpjm1      !: jpj - 1
19   USE par_oce , ONLY :   jpkm1    =>   jpkm1      !: jpk - 1 
20   USE par_oce , ONLY :   jpij     =>   jpij       !: jpi x jpj
21   USE par_oce , ONLY :   lk_esopa =>   lk_esopa   !: flag to activate the all option
22   USE par_oce , ONLY :   jp_tem   =>   jp_tem     !: indice for temperature
23   USE par_oce , ONLY :   jp_sal   =>   jp_sal     !: indice for salinity
24
25   !* IO manager *
26   USE in_out_manager
27
28   !* Memory Allocation *
29   USE wrk_nemo
30
31   !* Timing *
32   USE timing, ONLY : timing_start , timing_stop
33
34   !* MPP library                         
35   USE lib_mpp
36
37   !* Fortran utilities                         
38   USE lib_fortran
39
40   !* Lateral boundary conditions                         
41   USE lbclnk
42
43   !* physical constants *
44   USE phycst
45
46   !* 1D configuration
47   USE c1d
48
49   !* model domain *
50   USE dom_oce , ONLY : narea => narea
51   USE dom_oce , ONLY : nproc => nproc
52   USE dom_oce , ONLY : nimpp => nimpp
53   USE dom_oce , ONLY : njmpp => njmpp
54   USE dom_oce , ONLY : nreci => nreci
55   USE dom_oce , ONLY : nrecj => nrecj
56   USE dom_oce , ONLY : nlci  => nlci
57   USE dom_oce , ONLY : nldi  => nldi
58   USE dom_oce , ONLY : nlei  => nlei
59   USE dom_oce , ONLY : nlcj  => nlcj
60   USE dom_oce , ONLY : nldj  => nldj
61   USE dom_oce , ONLY : nlej  => nlej
62   USE dom_oce , ONLY : nlcit  => nlcit
63   USE dom_oce , ONLY : nldit  => nldit
64   USE dom_oce , ONLY : nleit  => nleit
65   USE dom_oce , ONLY : nlcjt  => nlcjt
66   USE dom_oce , ONLY : nldjt  => nldjt
67   USE dom_oce , ONLY : nlejt  => nlejt
68   USE dom_oce , ONLY : nimppt => nimppt
69   USE dom_oce , ONLY : njmppt => njmppt
70   USE dom_oce , ONLY : ibonit => ibonit
71   USE dom_oce , ONLY : ibonjt => ibonjt
72   USE dom_oce , ONLY : lk_vvl => lk_vvl
73   USE dom_oce , ONLY : rdt => rdt
74   USE dom_oce , ONLY : ln_zco => ln_zco
75   USE dom_oce , ONLY : ln_zps => ln_zps
76   USE dom_oce , ONLY : ln_sco => ln_sco
77   USE dom_oce , ONLY : neuler => neuler
78
79   USE crs,  ONLY : mi0 => mi0 
80   USE crs,  ONLY : mi1 => mi1 
81   USE crs,  ONLY : mj0 => mj0 
82   USE crs,  ONLY : mj1 => mj1 
83
84   USE dom_oce , ONLY :  lzoom => lzoom 
85   !USE dom_oce , ONLY :  =>
86
87   !* horizontal mesh *
88   USE crs , ONLY :   glamt      =>   glamt_crs      !: longitude of t-point (degre) 
89   USE crs , ONLY :   glamu      =>   glamu_crs      !: longitude of t-point (degre) 
90   USE crs , ONLY :   glamv      =>   glamv_crs      !: longitude of t-point (degre) 
91   USE crs , ONLY :   glamf      =>   glamf_crs      !: longitude of t-point (degre) 
92   USE crs , ONLY :   gphit      =>   gphit_crs      !: latitude  of t-point (degre)   
93   USE crs , ONLY :   gphiu      =>   gphiu_crs      !: latitude  of t-point (degre)   
94   USE crs , ONLY :   gphiv      =>   gphiv_crs      !: latitude  of t-point (degre)   
95   USE crs , ONLY :   gphif      =>   gphif_crs      !: latitude  of t-point (degre)   
96   USE crs , ONLY :   e1t        =>   e1t_crs        !: horizontal scale factors at t-point (m) 
97   USE crs , ONLY :   e2t        =>   e2t_crs        !: horizontal scale factors at t-point (m)   
98   USE crs , ONLY :   e1e2t      =>   e1e2t_crs      !: cell surface at t-point (m2)
99   USE crs , ONLY :   e1u        =>   e1u_crs        !: horizontal scale factors at u-point (m)
100   USE crs , ONLY :   e2u        =>   e2u_crs        !: horizontal scale factors at u-point (m)
101   USE crs , ONLY :   e1v        =>   e1v_crs        !: horizontal scale factors at v-point (m)
102   USE crs , ONLY :   e2v        =>   e2v_crs        !: horizontal scale factors at v-point (m) 
103   USE crs , ONLY :   e3t        =>  e3t_crs         !: vertical scale factors at t-
104   USE crs , ONLY :   e3t_0      =>  e3t_crs         !: vertical scale factors at t-
105   USE crs , ONLY :   fse3t      =>  e3t_crs
106   USE crs , ONLY :   fse3t_b      =>  e3t_crs
107   USE crs , ONLY :   fse3t_a      =>  e3t_crs
108   USE crs , ONLY :   fse3w      =>  e3w_crs
109   USE crs , ONLY :   e3u        =>  e3u_crs         !: vertical scale factors at u-
110   USE crs , ONLY :   e3u_0      =>  e3u_crs         !: vertical scale factors at u-
111   USE crs , ONLY :   e3v        =>  e3v_crs         !: vertical scale factors v-
112   USE crs , ONLY :   e3v_0      =>  e3v_crs         !: vertical scale factors v-
113   USE crs , ONLY :   e3w        =>  e3w_crs         !: w-points (m)
114   USE crs , ONLY :   e3w_0      =>  e3w_crs         !: w-points (m)
115   USE crs , ONLY :   e3f        =>  e3f_crs         !: f-points (m)
116   USE crs , ONLY :   ff         =>  ff_crs         !: f-points (m)
117
118   USE crs , ONLY :   gdept_0    =>  gdept_crs       !: depth of t-points (m)
119   USE dom_oce , ONLY :   gdept_1d   =>  gdept_1d      !: depth of t-points (m)
120#if defined key_zco
121   USE crs , ONLY :   gdept      =>  gdept_crs       !: depth of t-points (m)
122   USE crs , ONLY :   gdepw      =>  gdepw_crs       !: depth of t-points (m)
123#endif
124  !* masks, bathymetry *
125   USE crs , ONLY :   mbkt       =>   mbkt_crs       !: vertical index of the bottom last T- ocean level
126   USE crs , ONLY :   mbku       =>   mbku_crs       !: vertical index of the bottom last U- ocean level
127   USE crs , ONLY :   mbkv       =>   mbkv_crs       !: vertical index of the bottom last V- ocean level
128   USE crs , ONLY :   tmask_i    =>   tmask_i_crs    !: Interior mask at t-points
129   USE crs , ONLY :   tmask      =>   tmask_crs      !: land/ocean mask at t-points
130   USE crs , ONLY :   umask      =>   umask_crs      !: land/ocean mask at u-points   
131   USE crs , ONLY :   vmask      =>   vmask_crs      !: land/ocean mask at v-points
132   USE crs , ONLY :   fmask      =>   fmask_crs      !: land/ocean mask at f-points
133
134 !* ocean fields: here now and after fields *
135!cbr?   USE crs , ONLY :   ua      =>    ua_crs      !: i-horizontal velocity (m s-1)
136!cbr?   USE crs , ONLY :   va      =>    va_crs      !: j-horizontal velocity (m s-1)
137   USE crs , ONLY :   un      =>    un_crs      !: i-horizontal velocity (m s-1)
138   USE crs , ONLY :   vn      =>    vn_crs      !: j-horizontal velocity (m s-1)
139   USE crs , ONLY :   wn      =>    wn_crs      !: vertical velocity (m s-1) 
140   USE crs , ONLY :   tsn     =>    tsn_crs     !: 4D array contaning ( tn, sn )
141   USE oce , ONLY :   tsb     =>    tsb     !: 4D array contaning ( tb, sb )
142   USE oce , ONLY :   tsa     =>    tsa     !: 4D array contaning ( ta, sa )
143   USE oce , ONLY :   rhop    =>    rhop    !: potential volumic mass (kg m-3)
144   USE oce , ONLY :   rhd     =>    rhd     !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units)
145   USE crs , ONLY :   hdivn   =>    hdivn_crs   !: horizontal divergence (1/s)
146   USE crs , ONLY :   hdivb   =>    hdivb_crs   !: horizontal divergence (1/s)
147   USE crs , ONLY :   sshb    =>    sshb_crs    !: sea surface height at t-point [m]   
148   USE crs , ONLY :   sshn    =>    sshn_crs    !: sea surface height at t-point [m]   
149   USE crs , ONLY :   ssha    =>    ssha_crs    !: sea surface height at t-point [m]   
150
151   !* surface fluxes *
152   USE crs , ONLY :   utau       =>    utau_crs       !: i-surface stress component
153   USE crs , ONLY :   vtau       =>    vtau_crs       !: j-surface stress component
154   USE crs , ONLY :   wndm       =>    wndm_crs       !: 10m wind speed
155   USE crs , ONLY :   qsr        =>    qsr_crs        !: penetrative solar radiation (w m-2) 
156   USE crs , ONLY :   emp        =>    emp_crs        !: freshwater budget: volume flux               [Kg/m2/s]
157   USE crs , ONLY :   emp_b      =>    emp_b_crs      !: freshwater budget: volume flux               [Kg/m2/s]
158   USE crs , ONLY :   sfx        =>    sfx_crs        !: freshwater budget: concentration/dillution   [Kg/m2/s]
159   USE crs , ONLY :   fmmflx     =>    fmmflx_crs     !: freshwater budget: volume flux               [Kg/m2/s]
160   USE crs , ONLY :   rnf        =>    rnf_crs        !: river runoff   [Kg/m2/s]
161   USE crs , ONLY :   fr_i       =>    fr_i_crs       !: ice fraction (between 0 to 1)
162
163   USE crs , ONLY :   avt        =>   avt_crs         !: vert. diffusivity coef. at w-point for temp 
164#if defined key_zdfddm
165   USE crs , ONLY :   avs        =>   avs_crs         !: salinity vertical diffusivity coeff. at w-point
166#endif
167
168!cbr   USE trc_oce
169   USE trc_oce, ONLY : lk_offline
170   USE trc_oce, ONLY : nn_dttrc
171
172   USE crs , ONLY :   nmln        =>   nmln_crs        !: number of level in the mixed layer
173   USE crs , ONLY :   hmld        =>   hmld_crs        !: mixing layer depth (turbocline)
174   USE crs , ONLY :   hmlp        =>   hmlp_crs        !: mixed layer depth  (rho=rho0+zdcrit) (m)
175   USE crs , ONLY :   hmlpt       =>   hmlpt_crs       !: mixed layer depth at t-points (m)
176
177  !* direction of lateral diffusion *
178#if   defined key_ldfslp
179   USE ldfslp_crs , ONLY :   uslp       =>   uslp_crs         !: i-direction slope at u-, w-points
180   USE ldfslp_crs , ONLY :   vslp       =>   vslp_crs         !: j-direction slope at v-, w-points
181   USE ldfslp_crs , ONLY :   wslpi      =>   wslpi_crs        !: i-direction slope at u-, w-points
182   USE ldfslp_crs , ONLY :   wslpj      =>   wslpj_crs        !: j-direction slope at v-, w-points
183#endif
184
185#else
186
187   !!----------------------------------------------------------------------
188   !!   'key_top'                                                TOP models
189   !!----------------------------------------------------------------------
190
191   !* Domain size *
192   USE par_oce , ONLY :   jpi      =>   jpi        !: first  dimension of grid --> i
193   USE par_oce , ONLY :   jpj      =>   jpj        !: second dimension of grid --> j 
194   USE par_oce , ONLY :   jpk      =>   jpk        !: number of levels 
195   USE par_oce , ONLY :   jpim1    =>   jpim1      !: jpi - 1
196   USE par_oce , ONLY :   jpjm1    =>   jpjm1      !: jpj - 1
197   USE par_oce , ONLY :   jpkm1    =>   jpkm1      !: jpk - 1 
198   USE par_oce , ONLY :   jpij     =>   jpij       !: jpi x jpj
199   USE par_oce , ONLY :   lk_esopa =>   lk_esopa   !: flag to activate the all option
200   USE par_oce , ONLY :   jp_tem   =>   jp_tem     !: indice for temperature
201   USE par_oce , ONLY :   jp_sal   =>   jp_sal     !: indice for salinity
202
203  !* model domain *
204   USE dom_oce , ONLY : narea => narea
205   USE dom_oce , ONLY : nproc => nproc
206   USE dom_oce , ONLY : nimpp => nimpp
207   USE dom_oce , ONLY : njmpp => njmpp
208   USE dom_oce , ONLY : nreci => nreci
209   USE dom_oce , ONLY : nrecj => nrecj
210   USE dom_oce , ONLY : nlci  => nlci
211   USE dom_oce , ONLY : nldi  => nldi
212   USE dom_oce , ONLY : nlei  => nlei
213   USE dom_oce , ONLY : nlcj  => nlcj
214   USE dom_oce , ONLY : nldj  => nldj
215   USE dom_oce , ONLY : nlej  => nlej
216   USE dom_oce , ONLY : nlcit  => nlcit
217   USE dom_oce , ONLY : nldit  => nldit
218   USE dom_oce , ONLY : nleit  => nleit
219   USE dom_oce , ONLY : nlcjt  => nlcjt
220   USE dom_oce , ONLY : nldjt  => nldjt
221   USE dom_oce , ONLY : nlejt  => nlejt
222   USE dom_oce , ONLY : nimppt => nimppt
223   USE dom_oce , ONLY : njmppt => njmppt
224   USE dom_oce , ONLY : ibonit => ibonit
225   USE dom_oce , ONLY : ibonjt => ibonjt
226   USE dom_oce , ONLY : lk_vvl => lk_vvl
227   USE dom_oce , ONLY : rdt => rdt
228   USE dom_oce , ONLY : ln_zco => ln_zco
229   USE dom_oce , ONLY : ln_zps => ln_zps
230   USE dom_oce , ONLY : ln_sco => ln_sco
231   USE dom_oce , ONLY : neuler => neuler
232
233   USE dom_oce,  ONLY : mi0 => mi0
234   USE dom_oce,  ONLY : mi1 => mi1
235   USE dom_oce,  ONLY : mj0 => mj0
236   USE dom_oce,  ONLY : mj1 => mj1
237
238   USE dom_oce , ONLY :   glamt      =>   glamt      !: longitude of t-point (degre) 
239   USE dom_oce , ONLY :   glamu      =>   glamu      !: longitude of t-point (degre) 
240   USE dom_oce , ONLY :   glamv      =>   glamv      !: longitude of t-point (degre) 
241   USE dom_oce , ONLY :   glamf      =>   glamf      !: longitude of t-point (degre) 
242   USE dom_oce , ONLY :   gphit      =>   gphit      !: latitude  of t-point (degre)   
243   USE dom_oce , ONLY :   gphiu      =>   gphiu      !: latitude  of t-point (degre)   
244   USE dom_oce , ONLY :   gphiv      =>   gphiv      !: latitude  of t-point (degre)   
245   USE dom_oce , ONLY :   gphif      =>   gphif     !: latitude  of t-point (degre)   
246   USE dom_oce , ONLY :   e1t        =>   e1t        !: horizontal scale factors at t-point (m) 
247   USE dom_oce , ONLY :   e2t        =>   e2t        !: horizontal scale factors at t-point (m)   
248   USE dom_oce , ONLY :   e1e2t      =>   e1e2t      !: cell surface at t-point (m2)
249   USE dom_oce , ONLY :   e1u        =>   e1u        !: horizontal scale factors at u-point (m)
250   USE dom_oce , ONLY :   e2u        =>   e2u        !: horizontal scale factors at u-point (m)
251   USE dom_oce , ONLY :   e1v        =>   e1v        !: horizontal scale factors at v-point (m)
252   USE dom_oce , ONLY :   e2v        =>   e2v        !: horizontal scale factors at v-point (m) 
253   USE dom_oce , ONLY :   e3t        =>  e3t_0         !: vertical scale factors at t-
254   USE dom_oce , ONLY :   e3t_0      =>  e3t_0         !: vertical scale factors at t-
255   USE dom_oce , ONLY :   fse3t      =>  e3t_0
256   USE dom_oce , ONLY :   fse3t_b      =>  e3t_0
257   USE dom_oce , ONLY :   fse3t_a      =>  e3t_0
258   USE dom_oce , ONLY :   fse3w      =>  e3w_0
259   USE dom_oce , ONLY :   e3u        =>  e3u_0         !: vertical scale factors at u-
260   USE dom_oce , ONLY :   e3u_0      =>  e3u_0         !: vertical scale factors at u-
261   USE dom_oce , ONLY :   e3v        =>  e3v_0         !: vertical scale factors v-
262   USE dom_oce , ONLY :   e3v_0      =>  e3v_0         !: vertical scale factors v-
263   USE dom_oce , ONLY :   e3w        =>  e3w_0         !: w-points (m)
264   USE dom_oce , ONLY :   e3w_0      =>  e3w_0         !: w-points (m)
265   USE dom_oce , ONLY :   e3f        =>  e3f_0         !: f-points (m)
266   USE dom_oce , ONLY :   ff         =>  ff         !: f-points (m)
267   USE dom_oce , ONLY :   gdept_0    =>  gdept_0         !: f-points (m)
268   USE dom_oce , ONLY :   gdept_1d   => gdept_1d          !: f-points (m)
269   USE dom_oce , ONLY :   tmask      => tmask          !: f-points (m)
270   USE dom_oce , ONLY :   umask      => umask          !: f-points (m)
271   USE dom_oce , ONLY :   vmask      => vmask          !: f-points (m)
272   USE dom_oce , ONLY :   tmask_i      => tmask_i          !: f-points (m)
273   USE dom_oce , ONLY :   mbkt      => mbkt          !: f-points (m)
274   USE dom_oce , ONLY :   mbku      => mbku          !: f-points (m)
275   USE dom_oce , ONLY :   mbkv      => mbkv          !: f-points (m)
276
277   !* IO manager *
278   USE in_out_manager   
279 
280   !* Memory Allocation *
281   USE wrk_nemo     
282 
283   !* Timing *
284   USE timing   
285 
286   !* MPP library                         
287   USE lib_mpp 
288
289   !* Fortran utilities                         
290   USE lib_fortran
291
292   !* Lateral boundary conditions                         
293   USE lbclnk
294
295   !* physical constants *
296   USE phycst           
297
298   !* 1D configuration
299   USE c1d                                         
300
301   !* model domain *
302   !cbr USE dom_oce , ONLY : e3w_0
303   USE dom_oce , ONLY :  lzoom => lzoom 
304
305   USE domvvl, ONLY : un_td, vn_td          !: thickness diffusion transport
306   USE domvvl, ONLY : ln_vvl_ztilde         !: ztilde vertical coordinate
307   USE domvvl, ONLY : ln_vvl_layer          !: level  vertical coordinate
308
309   !* ocean fields: here now and after fields *
310   USE oce , ONLY :   ua      =>    ua      !: i-horizontal velocity (m s-1)
311   USE oce , ONLY :   va      =>    va      !: j-horizontal velocity (m s-1)
312   USE oce , ONLY :   un      =>    un      !: i-horizontal velocity (m s-1)
313   USE oce , ONLY :   vn      =>    vn      !: j-horizontal velocity (m s-1)
314   USE oce , ONLY :   wn      =>    wn      !: vertical velocity (m s-1) 
315   USE oce , ONLY :   tsn     =>    tsn     !: 4D array contaning ( tn, sn )
316   USE oce , ONLY :   tsb     =>    tsb     !: 4D array contaning ( tb, sb )
317   USE oce , ONLY :   tsa     =>    tsa     !: 4D array contaning ( ta, sa )
318   USE oce , ONLY :   rhop    =>    rhop    !: potential volumic mass (kg m-3)
319   USE oce , ONLY :   rhd     =>    rhd     !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units)
320   USE oce , ONLY :   hdivn   =>    hdivn   !: horizontal divergence (1/s)
321   USE oce , ONLY :   rotn    =>    rotn    !: relative vorticity    [s-1]
322   USE oce , ONLY :   hdivb   =>    hdivb   !: horizontal divergence (1/s)
323   USE oce , ONLY :   rotb    =>    rotb    !: relative vorticity    [s-1]
324   USE oce , ONLY :   sshn    =>    sshn    !: sea surface height at t-point [m]   
325   USE oce , ONLY :   sshb    =>    sshb    !: sea surface height at t-point [m]   
326   USE oce , ONLY :   ssha    =>    ssha    !: sea surface height at t-point [m]   
327   USE oce , ONLY :   l_traldf_rot => l_traldf_rot  !: rotated laplacian operator for lateral diffusion
328
329   !* surface fluxes *
330   USE sbc_oce , ONLY :   utau       =>    utau       !: i-surface stress component
331   USE sbc_oce , ONLY :   vtau       =>    vtau       !: j-surface stress component
332   USE sbc_oce , ONLY :   wndm       =>    wndm       !: 10m wind speed
333   USE sbc_oce , ONLY :   qsr        =>    qsr        !: penetrative solar radiation (w m-2)
334   USE sbc_oce , ONLY :   emp        =>    emp        !: freshwater budget: volume flux               [Kg/m2/s]
335   USE sbc_oce , ONLY :   emp_b      =>    emp_b      !: freshwater budget: volume flux               [Kg/m2/s]
336   USE sbc_oce , ONLY :   fmmflx     =>    fmmflx     !: freshwater budget: volume flux               [Kg/m2/s]
337   USE sbc_oce , ONLY :   rnf        =>    rnf        !: river runoff   [Kg/m2/s]
338   USE sbc_oce , ONLY :   ln_dm2dc   =>    ln_dm2dc   !: Daily mean to Diurnal Cycle short wave (qsr)
339   USE sbc_oce , ONLY :   ln_rnf     =>    ln_rnf     !: runoffs / runoff mouths
340   USE sbc_oce , ONLY :   fr_i       =>    fr_i       !: ice fraction (between 0 to 1)
341   USE traqsr  , ONLY :   rn_abs     =>    rn_abs     !: fraction absorbed in the very near surface
342   USE traqsr  , ONLY :   rn_si0     =>    rn_si0     !: very near surface depth of extinction
343   USE traqsr  , ONLY :   ln_qsr_bio =>    ln_qsr_bio !: flag to use or not the biological fluxes for light
344   USE sbcrnf  , ONLY :   rnfmsk     =>    rnfmsk     !: mixed adv scheme in runoffs vicinity (hori.)
345   USE sbcrnf  , ONLY :   rnfmsk_z   =>    rnfmsk_z   !: mixed adv scheme in runoffs vicinity (vert.)
346   USE sbcrnf  , ONLY :   h_rnf      =>    h_rnf      !: river runoff   [Kg/m2/s]
347
348   USE trc_oce
349
350   !* lateral diffusivity (tracers) *
351   USE ldftra_oce , ONLY :  rldf     =>   rldf        !: multiplicative coef. for lateral diffusivity
352   USE ldftra_oce , ONLY :  rn_aht_0 =>   rn_aht_0    !: horizontal eddy diffusivity for tracers (m2/s)
353   USE ldftra_oce , ONLY :  aht0     =>   aht0        !: horizontal eddy diffusivity for tracers (m2/s)
354   USE ldftra_oce , ONLY :  ahtb0    =>   ahtb0       !: background eddy diffusivity for isopycnal diff. (m2/s)
355   USE ldftra_oce , ONLY :  ahtu     =>   ahtu        !: lateral diffusivity coef. at u-points
356   USE ldftra_oce , ONLY :  ahtv     =>   ahtv        !: lateral diffusivity coef. at v-points
357   USE ldftra_oce , ONLY :  ahtw     =>   ahtw        !: lateral diffusivity coef. at w-points
358   USE ldftra_oce , ONLY :  ahtt     =>   ahtt        !: lateral diffusivity coef. at t-points
359   USE ldftra_oce , ONLY :  aeiv0    =>   aeiv0       !: eddy induced velocity coefficient (m2/s)
360   USE ldftra_oce , ONLY :  aeiu     =>   aeiu        !: eddy induced velocity coef. at u-points (m2/s)   
361   USE ldftra_oce , ONLY :  aeiv     =>   aeiv        !: eddy induced velocity coef. at v-points (m2/s)
362   USE ldftra_oce , ONLY :  aeiw     =>   aeiw        !: eddy induced velocity coef. at w-points (m2/s)
363   USE ldftra_oce , ONLY :  lk_traldf_eiv  =>  lk_traldf_eiv     !: eddy induced velocity flag
364
365   !* vertical diffusion *
366   USE zdf_oce , ONLY :   avt        =>   avt         !: vert. diffusivity coef. at w-point for temp 
367# if defined key_zdfddm
368   USE zdfddm  , ONLY :   avs        =>   avs         !: salinity vertical diffusivity coeff. at w-point
369# endif
370
371   !* mixing & mixed layer depth *
372   USE zdfmxl , ONLY :   nmln        =>   nmln        !: number of level in the mixed layer
373   USE zdfmxl , ONLY :   hmld        =>   hmld        !: mixing layer depth (turbocline)
374   USE zdfmxl , ONLY :   hmlp        =>   hmlp        !: mixed layer depth  (rho=rho0+zdcrit) (m)
375   USE zdfmxl , ONLY :   hmlpt       =>   hmlpt       !: mixed layer depth at t-points (m)
376
377   !* direction of lateral diffusion *
378   USE ldfslp , ONLY :   lk_ldfslp  =>  lk_ldfslp     !: slopes flag
379# if   defined key_ldfslp
380   USE ldfslp , ONLY :   uslp       =>   uslp         !: i-direction slope at u-, w-points
381   USE ldfslp , ONLY :   vslp       =>   vslp         !: j-direction slope at v-, w-points
382   USE ldfslp , ONLY :   wslpi      =>   wslpi        !: i-direction slope at u-, w-points
383   USE ldfslp , ONLY :   wslpj      =>   wslpj        !: j-direction slope at v-, w-points
384# endif
385
386#endif
387#else
388   !!----------------------------------------------------------------------
389   !!  Empty module :                                     No passive tracer
390   !!----------------------------------------------------------------------
391#endif
392
393   !!----------------------------------------------------------------------
394   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
395   !! $Id$
396   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
397   !!======================================================================
398END MODULE oce_trc
Note: See TracBrowser for help on using the repository browser.