38 integer,
intent(in) :: ng, tile, boundary
39 integer,
intent(in) :: LBij, UBij
42 real(r8),
intent(inout) :: ad_A(LBij:)
44 real(r8),
intent(inout) :: ad_A(LBij:UBij)
47# include "set_bounds.h"
53 IF (boundary.eq.
inorth)
THEN
54 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
57 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
60 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
63 ad_a(istr)=ad_a(istr)+ad_a(istr-1)
68 IF (boundary.eq.
isouth)
THEN
69 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
72 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
75 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
78 ad_a(istr)=ad_a(istr)+ad_a(istr-1)
87 IF (boundary.eq.
ieast)
THEN
88 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
91 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
94 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
97 ad_a(jstr)=ad_a(jstr)+ad_a(jstr-1)
102 IF (boundary.eq.
iwest)
THEN
103 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
106 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
109 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
112 ad_a(jstr)=ad_a(jstr)+ad_a(jstr-1)
132 integer,
intent(in) :: ng, tile, boundary
133 integer,
intent(in) :: LBij, UBij
136 real(r8),
intent(inout) :: ad_A(LBij:)
138 real(r8),
intent(inout) :: ad_A(LBij:UBij)
141# include "set_bounds.h"
147 IF (boundary.eq.
inorth)
THEN
148 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
151 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
154 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
157 ad_a(istru)=ad_a(istru)+ad_a(istru-1)
162 IF (boundary.eq.
isouth)
THEN
163 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
166 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
169 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
172 ad_a(istru)=ad_a(istru)+ad_a(istru-1)
181 IF (boundary.eq.
ieast)
THEN
182 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
185 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
188 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
191 ad_a(jstr)=ad_a(jstr)+ad_a(jstr-1)
196 IF (boundary.eq.
iwest)
THEN
197 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
200 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
203 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
206 ad_a(jstr)=ad_a(jstr)+ad_a(jstr-1)
226 integer,
intent(in) :: ng, tile, boundary
227 integer,
intent(in) :: LBij, UBij
230 real(r8),
intent(inout) :: ad_A(LBij:)
232 real(r8),
intent(inout) :: ad_A(LBij:UBij)
235# include "set_bounds.h"
241 IF (boundary.eq.
inorth)
THEN
242 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
245 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
248 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
251 ad_a(istr)=ad_a(istr)+ad_a(istr-1)
256 IF (boundary.eq.
isouth)
THEN
257 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
260 ad_a(iend)=ad_a(iend)+ad_a(iend+1)
263 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
266 ad_a(istr)=ad_a(istr)+ad_a(istr-1)
275 IF (boundary.eq.
ieast)
THEN
276 IF (
domain(ng)%NorthEast_Corner(tile))
THEN
279 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
282 IF (
domain(ng)%SouthEast_Corner(tile))
THEN
285 ad_a(jstrv)=ad_a(jstrv)+ad_a(jstrv-1)
290 IF (boundary.eq.
iwest)
THEN
291 IF (
domain(ng)%NorthWest_Corner(tile))
THEN
294 ad_a(jend)=ad_a(jend)+ad_a(jend+1)
297 IF (
domain(ng)%SouthWest_Corner(tile))
THEN
300 ad_a(jstrv)=ad_a(jstrv)+ad_a(jstrv-1)