Changeset 2185 for branches/devukmo2010/NEMO/OPA_SRC/BDY/bdytides.F90
- Timestamp:
- 2010-10-07T17:17:57+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devukmo2010/NEMO/OPA_SRC/BDY/bdytides.F90
r2128 r2185 41 41 PUBLIC tide_update ! routine called in bdydyn 42 42 43 LOGICAL, PUBLIC :: ln_tide_date !: =T correct tide phases and amplitude for model start date 44 45 INTEGER, PARAMETER,PUBLIC :: jptides_max = 15 !: Max number of tidal contituents 43 LOGICAL, PUBLIC :: ln_tide_date !: =T correct tide phases and amplitude for model start date 44 INTEGER, PUBLIC, PARAMETER :: jptides_max = 15 !: Max number of tidal contituents 46 45 INTEGER, PUBLIC :: ntide !: Actual number of tidal constituents 47 46 … … 49 48 CHARACTER(len= 4), PUBLIC, DIMENSION(jptides_max) :: tide_cpt !: Names of tidal components used. 50 49 51 INTEGER , DIMENSION(jptides_max), PUBLIC:: nindx !: ???52 REAL(wp), DIMENSION(jptides_max), PUBLIC:: tide_speed !: Phase speed of tidal constituent (deg/hr)50 INTEGER , PUBLIC, DIMENSION(jptides_max) :: nindx !: ??? 51 REAL(wp), PUBLIC, DIMENSION(jptides_max) :: tide_speed !: Phase speed of tidal constituent (deg/hr) 53 52 54 REAL(wp), DIMENSION(jpbdim,jptides_max) :: ssh1, ssh2 ! :Tidal constituents : SSH55 REAL(wp), DIMENSION(jpbdim,jptides_max) :: u1 , u2 ! :Tidal constituents : U56 REAL(wp), DIMENSION(jpbdim,jptides_max) :: v1 , v2 ! :Tidal constituents : V53 REAL(wp), DIMENSION(jpbdim,jptides_max) :: ssh1, ssh2 ! Tidal constituents : SSH 54 REAL(wp), DIMENSION(jpbdim,jptides_max) :: u1 , u2 ! Tidal constituents : U 55 REAL(wp), DIMENSION(jpbdim,jptides_max) :: v1 , v2 ! Tidal constituents : V 57 56 58 57 !!---------------------------------------------------------------------- 59 !! NEMO/OPA 3. 0 , LOCEAN-IPSL (2008)58 !! NEMO/OPA 3.3 , NEMO Consortium (2010) 60 59 !! $Id$ 61 60 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 62 61 !!---------------------------------------------------------------------- 63 64 62 CONTAINS 65 63 … … 88 86 READ ( numnam, nambdy_tide ) 89 87 ! ! Count number of components specified 90 ntide =jptides_max91 doitide = 1, jptides_max92 if ( tide_cpt(itide) == '' ) then88 ntide = jptides_max 89 DO itide = 1, jptides_max 90 IF( tide_cpt(itide) == '' ) THEN 93 91 ntide = itide-1 94 92 exit 95 endif96 enddo93 ENDIF 94 END DO 97 95 98 96 ! ! find constituents in standard list
Note: See TracChangeset
for help on using the changeset viewer.