Changeset 462
- Timestamp:
- 2006-05-10T19:20:08+02:00 (18 years ago)
- Location:
- trunk/NEMO/OPA_SRC/TRD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/TRD/trdmod.F90
r247 r462 223 223 DO jj = 2, jpjm1 224 224 DO ji = fs_2, fs_jpim1 ! vector opt. 225 # if defined key_s_coord || defined key_partial_steps 225 # if defined key_zco 226 zbtr = zbtr2(ji,jj) 227 zfui = 0.5 * e2u(ji ,jj) * zun(ji, jj,jk) 228 zfui1= 0.5 * e2u(ji-1,jj) * zun(ji-1,jj,jk) 229 # else 226 230 zbtr = zbtr2(ji,jj) / fse3t(ji,jj,jk) 227 228 231 zfui = 0.5 * e2u(ji ,jj) * fse3u(ji, jj,jk) * zun(ji, jj,jk) 229 232 zfui1= 0.5 * e2u(ji-1,jj) * fse3u(ji-1,jj,jk) * zun(ji-1,jj,jk) 230 # else231 zbtr = zbtr2(ji,jj)232 233 zfui = 0.5 * e2u(ji ,jj) * zun(ji, jj,jk)234 zfui1= 0.5 * e2u(ji-1,jj) * zun(ji-1,jj,jk)235 233 # endif 236 234 ! save i- advective trend … … 250 248 DO jj = 2, jpjm1 251 249 DO ji = fs_2, fs_jpim1 ! vector opt. 252 # if defined key_s_coord || defined key_partial_steps 250 # if defined key_zco 251 zbtr = zbtr2(ji,jj) 252 zfvj = 0.5 * e1v(ji,jj ) * zvn(ji,jj ,jk) 253 zfvj1= 0.5 * e1v(ji,jj-1) * zvn(ji,jj-1,jk) 254 # else 253 255 zbtr = zbtr2(ji,jj) / fse3t(ji,jj,jk) 254 255 256 zfvj = 0.5 * e1v(ji,jj ) * fse3v(ji,jj ,jk) * zvn(ji,jj ,jk) 256 257 zfvj1= 0.5 * e1v(ji,jj-1) * fse3v(ji,jj-1,jk) * zvn(ji,jj-1,jk) 257 # else258 zbtr = zbtr2(ji,jj)259 260 zfvj = 0.5 * e1v(ji,jj ) * zvn(ji,jj ,jk)261 zfvj1= 0.5 * e1v(ji,jj-1) * zvn(ji,jj-1,jk)262 258 # endif 263 259 ! save j- advective trend … … 322 318 DO jj = 2, jpjm1 323 319 DO ji = fs_2, fs_jpim1 ! vector opt. 324 # if defined key_s_coord || defined key_partial_steps 320 # if defined key_zco 321 zbtr = zbtr2(ji,jj) 322 zfui = e2u(ji ,jj) * zun(ji, jj,jk) & 323 & - e2u(ji-1,jj) * zun(ji-1,jj,jk) 324 # else 325 325 zbtr = zbtr2(ji,jj) / fse3t(ji,jj,jk) 326 326 zfui = e2u(ji ,jj) * fse3u(ji, jj,jk) * zun(ji, jj,jk) & 327 327 & - e2u(ji-1,jj) * fse3u(ji-1,jj,jk) * zun(ji-1,jj,jk) 328 # else329 zbtr = zbtr2(ji,jj)330 zfui = e2u(ji ,jj) * zun(ji, jj,jk) &331 & - e2u(ji-1,jj) * zun(ji-1,jj,jk)332 328 # endif 333 329 ! save i- advective trend … … 347 343 DO jj = 2, jpjm1 348 344 DO ji = fs_2, fs_jpim1 ! vector opt. 349 # if defined key_s_coord || defined key_partial_steps 345 # if defined key_zco 346 zbtr = zbtr2(ji,jj) 347 zfvj = e1v(ji,jj ) * zvn(ji,jj ,jk) & 348 & - e1v(ji,jj-1) * zvn(ji,jj-1,jk) 349 # else 350 350 zbtr = zbtr2(ji,jj) / fse3t(ji,jj,jk) 351 351 zfvj = e1v(ji,jj ) * fse3v(ji,jj ,jk) * zvn(ji,jj ,jk) & 352 352 & - e1v(ji,jj-1) * fse3v(ji,jj-1,jk) * zvn(ji,jj-1,jk) 353 # else354 zbtr = zbtr2(ji,jj)355 zfvj = e1v(ji,jj ) * zvn(ji,jj ,jk) &356 & - e1v(ji,jj-1) * zvn(ji,jj-1,jk)357 353 # endif 358 354 ! save j- advective trend -
trunk/NEMO/OPA_SRC/TRD/trdvor.F90
r352 r462 23 23 USE daymod ! calandar 24 24 USE dianam ! build the name of file (routine) 25 USE ldfslp ! iso-neutral slopes26 25 USE zdfmxl ! mixed layer depth 27 26 USE ioipsl ! NetCDF library
Note: See TracChangeset
for help on using the changeset viewer.