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

Ignore:
Timestamp:
2011-08-25T18:24:45+02:00 (13 years ago)
Author:
davestorkey
Message:

Change to allow the choice of initial fields as boundary data for
each group of variables (TRA, U2D, U3D) independently.

File:
1 edited

Legend:

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

    r2814 r2831  
    6969   !                                                        !  = 1 the volume will be constant during all the integration. 
    7070   INTEGER, DIMENSION(jp_obc) ::   nn_dyn2d                 ! Choice of boundary condition for barotropic variables (U,V,SSH) 
     71   INTEGER, DIMENSION(jp_obc) ::   nn_dyn2d_dta           !: = 0 use the initial state as obc dta ;  
     72                                                            !: = 1 read it in a NetCDF file 
    7173   INTEGER, DIMENSION(jp_obc) ::   nn_dyn3d                 ! Choice of boundary condition for baroclinic velocities  
     74   INTEGER, DIMENSION(jp_obc) ::   nn_dyn3d_dta           !: = 0 use the initial state as obc dta ;  
     75                                                            !: = 1 read it in a NetCDF file 
    7276   INTEGER, DIMENSION(jp_obc) ::   nn_tra                   ! Choice of boundary condition for active tracers (T and S) 
     77   INTEGER, DIMENSION(jp_obc) ::   nn_tra_dta             !: = 0 use the initial state as obc dta ;  
     78                                                            !: = 1 read it in a NetCDF file 
    7379#if defined key_lim2 
    7480   INTEGER, DIMENSION(jp_obc) ::   nn_ice_lim2              ! Choice of boundary condition for sea ice variables  
     81   INTEGER, DIMENSION(jp_obc) ::   nn_ice_lim2_dta          !: = 0 use the initial state as obc dta ;  
     82                                                            !: = 1 read it in a NetCDF file 
    7583#endif 
    7684   ! 
     
    100108   !!---------------------------------------------------------------------- 
    101109 
     110   INTEGER,  DIMENSION(jp_obc)                     ::   nn_dta            !: =0 => *all* data is set to initial conditions 
     111                                                                          !: =1 => some data to be read in from data files 
    102112   REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global        !: workspace for reading in global data arrays 
    103113   TYPE(OBC_INDEX), DIMENSION(jp_obc), TARGET      ::   idx_obc           !: obc indices (local process) 
Note: See TracChangeset for help on using the changeset viewer.