ROMS
Loading...
Searching...
No Matches
tile.h
Go to the documentation of this file.
1/*
2** git $id$
3************************************************************************
4** copyright(c) 2002-2025 the roms group **
5** licensed under a mit/x style license **
6** see license_roms.md **
7************************************************************************
8*/
9 integer :: IminS, ImaxS, JminS, JmaxS
10 integer :: LBi, UBi, LBj, UBj, LBij, UBij
11!
12! Set horizontal starting and ending indices for automatic private
13! storage arrays.
14!
15#ifdef NESTING
16 imins=bounds(ng)%Istr(tile)-4
17 imaxs=bounds(ng)%Iend(tile)+3
18 jmins=bounds(ng)%Jstr(tile)-4
19 jmaxs=bounds(ng)%Jend(tile)+3
20#else
21 imins=bounds(ng)%Istr(tile)-3
22 imaxs=bounds(ng)%Iend(tile)+3
23 jmins=bounds(ng)%Jstr(tile)-3
24 jmaxs=bounds(ng)%Jend(tile)+3
25#endif
26!
27! Determine array lower and upper bounds in the I- and J-directions.
28!
29 lbi=bounds(ng)%LBi(tile)
30 ubi=bounds(ng)%UBi(tile)
31 lbj=bounds(ng)%LBj(tile)
32 ubj=bounds(ng)%UBj(tile)
33!
34! Set array lower and upper bounds for MIN(I,J) directions and
35! MAX(I,J) directions.
36!
37 lbij=bounds(ng)%LBij
38 ubij=bounds(ng)%UBij