Changeset 2528 for trunk/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftmx.F90
- Timestamp:
- 2010-12-27T18:33:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftmx.F90
- Property svn:keywords set to Id
r1601 r2528 6 6 !! History : 1.0 ! 2004-04 (L. Bessieres, G. Madec) Original code 7 7 !! - ! 2006-08 (A. Koch-Larrouy) Indonesian strait 8 !! 3.3 ! 2010-10 (C. Ethe, G. Madec) reorganisation of initialisation phase 8 9 !!---------------------------------------------------------------------- 9 10 #if defined key_zdftmx … … 27 28 PRIVATE 28 29 29 PUBLIC zdf_tmx ! called in step module 30 PUBLIC zdf_tmx ! called in step module 31 PUBLIC zdf_tmx_init ! called in opa module 30 32 31 33 LOGICAL, PUBLIC, PARAMETER :: lk_zdftmx = .TRUE. !: tidal mixing flag … … 47 49 # include "vectopt_loop_substitute.h90" 48 50 !!---------------------------------------------------------------------- 49 !! NEMO/OPA 3. 2 , LOCEAN-IPSL (2009)50 !! $Id$ 51 !! Software governed by the CeCILL licence ( modipsl/doc/NEMO_CeCILL.txt)51 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 52 !! $Id$ 53 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 52 54 !!---------------------------------------------------------------------- 53 55 … … 96 98 REAL(wp), DIMENSION(jpi,jpj) :: zkz ! temporary 2D workspace 97 99 !!---------------------------------------------------------------------- 98 99 !100 IF( kt == nit000 ) CALL zdf_tmx_init ! Initialization (first time-step only)101 100 102 101 ! ! ----------------------- ! … … 372 371 DO jj = 1, jpj ! part independent of the level 373 372 DO ji = 1, jpi 374 zhdep(ji,jj) = fsdepw(ji,jj,mb athy(ji,jj)) ! depth of the ocean373 zhdep(ji,jj) = fsdepw(ji,jj,mbkt(ji,jj)+1) ! depth of the ocean 375 374 zfact(ji,jj) = rau0 * rn_htmx * ( 1. - EXP( -zhdep(ji,jj) / rn_htmx ) ) 376 375 IF( zfact(ji,jj) /= 0 ) zfact(ji,jj) = en_tmx(ji,jj) / zfact(ji,jj) … … 488 487 ! 489 488 ENDIF 490 489 ! 491 490 END SUBROUTINE zdf_tmx_init 492 491 … … 497 496 LOGICAL, PUBLIC, PARAMETER :: lk_zdftmx = .FALSE. !: tidal mixing flag 498 497 CONTAINS 499 SUBROUTINE zdf_tmx( kt ) ! Empty routine 498 SUBROUTINE zdf_tmx_init ! Dummy routine 499 WRITE(*,*) 'zdf_tmx: You should not have seen this print! error?' 500 END SUBROUTINE zdf_tmx_init 501 SUBROUTINE zdf_tmx( kt ) ! Dummy routine 500 502 WRITE(*,*) 'zdf_tmx: You should not have seen this print! error?', kt 501 503 END SUBROUTINE zdf_tmx
Note: See TracChangeset
for help on using the changeset viewer.