traadv_eiv.F90 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. MODULE traadv_eiv
  2. !!======================================================================
  3. !! *** MODULE traadv_eiv ***
  4. !! Ocean tracers: advection trend - eddy induced velocity
  5. !!======================================================================
  6. !! History : 1.0 ! 2005-11 (G. Madec) Original code, from traldf and zdf _iso
  7. !! 3.3 ! 2010-05 (C. Ethe, G. Madec) merge TRC-TRA
  8. !!----------------------------------------------------------------------
  9. #if defined key_traldf_eiv || defined key_esopa
  10. !!----------------------------------------------------------------------
  11. !! 'key_traldf_eiv' rotation of the lateral mixing tensor
  12. !!----------------------------------------------------------------------
  13. !! tra_ldf_iso : update the tracer trend with the horizontal component
  14. !! of iso neutral laplacian operator or horizontal
  15. !! laplacian operator in s-coordinate
  16. !!----------------------------------------------------------------------
  17. USE oce ! ocean dynamics and tracers variables
  18. USE dom_oce ! ocean space and time domain variables
  19. USE ldftra_oce ! ocean active tracers: lateral physics
  20. USE ldfslp ! iso-neutral slopes
  21. USE in_out_manager ! I/O manager
  22. USE iom
  23. USE trc_oce ! share passive tracers/Ocean variables
  24. # if defined key_diaeiv
  25. USE phycst ! physical constants
  26. USE lbclnk ! ocean lateral boundary conditions (or mpp link)
  27. # endif
  28. USE wrk_nemo ! Memory Allocation
  29. USE timing ! Timing
  30. USE diaptr ! Heat/Salt transport diagnostics
  31. USE trddyn
  32. USE trd_oce
  33. IMPLICIT NONE
  34. PRIVATE
  35. PUBLIC tra_adv_eiv ! routine called by step.F90
  36. !! * Substitutions
  37. # include "domzgr_substitute.h90"
  38. # include "ldftra_substitute.h90"
  39. # include "ldfeiv_substitute.h90"
  40. # include "vectopt_loop_substitute.h90"
  41. !!----------------------------------------------------------------------
  42. !! NEMO/OPA 3.3 , NEMO Consortium (2010)
  43. !! $Id: traadv_eiv.F90 4990 2014-12-15 16:42:49Z timgraham $
  44. !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
  45. !!----------------------------------------------------------------------
  46. CONTAINS
  47. SUBROUTINE tra_adv_eiv( kt, kit000, pun, pvn, pwn, cdtype )
  48. !!----------------------------------------------------------------------
  49. !! *** ROUTINE tra_adv_eiv ***
  50. !!
  51. !! ** Purpose : Compute the before horizontal tracer (t & s) diffusive
  52. !! trend and add it to the general trend of tracer equation.
  53. !!
  54. !! ** Method : The eddy induced advection is computed from the slope
  55. !! of iso-neutral surfaces computed in routine ldf_slp as follows:
  56. !! zu_eiv = 1/(e2u e3u) dk[ aeiu e2u mi(wslpi) ]
  57. !! zv_eiv = 1/(e1v e3v) dk[ aeiv e1v mj(wslpj)
  58. !! zw_eiv = -1/(e1t e2t) { di[ aeiu e2u mi(wslpi) ]
  59. !! + dj[ aeiv e1v mj(wslpj) ] }
  60. !! add the eiv component to the model velocity:
  61. !! p.n = p.n + z._eiv
  62. !!
  63. !! ** Action : - add to p.n the eiv component
  64. !!----------------------------------------------------------------------
  65. INTEGER , INTENT(in ) :: kt ! ocean time-step index
  66. INTEGER , INTENT(in ) :: kit000 ! first time step index
  67. CHARACTER(len=3) , INTENT(in ) :: cdtype ! =TRA or TRC (tracer indicator)
  68. REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: pun ! in : 3 ocean velocity components
  69. REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: pvn ! out: 3 ocean velocity components
  70. REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) :: pwn ! increased by the eiv
  71. !!
  72. INTEGER :: ji, jj, jk ! dummy loop indices
  73. REAL(wp) :: zuwk, zuwk1, zuwi, zuwi1 ! local scalars
  74. REAL(wp) :: zvwk, zvwk1, zvwj, zvwj1 ! - -
  75. # if defined key_diaeiv
  76. REAL(wp) :: zztmp ! local scalar
  77. # endif
  78. REAL(wp), POINTER, DIMENSION(:,:) :: zu_eiv, zv_eiv, zw_eiv, z2d
  79. REAL(wp), POINTER, DIMENSION(:,:,:) :: z3d, z3d_T
  80. !!----------------------------------------------------------------------
  81. !
  82. IF( nn_timing == 1 ) CALL timing_start( 'tra_adv_eiv')
  83. !
  84. # if defined key_diaeiv
  85. CALL wrk_alloc( jpi, jpj, zu_eiv, zv_eiv, zw_eiv, z2d )
  86. CALL wrk_alloc( jpi, jpj, jpk, z3d, z3d_T )
  87. # else
  88. CALL wrk_alloc( jpi, jpj, zu_eiv, zv_eiv, zw_eiv )
  89. # endif
  90. IF( kt == kit000 ) THEN
  91. IF(lwp) WRITE(numout,*)
  92. IF(lwp) WRITE(numout,*) 'tra_adv_eiv : eddy induced advection on ', cdtype,' :'
  93. IF(lwp) WRITE(numout,*) '~~~~~~~~~~~ add to velocity fields the eiv component'
  94. # if defined key_diaeiv
  95. IF( cdtype == 'TRA') THEN
  96. u_eiv(:,:,:) = 0.e0
  97. v_eiv(:,:,:) = 0.e0
  98. w_eiv(:,:,:) = 0.e0
  99. END IF
  100. # endif
  101. ENDIF
  102. zu_eiv(:,:) = 0.e0 ; zv_eiv(:,:) = 0.e0 ; zw_eiv(:,:) = 0.e0
  103. ! =================
  104. DO jk = 1, jpkm1 ! Horizontal slab
  105. ! ! =================
  106. DO jj = 1, jpjm1
  107. DO ji = 1, fs_jpim1 ! vector opt.
  108. zuwk = ( wslpi(ji,jj,jk ) + wslpi(ji+1,jj,jk ) ) * fsaeiu(ji,jj,jk ) * umask(ji,jj,jk )
  109. zuwk1= ( wslpi(ji,jj,jk+1) + wslpi(ji+1,jj,jk+1) ) * fsaeiu(ji,jj,jk+1) * umask(ji,jj,jk+1)
  110. zvwk = ( wslpj(ji,jj,jk ) + wslpj(ji,jj+1,jk ) ) * fsaeiv(ji,jj,jk ) * vmask(ji,jj,jk )
  111. zvwk1= ( wslpj(ji,jj,jk+1) + wslpj(ji,jj+1,jk+1) ) * fsaeiv(ji,jj,jk+1) * vmask(ji,jj,jk+1)
  112. zu_eiv(ji,jj) = 0.5 * umask(ji,jj,jk) * ( zuwk - zuwk1 )
  113. zv_eiv(ji,jj) = 0.5 * vmask(ji,jj,jk) * ( zvwk - zvwk1 )
  114. pun(ji,jj,jk) = pun(ji,jj,jk) + e2u(ji,jj) * zu_eiv(ji,jj)
  115. pvn(ji,jj,jk) = pvn(ji,jj,jk) + e1v(ji,jj) * zv_eiv(ji,jj)
  116. END DO
  117. END DO
  118. # if defined key_diaeiv
  119. IF( cdtype == 'TRA') THEN
  120. u_eiv(:,:,jk) = zu_eiv(:,:) / fse3u(:,:,jk)
  121. v_eiv(:,:,jk) = zv_eiv(:,:) / fse3v(:,:,jk)
  122. END IF
  123. # endif
  124. IF( jk >=2 ) THEN ! jk=1 zw_eiv=0, not computed
  125. DO jj = 2, jpjm1
  126. DO ji = fs_2, fs_jpim1 ! vector opt.
  127. # if defined key_traldf_c2d || defined key_traldf_c3d
  128. zuwi = ( wslpi(ji,jj,jk)+wslpi(ji-1,jj,jk) ) * fsaeiu(ji-1,jj,jk) * e2u(ji-1,jj) * umask(ji-1,jj,jk)
  129. zuwi1 = ( wslpi(ji,jj,jk)+wslpi(ji+1,jj,jk) ) * fsaeiu(ji ,jj,jk) * e2u(ji ,jj) * umask(ji ,jj,jk)
  130. zvwj = ( wslpj(ji,jj,jk)+wslpj(ji,jj-1,jk) ) * fsaeiv(ji,jj-1,jk) * e1v(ji,jj-1) * vmask(ji,jj-1,jk)
  131. zvwj1 = ( wslpj(ji,jj,jk)+wslpj(ji,jj+1,jk) ) * fsaeiv(ji,jj ,jk) * e1v(ji ,jj) * vmask(ji ,jj,jk)
  132. zw_eiv(ji,jj) = - 0.5 * tmask(ji,jj,jk) * ( zuwi1 - zuwi + zvwj1 - zvwj )
  133. # else
  134. zuwi = ( wslpi(ji,jj,jk) + wslpi(ji-1,jj,jk) ) * e2u(ji-1,jj) * umask(ji-1,jj,jk)
  135. zuwi1 = ( wslpi(ji,jj,jk) + wslpi(ji+1,jj,jk) ) * e2u(ji ,jj) * umask(ji ,jj,jk)
  136. zvwj = ( wslpj(ji,jj,jk) + wslpj(ji,jj-1,jk) ) * e1v(ji,jj-1) * vmask(ji,jj-1,jk)
  137. zvwj1 = ( wslpj(ji,jj,jk) + wslpj(ji,jj+1,jk) ) * e1v(ji ,jj) * vmask(ji ,jj,jk)
  138. zw_eiv(ji,jj) = - 0.5 * tmask(ji,jj,jk) * fsaeiw(ji,jj,jk) * ( zuwi1 - zuwi + zvwj1 - zvwj )
  139. # endif
  140. pwn(ji,jj,jk) = pwn(ji,jj,jk) + zw_eiv(ji,jj)
  141. END DO
  142. END DO
  143. # if defined key_diaeiv
  144. IF( cdtype == 'TRA') w_eiv(:,:,jk) = zw_eiv(:,:) / ( e1t(:,:) * e2t(:,:) )
  145. # endif
  146. ENDIF
  147. ! ! =================
  148. END DO ! End of slab
  149. ! ! =================
  150. # if defined key_diaeiv
  151. IF( cdtype == 'TRA') THEN
  152. CALL iom_put( "uoce_eiv", u_eiv ) ! i-eiv current
  153. CALL iom_put( "voce_eiv", v_eiv ) ! j-eiv current
  154. CALL iom_put( "woce_eiv", w_eiv ) ! vert. eiv current
  155. !
  156. IF( iom_use('weiv_masstr') ) THEN ! vertical mass transport & its square value
  157. z2d(:,:) = rau0 * e12t(:,:)
  158. DO jk = 1, jpk
  159. z3d(:,:,jk) = w_eiv(:,:,jk) * z2d(:,:)
  160. END DO
  161. CALL iom_put( "weiv_masstr" , z3d )
  162. ENDIF
  163. !
  164. IF( iom_use("ueiv_masstr") .OR. iom_use("ueiv_heattr") .OR. iom_use('ueiv_heattr3d') &
  165. & .OR. iom_use("ueiv_salttr") .OR. iom_use('ueiv_salttr3d') ) THEN
  166. z3d(:,:,jpk) = 0.e0
  167. z2d(:,:) = 0.e0
  168. DO jk = 1, jpkm1
  169. z3d(:,:,jk) = rau0 * u_eiv(:,:,jk) * e2u(:,:) * fse3u(:,:,jk) * umask(:,:,jk)
  170. z2d(:,:) = z2d(:,:) + z3d(:,:,jk)
  171. END DO
  172. CALL iom_put( "ueiv_masstr", z3d ) ! mass transport in i-direction
  173. ENDIF
  174. !
  175. IF( iom_use('ueiv_heattr') .OR. iom_use('ueiv_heattr3d') ) THEN
  176. zztmp = 0.5 * rcp
  177. z2d(:,:) = 0.e0
  178. z3d_T(:,:,:) = 0.e0
  179. DO jk = 1, jpkm1
  180. DO jj = 2, jpjm1
  181. DO ji = fs_2, fs_jpim1 ! vector opt.
  182. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_tem) + tsn(ji+1,jj,jk,jp_tem) )
  183. z2d(ji,jj) = z2d(ji,jj) + z3d_T(ji,jj,jk)
  184. END DO
  185. END DO
  186. END DO
  187. IF (iom_use('ueiv_heattr') ) THEN
  188. CALL lbc_lnk( z2d, 'U', -1. )
  189. CALL iom_put( "ueiv_heattr", zztmp * z2d ) ! 2D heat transport in i-direction
  190. ENDIF
  191. IF (iom_use('ueiv_heattr3d') ) THEN
  192. CALL lbc_lnk( z3d_T, 'U', -1. )
  193. CALL iom_put( "ueiv_heattr3d", zztmp * z3d_T ) ! 3D heat transport in i-direction
  194. ENDIF
  195. ENDIF
  196. !
  197. IF( iom_use('ueiv_salttr') .OR. iom_use('ueiv_salttr3d') ) THEN
  198. zztmp = 0.5 * 0.001
  199. z2d(:,:) = 0.e0
  200. z3d_T(:,:,:) = 0.e0
  201. DO jk = 1, jpkm1
  202. DO jj = 2, jpjm1
  203. DO ji = fs_2, fs_jpim1 ! vector opt.
  204. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_sal) + tsn(ji+1,jj,jk,jp_sal) )
  205. z2d(ji,jj) = z2d(ji,jj) + z3d_T(ji,jj,jk)
  206. END DO
  207. END DO
  208. END DO
  209. IF (iom_use('ueiv_salttr') ) THEN
  210. CALL lbc_lnk( z2d, 'U', -1. )
  211. CALL iom_put( "ueiv_salttr", zztmp * z2d ) ! 2D salt transport in i-direction
  212. ENDIF
  213. IF (iom_use('ueiv_salttr3d') ) THEN
  214. CALL lbc_lnk( z3d_T, 'U', -1. )
  215. CALL iom_put( "ueiv_salttr3d", zztmp * z3d_T ) ! 3D salt transport in i-direction
  216. ENDIF
  217. ENDIF
  218. !
  219. IF( iom_use("veiv_masstr") .OR. iom_use("veiv_heattr") .OR. iom_use('veiv_heattr3d') &
  220. .OR. iom_use("veiv_salttr") .OR. iom_use('veiv_salttr3d') ) THEN
  221. z3d(:,:,jpk) = 0.e0
  222. DO jk = 1, jpkm1
  223. z3d(:,:,jk) = rau0 * v_eiv(:,:,jk) * e1v(:,:) * fse3v(:,:,jk) * vmask(:,:,jk)
  224. END DO
  225. CALL iom_put( "veiv_masstr", z3d ) ! mass transport in j-direction
  226. ENDIF
  227. !
  228. IF( iom_use('veiv_heattr') .OR. iom_use('veiv_heattr3d') ) THEN
  229. zztmp = 0.5 * rcp
  230. z2d(:,:) = 0.e0
  231. z3d_T(:,:,:) = 0.e0
  232. DO jk = 1, jpkm1
  233. DO jj = 2, jpjm1
  234. DO ji = fs_2, fs_jpim1 ! vector opt.
  235. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_tem) + tsn(ji,jj+1,jk,jp_tem) )
  236. z2d(ji,jj) = z2d(ji,jj) + z3d_T(ji,jj,jk)
  237. END DO
  238. END DO
  239. END DO
  240. IF (iom_use('veiv_heattr') ) THEN
  241. CALL lbc_lnk( z2d, 'V', -1. )
  242. CALL iom_put( "veiv_heattr", zztmp * z2d ) ! 2D heat transport in j-direction
  243. ENDIF
  244. IF (iom_use('veiv_heattr3d') ) THEN
  245. CALL lbc_lnk( z3d_T, 'V', -1. )
  246. CALL iom_put( "veiv_heattr3d", zztmp * z3d_T ) ! 3D heat transport in j-direction
  247. ENDIF
  248. ENDIF
  249. !
  250. IF( iom_use('veiv_salttr') .OR. iom_use('veiv_salttr3d') ) THEN
  251. zztmp = 0.5 * 0.001
  252. z2d(:,:) = 0.e0
  253. z3d_T(:,:,:) = 0.e0
  254. DO jk = 1, jpkm1
  255. DO jj = 2, jpjm1
  256. DO ji = fs_2, fs_jpim1 ! vector opt.
  257. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_sal) + tsn(ji,jj+1,jk,jp_sal) )
  258. z2d(ji,jj) = z2d(ji,jj) + z3d_T(ji,jj,jk)
  259. END DO
  260. END DO
  261. END DO
  262. IF (iom_use('veiv_salttr') ) THEN
  263. CALL lbc_lnk( z2d, 'V', -1. )
  264. CALL iom_put( "veiv_salttr", zztmp * z2d ) ! 2D salt transport in i-direction
  265. ENDIF
  266. IF (iom_use('veiv_salttr3d') ) THEN
  267. CALL lbc_lnk( z3d_T, 'V', -1. )
  268. CALL iom_put( "veiv_salttr3d", zztmp * z3d_T ) ! 3D salt transport in i-direction
  269. ENDIF
  270. ENDIF
  271. !
  272. IF( iom_use('weiv_masstr') .OR. iom_use('weiv_heattr3d') .OR. iom_use('weiv_salttr3d')) THEN ! vertical mass transport & its square value
  273. z2d(:,:) = rau0 * e12t(:,:)
  274. DO jk = 1, jpk
  275. z3d(:,:,jk) = w_eiv(:,:,jk) * z2d(:,:)
  276. END DO
  277. CALL iom_put( "weiv_masstr" , z3d ) ! mass transport in k-direction
  278. ENDIF
  279. !
  280. IF( iom_use('weiv_heattr3d') ) THEN
  281. zztmp = 0.5 * rcp
  282. DO jk = 1, jpkm1
  283. DO jj = 2, jpjm1
  284. DO ji = fs_2, fs_jpim1 ! vector opt.
  285. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_tem) + tsn(ji,jj,jk+1,jp_tem) )
  286. END DO
  287. END DO
  288. END DO
  289. CALL lbc_lnk( z3d_T, 'T', 1. )
  290. CALL iom_put( "weiv_heattr3d", zztmp * z3d_T ) ! 3D heat transport in k-direction
  291. ENDIF
  292. !
  293. IF( iom_use('weiv_salttr3d') ) THEN
  294. zztmp = 0.5 * 0.001
  295. DO jk = 1, jpkm1
  296. DO jj = 2, jpjm1
  297. DO ji = fs_2, fs_jpim1 ! vector opt.
  298. z3d_T(ji,jj,jk) = z3d(ji,jj,jk) * ( tsn(ji,jj,jk,jp_sal) + tsn(ji,jj,jk+1,jp_sal) )
  299. END DO
  300. END DO
  301. END DO
  302. CALL lbc_lnk( z3d_T, 'T', 1. )
  303. CALL iom_put( "weiv_salttr3d", zztmp * z3d_T ) ! 3D salt transport in k-direction
  304. ENDIF
  305. !
  306. IF( ln_diaptr ) THEN
  307. z3d(:,:,:) = 0._wp
  308. DO jk = 1, jpkm1
  309. DO jj = 2, jpjm1
  310. DO ji = fs_2, fs_jpim1 ! vector opt.
  311. z3d(ji,jj,jk) = v_eiv(ji,jj,jk) * 0.5 * (tsn(ji,jj,jk,jp_tem)+tsn(ji,jj+1,jk,jp_tem)) &
  312. & * e1v(ji,jj) * fse3v(ji,jj,jk)
  313. END DO
  314. END DO
  315. END DO
  316. CALL dia_ptr_ohst_components( jp_tem, 'eiv', z3d )
  317. z3d(:,:,:) = 0._wp
  318. DO jk = 1, jpkm1
  319. DO jj = 2, jpjm1
  320. DO ji = fs_2, fs_jpim1 ! vector opt.
  321. z3d(ji,jj,jk) = v_eiv(ji,jj,jk) * 0.5 * (tsn(ji,jj,jk,jp_sal)+tsn(ji,jj+1,jk,jp_sal)) &
  322. & * e1v(ji,jj) * fse3v(ji,jj,jk)
  323. END DO
  324. END DO
  325. END DO
  326. CALL dia_ptr_ohst_components( jp_sal, 'eiv', z3d )
  327. ENDIF
  328. !
  329. !!gm add CMIP6 diag here instead of been done in trdken.F90
  330. !
  331. IF( iom_use('eketrd_eiv') ) THEN ! tendency of EKE from parameterized eddy advection
  332. ! CMIP6 diagnostic tknebto = tendency of EKE from parameterized mesoscale eddy advection
  333. ! = vertical_integral( k (N S)^2 ) rho dz where rho = rau0 and S = isoneutral slope.
  334. z2d(:,:) = 0._wp
  335. DO jk = 1, jpkm1
  336. DO ji = 1, jpi
  337. DO jj = 1,jpj
  338. z2d(ji,jj) = z2d(ji,jj) + rau0 * fsaeiw(ji,jj,jk) &
  339. & * rn2b(ji,jj,jk) * fse3w(ji,jj,jk) &
  340. & * ( wslpi(ji,jj,jk) * wslpi(ji,jj,jk) &
  341. & + wslpj(ji,jj,jk) * wslpj(ji,jj,jk) ) * wmask(ji,jj,jk)
  342. END DO
  343. END DO
  344. END DO
  345. CALL iom_put( "eketrd_eiv", z2d )
  346. ENDIF
  347. !
  348. !!gm removed from trdken.F90 IF( ln_KE_trd ) CALL trd_dyn(u_eiv, v_eiv, jpdyn_eivke, kt )
  349. !
  350. ENDIF
  351. # endif
  352. # if defined key_diaeiv
  353. CALL wrk_dealloc( jpi, jpj, zu_eiv, zv_eiv, zw_eiv, z2d )
  354. CALL wrk_dealloc( jpi, jpj, jpk, z3d, z3d_T )
  355. # else
  356. CALL wrk_dealloc( jpi, jpj, zu_eiv, zv_eiv, zw_eiv )
  357. # endif
  358. !
  359. IF( nn_timing == 1 ) CALL timing_stop( 'tra_adv_eiv')
  360. !
  361. END SUBROUTINE tra_adv_eiv
  362. #else
  363. !!----------------------------------------------------------------------
  364. !! Dummy module : No rotation of the lateral mixing tensor
  365. !!----------------------------------------------------------------------
  366. CONTAINS
  367. SUBROUTINE tra_adv_eiv( kt, kit000, pun, pvn, pwn, cdtype ) ! Empty routine
  368. INTEGER :: kt
  369. INTEGER :: kit000
  370. CHARACTER(len=3) :: cdtype
  371. REAL, DIMENSION(:,:,:) :: pun, pvn, pwn
  372. WRITE(*,*) 'tra_adv_eiv: You should not have seen this print! error?', &
  373. & kt, cdtype, pun(1,1,1), pvn(1,1,1), pwn(1,1,1)
  374. END SUBROUTINE tra_adv_eiv
  375. #endif
  376. !!==============================================================================
  377. END MODULE traadv_eiv