- Timestamp:
- 2011-08-08T10:16:41+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/UKMO_MERCATOR_obc_bdy_merge/NEMOGCM/NEMO/OPA_SRC/OBC/obcini.F90
r2814 r2818 51 51 !! ** Input : obc_init.nc, input file for unstructured open boundaries 52 52 !!---------------------------------------------------------------------- 53 INTEGER :: ib_obc, ii, ij, ik, igrd, ib, ir ! dummy loop indices54 INTEGER :: icount, icountr, ibr_max, ilen1 55 INTEGER :: iw, ie, is, in, inum, id_dummy ! - -56 INTEGER :: igrd_start, igrd_end, jpbdta ! - -57 INTEGER, POINTER :: nbi, nbj, nbr ! short cuts58 REAL , POINTER :: flagu, flagv ! - -59 REAL(wp) :: zefl, zwfl, znfl, zsfl ! local scalars53 INTEGER :: ib_obc, ii, ij, ik, igrd, ib, ir ! dummy loop indices 54 INTEGER :: icount, icountr, ibr_max, ilen1, ibm1 ! local integers 55 INTEGER :: iw, ie, is, in, inum, id_dummy ! - - 56 INTEGER :: igrd_start, igrd_end, jpbdta ! - - 57 INTEGER, POINTER :: nbi, nbj, nbr ! short cuts 58 REAL , POINTER :: flagu, flagv ! - - 59 REAL(wp) :: zefl, zwfl, znfl, zsfl ! local scalars 60 60 INTEGER, DIMENSION (2) :: kdimsz 61 61 INTEGER, DIMENSION(jpbgrd,jp_obc) :: nblendta ! Length of index arrays … … 302 302 idx_obc(ib_obc)%nblenrim(igrd) = 0 303 303 DO ib = 1, nblendta(igrd,ib_obc) 304 ! check that data is in correct order in file 305 ibm1 = MAX(1,ib-1) 306 IF(lwp) THEN ! Since all procs read global data only need to do this check on one proc... 307 IF( nbrdta(ib,igrd,ib_obc) < nbrdta(ibm1,igrd,ib_obc) ) THEN 308 CALL ctl_stop('obc_init : ERROR : boundary data in file must be defined in order of distance from edge nbr.', & 309 'A utility for re-ordering boundary coordinates and data files exists in CDFTOOLS') 310 ENDIF 311 ENDIF 304 312 ! check if point is in local domain 305 313 IF( nbidta(ib,igrd,ib_obc) >= iw .AND. nbidta(ib,igrd,ib_obc) <= ie .AND. &
Note: See TracChangeset
for help on using the changeset viewer.