Changeset 14433 for NEMO/trunk/src/OCE/CRS/crs.F90
- Timestamp:
- 2021-02-11T09:06:49+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/CRS/crs.F90
r13286 r14433 32 32 INTEGER :: jpi_crsm1, jpj_crsm1 !: loop indices 33 33 INTEGER :: jpiglo_crsm1, jpjglo_crsm1 !: loop indices 34 INTEGER :: nperio_full, nperio_crs !: jperio of parent and coarse grids35 INTEGER :: npolj_full, npolj_crs !: north fold mark34 !!$ INTEGER :: nperio_full, nperio_crs !: jperio of parent and coarse grids 35 !!$ INTEGER :: npolj_full, npolj_crs !: north fold mark 36 36 INTEGER :: jpiglo_full, jpjglo_full !: jpiglo / jpjglo 37 37 INTEGER :: npiglo, npjglo !: jpjglo … … 46 46 INTEGER :: nimpp_full, njmpp_full !: global position of point (1,1) of subdomain on parent grid 47 47 INTEGER :: nimpp_crs, njmpp_crs !: set to 1,1 for now . Valid only for monoproc 48 !cc 49 INTEGER :: noea_full, nowe_full !: index of the local neighboring processors in 50 INTEGER :: noso_full, nono_full !: east, west, south and north directions 51 INTEGER :: npne_full, npnw_full !: index of north east and north west processor 52 INTEGER :: npse_full, npsw_full !: index of south east and south west processor 53 INTEGER :: nbne_full, nbnw_full !: logical of north east & north west processor 54 INTEGER :: nbse_full, nbsw_full !: logical of south east & south west processor 55 INTEGER :: nidom_full !: ??? 56 INTEGER :: nproc_full !:number for local processor 57 INTEGER :: nbondi_full, nbondj_full !: mark of i- and j-direction local boundaries 58 INTEGER :: noea_crs, nowe_crs !: index of the local neighboring processors in 59 INTEGER :: noso_crs, nono_crs !: east, west, south and north directions 60 INTEGER :: npne_crs, npnw_crs !: index of north east and north west processor 61 INTEGER :: npse_crs, npsw_crs !: index of south east and south west processor 62 INTEGER :: nbne_crs, nbnw_crs !: logical of north east & north west processor 63 INTEGER :: nbse_crs, nbsw_crs !: logical of south east & south west processor 64 INTEGER :: nidom_crs !: ??? 65 INTEGER :: nproc_crs !:number for local processor 66 INTEGER :: nbondi_crs, nbondj_crs !: mark of i- and j-direction local boundaries 67 68 48 69 49 INTEGER, DIMENSION(:), ALLOCATABLE :: mis_crs, mie_crs, mis2_crs, mie2_crs ! starting and ending i-indices of parent subset 70 50 INTEGER, DIMENSION(:), ALLOCATABLE :: mjs_crs, mje_crs, mjs2_crs, mje2_crs ! starting and ending j-indices of parent subset … … 72 52 INTEGER, DIMENSION(:), ALLOCATABLE :: mi0_crs, mi1_crs, mj0_crs, mj1_crs 73 53 INTEGER :: mxbinctr, mybinctr ! central point in grid box 74 INTEGER, DIMENSION(:), ALLOCATABLE :: jpiall_crs, jpiall_full !: dimensions of every subdomain75 INTEGER, DIMENSION(:), ALLOCATABLE :: nis0all_crs, nis0all_full !: first, last indoor index for each i-domain76 INTEGER, DIMENSION(:), ALLOCATABLE :: nie0all_crs, nie0all_full !: first, last indoor index for each j-domain77 INTEGER, DIMENSION(:), ALLOCATABLE :: nimppt_crs, nimppt_full !: first, last indoor index for each j-domain78 INTEGER, DIMENSION(:), ALLOCATABLE :: jpjall_crs, jpjall_full !: dimensions of every subdomain79 INTEGER, DIMENSION(:), ALLOCATABLE :: njs0all_crs, njs0all_full !: first, last indoor index for each i-domain80 INTEGER, DIMENSION(:), ALLOCATABLE :: nje0all_crs, nje0all_full !: first, last indoor index for each j-domain81 INTEGER, DIMENSION(:), ALLOCATABLE :: njmppt_crs, njmppt_full !: first, last indoor index for each j-domain54 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: jpiall_crs, jpiall_full !: dimensions of every subdomain 55 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: nis0all_crs, nis0all_full !: first, last indoor index for each i-domain 56 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: nie0all_crs, nie0all_full !: first, last indoor index for each j-domain 57 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: nimppt_crs, nimppt_full !: first, last indoor index for each j-domain 58 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: jpjall_crs, jpjall_full !: dimensions of every subdomain 59 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: njs0all_crs, njs0all_full !: first, last indoor index for each i-domain 60 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: nje0all_crs, nje0all_full !: first, last indoor index for each j-domain 61 !!$ INTEGER, DIMENSION(:), ALLOCATABLE :: njmppt_crs, njmppt_full !: first, last indoor index for each j-domain 82 62 83 63 … … 231 211 & hmlp_crs(jpi_crs,jpj_crs) , hmlpt_crs(jpi_crs,jpj_crs) , STAT=ierr(14) ) 232 212 233 ALLOCATE( nimppt_crs (jpnij) , jpiall_crs (jpnij) , nis0all_crs (jpnij) , nie0all_crs (jpnij), &234 & nimppt_full(jpnij) , jpiall_full(jpnij) , nis0all_full(jpnij) , nie0all_full(jpnij), &235 njmppt_crs (jpnij) , jpjall_crs (jpnij) , njs0all_crs (jpnij) , nje0all_crs (jpnij), &236 & njmppt_full(jpnij) , jpjall_full(jpnij) , njs0all_full(jpnij) , nje0all_full(jpnij) , STAT=ierr(15) )213 !!$ ALLOCATE( nimppt_crs (jpnij) , jpiall_crs (jpnij) , nis0all_crs (jpnij) , nie0all_crs (jpnij), & 214 !!$ & nimppt_full(jpnij) , jpiall_full(jpnij) , nis0all_full(jpnij) , nie0all_full(jpnij), & 215 !!$ njmppt_crs (jpnij) , jpjall_crs (jpnij) , njs0all_crs (jpnij) , nje0all_crs (jpnij), & 216 !!$ & njmppt_full(jpnij) , jpjall_full(jpnij) , njs0all_full(jpnij) , nje0all_full(jpnij) , STAT=ierr(15) ) 237 217 238 218 crs_dom_alloc = MAXVAL(ierr) … … 269 249 jpim1 = jpim1_full 270 250 jpjm1 = jpjm1_full 271 jperio = nperio_full272 273 npolj = npolj_full251 !!$ jperio = nperio_full 252 253 !!$ npolj = npolj_full 274 254 jpiglo = jpiglo_full 275 255 jpjglo = jpjglo_full … … 284 264 njmpp = njmpp_full 285 265 286 jpiall (:) = jpiall_full (:)287 nis0all(:) = nis0all_full(:)288 nie0all(:) = nie0all_full(:)289 nimppt (:) = nimppt_full (:)290 jpjall (:) = jpjall_full (:)291 njs0all(:) = njs0all_full(:)292 nje0all(:) = nje0all_full(:)293 njmppt (:) = njmppt_full (:)266 !!$ jpiall (:) = jpiall_full (:) 267 !!$ nis0all(:) = nis0all_full(:) 268 !!$ nie0all(:) = nie0all_full(:) 269 !!$ nimppt (:) = nimppt_full (:) 270 !!$ jpjall (:) = jpjall_full (:) 271 !!$ njs0all(:) = njs0all_full(:) 272 !!$ nje0all(:) = nje0all_full(:) 273 !!$ njmppt (:) = njmppt_full (:) 294 274 295 275 END SUBROUTINE dom_grid_glo … … 308 288 jpim1 = jpi_crsm1 309 289 jpjm1 = jpj_crsm1 310 jperio = nperio_crs311 312 npolj = npolj_crs290 !!$ jperio = nperio_crs 291 292 !!$ npolj = npolj_crs 313 293 jpiglo = jpiglo_crs 314 294 jpjglo = jpjglo_crs … … 324 304 njmpp = njmpp_crs 325 305 326 jpiall (:) = jpiall_crs (:)327 nis0all(:) = nis0all_crs(:)328 nie0all(:) = nie0all_crs(:)329 nimppt (:) = nimppt_crs (:)330 jpjall (:) = jpjall_crs (:)331 njs0all(:) = njs0all_crs(:)332 nje0all(:) = nje0all_crs(:)333 njmppt (:) = njmppt_crs (:)306 !!$ jpiall (:) = jpiall_crs (:) 307 !!$ nis0all(:) = nis0all_crs(:) 308 !!$ nie0all(:) = nie0all_crs(:) 309 !!$ nimppt (:) = nimppt_crs (:) 310 !!$ jpjall (:) = jpjall_crs (:) 311 !!$ njs0all(:) = njs0all_crs(:) 312 !!$ nje0all(:) = nje0all_crs(:) 313 !!$ njmppt (:) = njmppt_crs (:) 334 314 ! 335 315 END SUBROUTINE dom_grid_crs
Note: See TracChangeset
for help on using the changeset viewer.