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.
Changeset 2185 for branches/devukmo2010/NEMO/OPA_SRC/BDY/bdytides.F90 – NEMO

Ignore:
Timestamp:
2010-10-07T17:17:57+02:00 (14 years ago)
Author:
rfurner
Message:

adding updates from bdy branch, revision 2100:2168

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devukmo2010/NEMO/OPA_SRC/BDY/bdytides.F90

    r2128 r2185  
    4141   PUBLIC   tide_update   ! routine called in bdydyn 
    4242 
    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 
    4645   INTEGER, PUBLIC            ::   ntide                 !: Actual number of tidal constituents 
    4746 
     
    4948   CHARACTER(len= 4), PUBLIC, DIMENSION(jptides_max) ::   tide_cpt   !: Names of tidal components used. 
    5049 
    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) 
    5352    
    54    REAL(wp), DIMENSION(jpbdim,jptides_max)  ::   ssh1, ssh2   !: Tidal constituents : SSH 
    55    REAL(wp), DIMENSION(jpbdim,jptides_max)  ::   u1  , u2     !: Tidal constituents : U 
    56    REAL(wp), DIMENSION(jpbdim,jptides_max)  ::   v1  , v2     !: Tidal constituents : V 
     53   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 
    5756    
    5857   !!---------------------------------------------------------------------- 
    59    !! NEMO/OPA 3.0 , LOCEAN-IPSL (2008)  
     58   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    6059   !! $Id$  
    6160   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    6261   !!---------------------------------------------------------------------- 
    63  
    6462CONTAINS 
    6563 
     
    8886      READ  ( numnam, nambdy_tide ) 
    8987      !                                               ! Count number of components specified 
    90       ntide=jptides_max 
    91       do itide = 1, jptides_max 
    92         if ( tide_cpt(itide) == '' ) then 
     88      ntide = jptides_max 
     89      DO itide = 1, jptides_max 
     90        IF( tide_cpt(itide) == '' ) THEN 
    9391           ntide = itide-1 
    9492           exit 
    95         endif 
    96       enddo 
     93        ENDIF 
     94      END DO 
    9795 
    9896      !                                               ! find constituents in standard list 
Note: See TracChangeset for help on using the changeset viewer.