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 2814 for branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/OBC/obc_oce.F90 – NEMO

Ignore:
Timestamp:
2011-07-27T14:41:28+02:00 (13 years ago)
Author:
davestorkey
Message:
  1. Implement tidal harmonics forcing (UKMO version) in new structure.
  2. Other bug fixes and updates.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/OBC/obc_oce.F90

    r2800 r2814  
    5656   !                                                        !: =F read obc coordinates from namelist 
    5757   LOGICAL                    ::   ln_mask_file             !: =T read obcmask from file 
    58    LOGICAL, DIMENSION(jp_obc) ::   ln_tides                 !: =T apply tidal harmonic forcing along open boundaries 
    5958   LOGICAL                    ::   ln_vol                   !: =T volume correction              
    6059   LOGICAL, DIMENSION(jp_obc) ::   ln_clim                  !: =T obc data files contain climatological data (time-cyclic) 
     
    6463   INTEGER, DIMENSION(jp_obc) ::   nn_dtactl           !: = 0 use the initial state as obc dta ;  
    6564                                                            !: = 1 read it in a NetCDF file 
     65   INTEGER, DIMENSION(jp_obc) ::   nn_tides                 !: = 0 no tidal harmonic forcing 
     66                                                            !: = 1 apply ONLY tidal harmonic forcing for barotropic solution 
     67                                                            !: = 2 ADD tidal harmonic forcing to other barotropic boundary data 
    6668   INTEGER                    ::   nn_volctl                !: = 0 the total volume will have the variability of the surface Flux E-P  
    6769   !                                                        !  = 1 the volume will be constant during all the integration. 
     
    98100   !!---------------------------------------------------------------------- 
    99101 
    100    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:)      ::   dta_global        !: workspace for reading in global data arrays 
    101    TYPE(OBC_INDEX), DIMENSION(jp_obc), TARGET    ::   idx_obc           !: obc indices (local process) 
    102    TYPE(OBC_DATA) , DIMENSION(jp_obc)            ::   dta_obc           !: obc external data (local process) 
     102   REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global        !: workspace for reading in global data arrays 
     103   TYPE(OBC_INDEX), DIMENSION(jp_obc), TARGET      ::   idx_obc           !: obc indices (local process) 
     104   TYPE(OBC_DATA) , DIMENSION(jp_obc)              ::   dta_obc           !: obc external data (local process) 
    103105 
    104106   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.