1 |
C $Header: /u/gcmpack/MITgcm/utils/exch2/code-mods/s12t_32x16/w2_e2setup.F,v 1.1 2008/08/01 21:19:46 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C *** THIS FILE IS AUTOMATICALLY GENERATED *** |
5 |
SUBROUTINE W2_E2SETUP |
6 |
|
7 |
C Tile toplogy settings data structures |
8 |
#include "W2_EXCH2_TOPOLOGY.h" |
9 |
|
10 |
C Tile settings table |
11 |
CALL W2_E2SETUP_1 |
12 |
CALL W2_E2SETUP_2 |
13 |
CALL W2_E2SETUP_3 |
14 |
CALL W2_E2SETUP_4 |
15 |
CALL W2_E2SETUP_5 |
16 |
CALL W2_E2SETUP_6 |
17 |
CALL W2_E2SETUP_7 |
18 |
CALL W2_E2SETUP_8 |
19 |
CALL W2_E2SETUP_9 |
20 |
CALL W2_E2SETUP_10 |
21 |
CALL W2_E2SETUP_11 |
22 |
CALL W2_E2SETUP_12 |
23 |
RETURN |
24 |
END |
25 |
|
26 |
SUBROUTINE W2_E2SETUP_1 |
27 |
C Topology for tile 1 |
28 |
#include "W2_EXCH2_TOPOLOGY.h" |
29 |
exch2_tNx(1)=32 |
30 |
exch2_tNy(1)=16 |
31 |
exch2_tBasex(1)=0 |
32 |
exch2_tBasey(1)=0 |
33 |
exch2_txGlobalo(1)=1 |
34 |
exch2_tyGlobalo(1)=1 |
35 |
exch2_isWedge(1)=1 |
36 |
exch2_isNedge(1)=0 |
37 |
exch2_isEedge(1)=1 |
38 |
exch2_isSedge(1)=1 |
39 |
exch2_myFace(1)=1 |
40 |
exch2_mydNx(1)=32 |
41 |
exch2_mydNy(1)=32 |
42 |
exch2_nNeighbours(1)=4 |
43 |
|
44 |
exch2_neighbourId(1,1)=2 |
45 |
exch2_iLo(1,1)=0 |
46 |
exch2_iHi(1,1)=33 |
47 |
exch2_jLo(1,1)=17 |
48 |
exch2_jHi(1,1)=17 |
49 |
exch2_opposingSend(1,1)=3 |
50 |
exch2_pij(1,1,1)=1 |
51 |
exch2_pij(2,1,1)=0 |
52 |
exch2_pij(3,1,1)=0 |
53 |
exch2_pij(4,1,1)=1 |
54 |
exch2_oi(1,1)=0 |
55 |
exch2_oj(1,1)=0 |
56 |
|
57 |
exch2_neighbourId(2,1)=12 |
58 |
exch2_iLo(2,1)=0 |
59 |
exch2_iHi(2,1)=33 |
60 |
exch2_jLo(2,1)=0 |
61 |
exch2_jHi(2,1)=0 |
62 |
exch2_opposingSend(2,1)=1 |
63 |
exch2_pij(1,2,1)=1 |
64 |
exch2_pij(2,2,1)=0 |
65 |
exch2_pij(3,2,1)=0 |
66 |
exch2_pij(4,2,1)=1 |
67 |
exch2_oi(2,1)=0 |
68 |
exch2_oj(2,1)=-32 |
69 |
|
70 |
exch2_neighbourId(3,1)=3 |
71 |
exch2_iLo(3,1)=33 |
72 |
exch2_iHi(3,1)=33 |
73 |
exch2_jLo(3,1)=0 |
74 |
exch2_jHi(3,1)=17 |
75 |
exch2_opposingSend(3,1)=5 |
76 |
exch2_pij(1,3,1)=1 |
77 |
exch2_pij(2,3,1)=0 |
78 |
exch2_pij(3,3,1)=0 |
79 |
exch2_pij(4,3,1)=1 |
80 |
exch2_oi(3,1)=32 |
81 |
exch2_oj(3,1)=0 |
82 |
|
83 |
exch2_neighbourId(4,1)=10 |
84 |
exch2_iLo(4,1)=0 |
85 |
exch2_iHi(4,1)=0 |
86 |
exch2_jLo(4,1)=0 |
87 |
exch2_jHi(4,1)=17 |
88 |
exch2_opposingSend(4,1)=1 |
89 |
exch2_pij(1,4,1)=0 |
90 |
exch2_pij(2,4,1)=1 |
91 |
exch2_pij(3,4,1)=-1 |
92 |
exch2_pij(4,4,1)=0 |
93 |
exch2_oi(4,1)=-32 |
94 |
exch2_oj(4,1)=33 |
95 |
RETURN |
96 |
END |
97 |
|
98 |
SUBROUTINE W2_E2SETUP_2 |
99 |
C Topology for tile 2 |
100 |
#include "W2_EXCH2_TOPOLOGY.h" |
101 |
exch2_tNx(2)=32 |
102 |
exch2_tNy(2)=16 |
103 |
exch2_tBasex(2)=0 |
104 |
exch2_tBasey(2)=16 |
105 |
exch2_txGlobalo(2)=1 |
106 |
exch2_tyGlobalo(2)=17 |
107 |
exch2_isWedge(2)=1 |
108 |
exch2_isNedge(2)=1 |
109 |
exch2_isEedge(2)=1 |
110 |
exch2_isSedge(2)=0 |
111 |
exch2_myFace(2)=1 |
112 |
exch2_mydNx(2)=32 |
113 |
exch2_mydNy(2)=32 |
114 |
exch2_nNeighbours(2)=5 |
115 |
|
116 |
exch2_neighbourId(1,2)=5 |
117 |
exch2_iLo(1,2)=16 |
118 |
exch2_iHi(1,2)=33 |
119 |
exch2_jLo(1,2)=17 |
120 |
exch2_jHi(1,2)=17 |
121 |
exch2_opposingSend(1,2)=4 |
122 |
exch2_pij(1,1,2)=0 |
123 |
exch2_pij(2,1,2)=-1 |
124 |
exch2_pij(3,1,2)=1 |
125 |
exch2_pij(4,1,2)=0 |
126 |
exch2_oi(1,2)=33 |
127 |
exch2_oj(1,2)=32 |
128 |
|
129 |
exch2_neighbourId(2,2)=6 |
130 |
exch2_iLo(2,2)=0 |
131 |
exch2_iHi(2,2)=17 |
132 |
exch2_jLo(2,2)=17 |
133 |
exch2_jHi(2,2)=17 |
134 |
exch2_opposingSend(2,2)=5 |
135 |
exch2_pij(1,2,2)=0 |
136 |
exch2_pij(2,2,2)=-1 |
137 |
exch2_pij(3,2,2)=1 |
138 |
exch2_pij(4,2,2)=0 |
139 |
exch2_oi(2,2)=33 |
140 |
exch2_oj(2,2)=32 |
141 |
|
142 |
exch2_neighbourId(3,2)=1 |
143 |
exch2_iLo(3,2)=0 |
144 |
exch2_iHi(3,2)=33 |
145 |
exch2_jLo(3,2)=0 |
146 |
exch2_jHi(3,2)=0 |
147 |
exch2_opposingSend(3,2)=1 |
148 |
exch2_pij(1,3,2)=1 |
149 |
exch2_pij(2,3,2)=0 |
150 |
exch2_pij(3,3,2)=0 |
151 |
exch2_pij(4,3,2)=1 |
152 |
exch2_oi(3,2)=0 |
153 |
exch2_oj(3,2)=0 |
154 |
|
155 |
exch2_neighbourId(4,2)=4 |
156 |
exch2_iLo(4,2)=33 |
157 |
exch2_iHi(4,2)=33 |
158 |
exch2_jLo(4,2)=0 |
159 |
exch2_jHi(4,2)=17 |
160 |
exch2_opposingSend(4,2)=4 |
161 |
exch2_pij(1,4,2)=1 |
162 |
exch2_pij(2,4,2)=0 |
163 |
exch2_pij(3,4,2)=0 |
164 |
exch2_pij(4,4,2)=1 |
165 |
exch2_oi(4,2)=32 |
166 |
exch2_oj(4,2)=0 |
167 |
|
168 |
exch2_neighbourId(5,2)=10 |
169 |
exch2_iLo(5,2)=0 |
170 |
exch2_iHi(5,2)=0 |
171 |
exch2_jLo(5,2)=0 |
172 |
exch2_jHi(5,2)=17 |
173 |
exch2_opposingSend(5,2)=2 |
174 |
exch2_pij(1,5,2)=0 |
175 |
exch2_pij(2,5,2)=1 |
176 |
exch2_pij(3,5,2)=-1 |
177 |
exch2_pij(4,5,2)=0 |
178 |
exch2_oi(5,2)=-32 |
179 |
exch2_oj(5,2)=33 |
180 |
RETURN |
181 |
END |
182 |
|
183 |
SUBROUTINE W2_E2SETUP_3 |
184 |
C Topology for tile 3 |
185 |
#include "W2_EXCH2_TOPOLOGY.h" |
186 |
exch2_tNx(3)=32 |
187 |
exch2_tNy(3)=16 |
188 |
exch2_tBasex(3)=0 |
189 |
exch2_tBasey(3)=0 |
190 |
exch2_txGlobalo(3)=33 |
191 |
exch2_tyGlobalo(3)=1 |
192 |
exch2_isWedge(3)=1 |
193 |
exch2_isNedge(3)=0 |
194 |
exch2_isEedge(3)=1 |
195 |
exch2_isSedge(3)=1 |
196 |
exch2_myFace(3)=2 |
197 |
exch2_mydNx(3)=32 |
198 |
exch2_mydNy(3)=32 |
199 |
exch2_nNeighbours(3)=5 |
200 |
|
201 |
exch2_neighbourId(1,3)=4 |
202 |
exch2_iLo(1,3)=0 |
203 |
exch2_iHi(1,3)=33 |
204 |
exch2_jLo(1,3)=17 |
205 |
exch2_jHi(1,3)=17 |
206 |
exch2_opposingSend(1,3)=2 |
207 |
exch2_pij(1,1,3)=1 |
208 |
exch2_pij(2,1,3)=0 |
209 |
exch2_pij(3,1,3)=0 |
210 |
exch2_pij(4,1,3)=1 |
211 |
exch2_oi(1,3)=0 |
212 |
exch2_oj(1,3)=0 |
213 |
|
214 |
exch2_neighbourId(2,3)=11 |
215 |
exch2_iLo(2,3)=16 |
216 |
exch2_iHi(2,3)=33 |
217 |
exch2_jLo(2,3)=0 |
218 |
exch2_jHi(2,3)=0 |
219 |
exch2_opposingSend(2,3)=4 |
220 |
exch2_pij(1,2,3)=0 |
221 |
exch2_pij(2,2,3)=-1 |
222 |
exch2_pij(3,2,3)=1 |
223 |
exch2_pij(4,2,3)=0 |
224 |
exch2_oi(2,3)=33 |
225 |
exch2_oj(2,3)=-32 |
226 |
|
227 |
exch2_neighbourId(3,3)=12 |
228 |
exch2_iLo(3,3)=0 |
229 |
exch2_iHi(3,3)=17 |
230 |
exch2_jLo(3,3)=0 |
231 |
exch2_jHi(3,3)=0 |
232 |
exch2_opposingSend(3,3)=3 |
233 |
exch2_pij(1,3,3)=0 |
234 |
exch2_pij(2,3,3)=-1 |
235 |
exch2_pij(3,3,3)=1 |
236 |
exch2_pij(4,3,3)=0 |
237 |
exch2_oi(3,3)=33 |
238 |
exch2_oj(3,3)=-32 |
239 |
|
240 |
exch2_neighbourId(4,3)=7 |
241 |
exch2_iLo(4,3)=33 |
242 |
exch2_iHi(4,3)=33 |
243 |
exch2_jLo(4,3)=0 |
244 |
exch2_jHi(4,3)=17 |
245 |
exch2_opposingSend(4,3)=2 |
246 |
exch2_pij(1,4,3)=0 |
247 |
exch2_pij(2,4,3)=1 |
248 |
exch2_pij(3,4,3)=-1 |
249 |
exch2_pij(4,4,3)=0 |
250 |
exch2_oi(4,3)=32 |
251 |
exch2_oj(4,3)=33 |
252 |
|
253 |
exch2_neighbourId(5,3)=1 |
254 |
exch2_iLo(5,3)=0 |
255 |
exch2_iHi(5,3)=0 |
256 |
exch2_jLo(5,3)=0 |
257 |
exch2_jHi(5,3)=17 |
258 |
exch2_opposingSend(5,3)=3 |
259 |
exch2_pij(1,5,3)=1 |
260 |
exch2_pij(2,5,3)=0 |
261 |
exch2_pij(3,5,3)=0 |
262 |
exch2_pij(4,5,3)=1 |
263 |
exch2_oi(5,3)=-32 |
264 |
exch2_oj(5,3)=0 |
265 |
RETURN |
266 |
END |
267 |
|
268 |
SUBROUTINE W2_E2SETUP_4 |
269 |
C Topology for tile 4 |
270 |
#include "W2_EXCH2_TOPOLOGY.h" |
271 |
exch2_tNx(4)=32 |
272 |
exch2_tNy(4)=16 |
273 |
exch2_tBasex(4)=0 |
274 |
exch2_tBasey(4)=16 |
275 |
exch2_txGlobalo(4)=33 |
276 |
exch2_tyGlobalo(4)=17 |
277 |
exch2_isWedge(4)=1 |
278 |
exch2_isNedge(4)=1 |
279 |
exch2_isEedge(4)=1 |
280 |
exch2_isSedge(4)=0 |
281 |
exch2_myFace(4)=2 |
282 |
exch2_mydNx(4)=32 |
283 |
exch2_mydNy(4)=32 |
284 |
exch2_nNeighbours(4)=4 |
285 |
|
286 |
exch2_neighbourId(1,4)=5 |
287 |
exch2_iLo(1,4)=0 |
288 |
exch2_iHi(1,4)=33 |
289 |
exch2_jLo(1,4)=17 |
290 |
exch2_jHi(1,4)=17 |
291 |
exch2_opposingSend(1,4)=2 |
292 |
exch2_pij(1,1,4)=1 |
293 |
exch2_pij(2,1,4)=0 |
294 |
exch2_pij(3,1,4)=0 |
295 |
exch2_pij(4,1,4)=1 |
296 |
exch2_oi(1,4)=0 |
297 |
exch2_oj(1,4)=32 |
298 |
|
299 |
exch2_neighbourId(2,4)=3 |
300 |
exch2_iLo(2,4)=0 |
301 |
exch2_iHi(2,4)=33 |
302 |
exch2_jLo(2,4)=0 |
303 |
exch2_jHi(2,4)=0 |
304 |
exch2_opposingSend(2,4)=1 |
305 |
exch2_pij(1,2,4)=1 |
306 |
exch2_pij(2,2,4)=0 |
307 |
exch2_pij(3,2,4)=0 |
308 |
exch2_pij(4,2,4)=1 |
309 |
exch2_oi(2,4)=0 |
310 |
exch2_oj(2,4)=0 |
311 |
|
312 |
exch2_neighbourId(3,4)=7 |
313 |
exch2_iLo(3,4)=33 |
314 |
exch2_iHi(3,4)=33 |
315 |
exch2_jLo(3,4)=0 |
316 |
exch2_jHi(3,4)=17 |
317 |
exch2_opposingSend(3,4)=3 |
318 |
exch2_pij(1,3,4)=0 |
319 |
exch2_pij(2,3,4)=1 |
320 |
exch2_pij(3,3,4)=-1 |
321 |
exch2_pij(4,3,4)=0 |
322 |
exch2_oi(3,4)=32 |
323 |
exch2_oj(3,4)=33 |
324 |
|
325 |
exch2_neighbourId(4,4)=2 |
326 |
exch2_iLo(4,4)=0 |
327 |
exch2_iHi(4,4)=0 |
328 |
exch2_jLo(4,4)=0 |
329 |
exch2_jHi(4,4)=17 |
330 |
exch2_opposingSend(4,4)=4 |
331 |
exch2_pij(1,4,4)=1 |
332 |
exch2_pij(2,4,4)=0 |
333 |
exch2_pij(3,4,4)=0 |
334 |
exch2_pij(4,4,4)=1 |
335 |
exch2_oi(4,4)=-32 |
336 |
exch2_oj(4,4)=0 |
337 |
RETURN |
338 |
END |
339 |
|
340 |
SUBROUTINE W2_E2SETUP_5 |
341 |
C Topology for tile 5 |
342 |
#include "W2_EXCH2_TOPOLOGY.h" |
343 |
exch2_tNx(5)=32 |
344 |
exch2_tNy(5)=16 |
345 |
exch2_tBasex(5)=0 |
346 |
exch2_tBasey(5)=0 |
347 |
exch2_txGlobalo(5)=65 |
348 |
exch2_tyGlobalo(5)=1 |
349 |
exch2_isWedge(5)=1 |
350 |
exch2_isNedge(5)=0 |
351 |
exch2_isEedge(5)=1 |
352 |
exch2_isSedge(5)=1 |
353 |
exch2_myFace(5)=3 |
354 |
exch2_mydNx(5)=32 |
355 |
exch2_mydNy(5)=32 |
356 |
exch2_nNeighbours(5)=4 |
357 |
|
358 |
exch2_neighbourId(1,5)=6 |
359 |
exch2_iLo(1,5)=0 |
360 |
exch2_iHi(1,5)=33 |
361 |
exch2_jLo(1,5)=17 |
362 |
exch2_jHi(1,5)=17 |
363 |
exch2_opposingSend(1,5)=3 |
364 |
exch2_pij(1,1,5)=1 |
365 |
exch2_pij(2,1,5)=0 |
366 |
exch2_pij(3,1,5)=0 |
367 |
exch2_pij(4,1,5)=1 |
368 |
exch2_oi(1,5)=0 |
369 |
exch2_oj(1,5)=0 |
370 |
|
371 |
exch2_neighbourId(2,5)=4 |
372 |
exch2_iLo(2,5)=0 |
373 |
exch2_iHi(2,5)=33 |
374 |
exch2_jLo(2,5)=0 |
375 |
exch2_jHi(2,5)=0 |
376 |
exch2_opposingSend(2,5)=1 |
377 |
exch2_pij(1,2,5)=1 |
378 |
exch2_pij(2,2,5)=0 |
379 |
exch2_pij(3,2,5)=0 |
380 |
exch2_pij(4,2,5)=1 |
381 |
exch2_oi(2,5)=0 |
382 |
exch2_oj(2,5)=-32 |
383 |
|
384 |
exch2_neighbourId(3,5)=7 |
385 |
exch2_iLo(3,5)=33 |
386 |
exch2_iHi(3,5)=33 |
387 |
exch2_jLo(3,5)=0 |
388 |
exch2_jHi(3,5)=17 |
389 |
exch2_opposingSend(3,5)=5 |
390 |
exch2_pij(1,3,5)=1 |
391 |
exch2_pij(2,3,5)=0 |
392 |
exch2_pij(3,3,5)=0 |
393 |
exch2_pij(4,3,5)=1 |
394 |
exch2_oi(3,5)=32 |
395 |
exch2_oj(3,5)=0 |
396 |
|
397 |
exch2_neighbourId(4,5)=2 |
398 |
exch2_iLo(4,5)=0 |
399 |
exch2_iHi(4,5)=0 |
400 |
exch2_jLo(4,5)=0 |
401 |
exch2_jHi(4,5)=17 |
402 |
exch2_opposingSend(4,5)=1 |
403 |
exch2_pij(1,4,5)=0 |
404 |
exch2_pij(2,4,5)=1 |
405 |
exch2_pij(3,4,5)=-1 |
406 |
exch2_pij(4,4,5)=0 |
407 |
exch2_oi(4,5)=-32 |
408 |
exch2_oj(4,5)=33 |
409 |
RETURN |
410 |
END |
411 |
|
412 |
SUBROUTINE W2_E2SETUP_6 |
413 |
C Topology for tile 6 |
414 |
#include "W2_EXCH2_TOPOLOGY.h" |
415 |
exch2_tNx(6)=32 |
416 |
exch2_tNy(6)=16 |
417 |
exch2_tBasex(6)=0 |
418 |
exch2_tBasey(6)=16 |
419 |
exch2_txGlobalo(6)=65 |
420 |
exch2_tyGlobalo(6)=17 |
421 |
exch2_isWedge(6)=1 |
422 |
exch2_isNedge(6)=1 |
423 |
exch2_isEedge(6)=1 |
424 |
exch2_isSedge(6)=0 |
425 |
exch2_myFace(6)=3 |
426 |
exch2_mydNx(6)=32 |
427 |
exch2_mydNy(6)=32 |
428 |
exch2_nNeighbours(6)=5 |
429 |
|
430 |
exch2_neighbourId(1,6)=9 |
431 |
exch2_iLo(1,6)=16 |
432 |
exch2_iHi(1,6)=33 |
433 |
exch2_jLo(1,6)=17 |
434 |
exch2_jHi(1,6)=17 |
435 |
exch2_opposingSend(1,6)=4 |
436 |
exch2_pij(1,1,6)=0 |
437 |
exch2_pij(2,1,6)=-1 |
438 |
exch2_pij(3,1,6)=1 |
439 |
exch2_pij(4,1,6)=0 |
440 |
exch2_oi(1,6)=33 |
441 |
exch2_oj(1,6)=32 |
442 |
|
443 |
exch2_neighbourId(2,6)=10 |
444 |
exch2_iLo(2,6)=0 |
445 |
exch2_iHi(2,6)=17 |
446 |
exch2_jLo(2,6)=17 |
447 |
exch2_jHi(2,6)=17 |
448 |
exch2_opposingSend(2,6)=5 |
449 |
exch2_pij(1,2,6)=0 |
450 |
exch2_pij(2,2,6)=-1 |
451 |
exch2_pij(3,2,6)=1 |
452 |
exch2_pij(4,2,6)=0 |
453 |
exch2_oi(2,6)=33 |
454 |
exch2_oj(2,6)=32 |
455 |
|
456 |
exch2_neighbourId(3,6)=5 |
457 |
exch2_iLo(3,6)=0 |
458 |
exch2_iHi(3,6)=33 |
459 |
exch2_jLo(3,6)=0 |
460 |
exch2_jHi(3,6)=0 |
461 |
exch2_opposingSend(3,6)=1 |
462 |
exch2_pij(1,3,6)=1 |
463 |
exch2_pij(2,3,6)=0 |
464 |
exch2_pij(3,3,6)=0 |
465 |
exch2_pij(4,3,6)=1 |
466 |
exch2_oi(3,6)=0 |
467 |
exch2_oj(3,6)=0 |
468 |
|
469 |
exch2_neighbourId(4,6)=8 |
470 |
exch2_iLo(4,6)=33 |
471 |
exch2_iHi(4,6)=33 |
472 |
exch2_jLo(4,6)=0 |
473 |
exch2_jHi(4,6)=17 |
474 |
exch2_opposingSend(4,6)=4 |
475 |
exch2_pij(1,4,6)=1 |
476 |
exch2_pij(2,4,6)=0 |
477 |
exch2_pij(3,4,6)=0 |
478 |
exch2_pij(4,4,6)=1 |
479 |
exch2_oi(4,6)=32 |
480 |
exch2_oj(4,6)=0 |
481 |
|
482 |
exch2_neighbourId(5,6)=2 |
483 |
exch2_iLo(5,6)=0 |
484 |
exch2_iHi(5,6)=0 |
485 |
exch2_jLo(5,6)=0 |
486 |
exch2_jHi(5,6)=17 |
487 |
exch2_opposingSend(5,6)=2 |
488 |
exch2_pij(1,5,6)=0 |
489 |
exch2_pij(2,5,6)=1 |
490 |
exch2_pij(3,5,6)=-1 |
491 |
exch2_pij(4,5,6)=0 |
492 |
exch2_oi(5,6)=-32 |
493 |
exch2_oj(5,6)=33 |
494 |
RETURN |
495 |
END |
496 |
|
497 |
SUBROUTINE W2_E2SETUP_7 |
498 |
C Topology for tile 7 |
499 |
#include "W2_EXCH2_TOPOLOGY.h" |
500 |
exch2_tNx(7)=32 |
501 |
exch2_tNy(7)=16 |
502 |
exch2_tBasex(7)=0 |
503 |
exch2_tBasey(7)=0 |
504 |
exch2_txGlobalo(7)=97 |
505 |
exch2_tyGlobalo(7)=1 |
506 |
exch2_isWedge(7)=1 |
507 |
exch2_isNedge(7)=0 |
508 |
exch2_isEedge(7)=1 |
509 |
exch2_isSedge(7)=1 |
510 |
exch2_myFace(7)=4 |
511 |
exch2_mydNx(7)=32 |
512 |
exch2_mydNy(7)=32 |
513 |
exch2_nNeighbours(7)=5 |
514 |
|
515 |
exch2_neighbourId(1,7)=8 |
516 |
exch2_iLo(1,7)=0 |
517 |
exch2_iHi(1,7)=33 |
518 |
exch2_jLo(1,7)=17 |
519 |
exch2_jHi(1,7)=17 |
520 |
exch2_opposingSend(1,7)=2 |
521 |
exch2_pij(1,1,7)=1 |
522 |
exch2_pij(2,1,7)=0 |
523 |
exch2_pij(3,1,7)=0 |
524 |
exch2_pij(4,1,7)=1 |
525 |
exch2_oi(1,7)=0 |
526 |
exch2_oj(1,7)=0 |
527 |
|
528 |
exch2_neighbourId(2,7)=3 |
529 |
exch2_iLo(2,7)=16 |
530 |
exch2_iHi(2,7)=33 |
531 |
exch2_jLo(2,7)=0 |
532 |
exch2_jHi(2,7)=0 |
533 |
exch2_opposingSend(2,7)=4 |
534 |
exch2_pij(1,2,7)=0 |
535 |
exch2_pij(2,2,7)=-1 |
536 |
exch2_pij(3,2,7)=1 |
537 |
exch2_pij(4,2,7)=0 |
538 |
exch2_oi(2,7)=33 |
539 |
exch2_oj(2,7)=-32 |
540 |
|
541 |
exch2_neighbourId(3,7)=4 |
542 |
exch2_iLo(3,7)=0 |
543 |
exch2_iHi(3,7)=17 |
544 |
exch2_jLo(3,7)=0 |
545 |
exch2_jHi(3,7)=0 |
546 |
exch2_opposingSend(3,7)=3 |
547 |
exch2_pij(1,3,7)=0 |
548 |
exch2_pij(2,3,7)=-1 |
549 |
exch2_pij(3,3,7)=1 |
550 |
exch2_pij(4,3,7)=0 |
551 |
exch2_oi(3,7)=33 |
552 |
exch2_oj(3,7)=-32 |
553 |
|
554 |
exch2_neighbourId(4,7)=11 |
555 |
exch2_iLo(4,7)=33 |
556 |
exch2_iHi(4,7)=33 |
557 |
exch2_jLo(4,7)=0 |
558 |
exch2_jHi(4,7)=17 |
559 |
exch2_opposingSend(4,7)=2 |
560 |
exch2_pij(1,4,7)=0 |
561 |
exch2_pij(2,4,7)=1 |
562 |
exch2_pij(3,4,7)=-1 |
563 |
exch2_pij(4,4,7)=0 |
564 |
exch2_oi(4,7)=32 |
565 |
exch2_oj(4,7)=33 |
566 |
|
567 |
exch2_neighbourId(5,7)=5 |
568 |
exch2_iLo(5,7)=0 |
569 |
exch2_iHi(5,7)=0 |
570 |
exch2_jLo(5,7)=0 |
571 |
exch2_jHi(5,7)=17 |
572 |
exch2_opposingSend(5,7)=3 |
573 |
exch2_pij(1,5,7)=1 |
574 |
exch2_pij(2,5,7)=0 |
575 |
exch2_pij(3,5,7)=0 |
576 |
exch2_pij(4,5,7)=1 |
577 |
exch2_oi(5,7)=-32 |
578 |
exch2_oj(5,7)=0 |
579 |
RETURN |
580 |
END |
581 |
|
582 |
SUBROUTINE W2_E2SETUP_8 |
583 |
C Topology for tile 8 |
584 |
#include "W2_EXCH2_TOPOLOGY.h" |
585 |
exch2_tNx(8)=32 |
586 |
exch2_tNy(8)=16 |
587 |
exch2_tBasex(8)=0 |
588 |
exch2_tBasey(8)=16 |
589 |
exch2_txGlobalo(8)=97 |
590 |
exch2_tyGlobalo(8)=17 |
591 |
exch2_isWedge(8)=1 |
592 |
exch2_isNedge(8)=1 |
593 |
exch2_isEedge(8)=1 |
594 |
exch2_isSedge(8)=0 |
595 |
exch2_myFace(8)=4 |
596 |
exch2_mydNx(8)=32 |
597 |
exch2_mydNy(8)=32 |
598 |
exch2_nNeighbours(8)=4 |
599 |
|
600 |
exch2_neighbourId(1,8)=9 |
601 |
exch2_iLo(1,8)=0 |
602 |
exch2_iHi(1,8)=33 |
603 |
exch2_jLo(1,8)=17 |
604 |
exch2_jHi(1,8)=17 |
605 |
exch2_opposingSend(1,8)=2 |
606 |
exch2_pij(1,1,8)=1 |
607 |
exch2_pij(2,1,8)=0 |
608 |
exch2_pij(3,1,8)=0 |
609 |
exch2_pij(4,1,8)=1 |
610 |
exch2_oi(1,8)=0 |
611 |
exch2_oj(1,8)=32 |
612 |
|
613 |
exch2_neighbourId(2,8)=7 |
614 |
exch2_iLo(2,8)=0 |
615 |
exch2_iHi(2,8)=33 |
616 |
exch2_jLo(2,8)=0 |
617 |
exch2_jHi(2,8)=0 |
618 |
exch2_opposingSend(2,8)=1 |
619 |
exch2_pij(1,2,8)=1 |
620 |
exch2_pij(2,2,8)=0 |
621 |
exch2_pij(3,2,8)=0 |
622 |
exch2_pij(4,2,8)=1 |
623 |
exch2_oi(2,8)=0 |
624 |
exch2_oj(2,8)=0 |
625 |
|
626 |
exch2_neighbourId(3,8)=11 |
627 |
exch2_iLo(3,8)=33 |
628 |
exch2_iHi(3,8)=33 |
629 |
exch2_jLo(3,8)=0 |
630 |
exch2_jHi(3,8)=17 |
631 |
exch2_opposingSend(3,8)=3 |
632 |
exch2_pij(1,3,8)=0 |
633 |
exch2_pij(2,3,8)=1 |
634 |
exch2_pij(3,3,8)=-1 |
635 |
exch2_pij(4,3,8)=0 |
636 |
exch2_oi(3,8)=32 |
637 |
exch2_oj(3,8)=33 |
638 |
|
639 |
exch2_neighbourId(4,8)=6 |
640 |
exch2_iLo(4,8)=0 |
641 |
exch2_iHi(4,8)=0 |
642 |
exch2_jLo(4,8)=0 |
643 |
exch2_jHi(4,8)=17 |
644 |
exch2_opposingSend(4,8)=4 |
645 |
exch2_pij(1,4,8)=1 |
646 |
exch2_pij(2,4,8)=0 |
647 |
exch2_pij(3,4,8)=0 |
648 |
exch2_pij(4,4,8)=1 |
649 |
exch2_oi(4,8)=-32 |
650 |
exch2_oj(4,8)=0 |
651 |
RETURN |
652 |
END |
653 |
|
654 |
SUBROUTINE W2_E2SETUP_9 |
655 |
C Topology for tile 9 |
656 |
#include "W2_EXCH2_TOPOLOGY.h" |
657 |
exch2_tNx(9)=32 |
658 |
exch2_tNy(9)=16 |
659 |
exch2_tBasex(9)=0 |
660 |
exch2_tBasey(9)=0 |
661 |
exch2_txGlobalo(9)=129 |
662 |
exch2_tyGlobalo(9)=1 |
663 |
exch2_isWedge(9)=1 |
664 |
exch2_isNedge(9)=0 |
665 |
exch2_isEedge(9)=1 |
666 |
exch2_isSedge(9)=1 |
667 |
exch2_myFace(9)=5 |
668 |
exch2_mydNx(9)=32 |
669 |
exch2_mydNy(9)=32 |
670 |
exch2_nNeighbours(9)=4 |
671 |
|
672 |
exch2_neighbourId(1,9)=10 |
673 |
exch2_iLo(1,9)=0 |
674 |
exch2_iHi(1,9)=33 |
675 |
exch2_jLo(1,9)=17 |
676 |
exch2_jHi(1,9)=17 |
677 |
exch2_opposingSend(1,9)=3 |
678 |
exch2_pij(1,1,9)=1 |
679 |
exch2_pij(2,1,9)=0 |
680 |
exch2_pij(3,1,9)=0 |
681 |
exch2_pij(4,1,9)=1 |
682 |
exch2_oi(1,9)=0 |
683 |
exch2_oj(1,9)=0 |
684 |
|
685 |
exch2_neighbourId(2,9)=8 |
686 |
exch2_iLo(2,9)=0 |
687 |
exch2_iHi(2,9)=33 |
688 |
exch2_jLo(2,9)=0 |
689 |
exch2_jHi(2,9)=0 |
690 |
exch2_opposingSend(2,9)=1 |
691 |
exch2_pij(1,2,9)=1 |
692 |
exch2_pij(2,2,9)=0 |
693 |
exch2_pij(3,2,9)=0 |
694 |
exch2_pij(4,2,9)=1 |
695 |
exch2_oi(2,9)=0 |
696 |
exch2_oj(2,9)=-32 |
697 |
|
698 |
exch2_neighbourId(3,9)=11 |
699 |
exch2_iLo(3,9)=33 |
700 |
exch2_iHi(3,9)=33 |
701 |
exch2_jLo(3,9)=0 |
702 |
exch2_jHi(3,9)=17 |
703 |
exch2_opposingSend(3,9)=5 |
704 |
exch2_pij(1,3,9)=1 |
705 |
exch2_pij(2,3,9)=0 |
706 |
exch2_pij(3,3,9)=0 |
707 |
exch2_pij(4,3,9)=1 |
708 |
exch2_oi(3,9)=32 |
709 |
exch2_oj(3,9)=0 |
710 |
|
711 |
exch2_neighbourId(4,9)=6 |
712 |
exch2_iLo(4,9)=0 |
713 |
exch2_iHi(4,9)=0 |
714 |
exch2_jLo(4,9)=0 |
715 |
exch2_jHi(4,9)=17 |
716 |
exch2_opposingSend(4,9)=1 |
717 |
exch2_pij(1,4,9)=0 |
718 |
exch2_pij(2,4,9)=1 |
719 |
exch2_pij(3,4,9)=-1 |
720 |
exch2_pij(4,4,9)=0 |
721 |
exch2_oi(4,9)=-32 |
722 |
exch2_oj(4,9)=33 |
723 |
RETURN |
724 |
END |
725 |
|
726 |
SUBROUTINE W2_E2SETUP_10 |
727 |
C Topology for tile 10 |
728 |
#include "W2_EXCH2_TOPOLOGY.h" |
729 |
exch2_tNx(10)=32 |
730 |
exch2_tNy(10)=16 |
731 |
exch2_tBasex(10)=0 |
732 |
exch2_tBasey(10)=16 |
733 |
exch2_txGlobalo(10)=129 |
734 |
exch2_tyGlobalo(10)=17 |
735 |
exch2_isWedge(10)=1 |
736 |
exch2_isNedge(10)=1 |
737 |
exch2_isEedge(10)=1 |
738 |
exch2_isSedge(10)=0 |
739 |
exch2_myFace(10)=5 |
740 |
exch2_mydNx(10)=32 |
741 |
exch2_mydNy(10)=32 |
742 |
exch2_nNeighbours(10)=5 |
743 |
|
744 |
exch2_neighbourId(1,10)=1 |
745 |
exch2_iLo(1,10)=16 |
746 |
exch2_iHi(1,10)=33 |
747 |
exch2_jLo(1,10)=17 |
748 |
exch2_jHi(1,10)=17 |
749 |
exch2_opposingSend(1,10)=4 |
750 |
exch2_pij(1,1,10)=0 |
751 |
exch2_pij(2,1,10)=-1 |
752 |
exch2_pij(3,1,10)=1 |
753 |
exch2_pij(4,1,10)=0 |
754 |
exch2_oi(1,10)=33 |
755 |
exch2_oj(1,10)=32 |
756 |
|
757 |
exch2_neighbourId(2,10)=2 |
758 |
exch2_iLo(2,10)=0 |
759 |
exch2_iHi(2,10)=17 |
760 |
exch2_jLo(2,10)=17 |
761 |
exch2_jHi(2,10)=17 |
762 |
exch2_opposingSend(2,10)=5 |
763 |
exch2_pij(1,2,10)=0 |
764 |
exch2_pij(2,2,10)=-1 |
765 |
exch2_pij(3,2,10)=1 |
766 |
exch2_pij(4,2,10)=0 |
767 |
exch2_oi(2,10)=33 |
768 |
exch2_oj(2,10)=32 |
769 |
|
770 |
exch2_neighbourId(3,10)=9 |
771 |
exch2_iLo(3,10)=0 |
772 |
exch2_iHi(3,10)=33 |
773 |
exch2_jLo(3,10)=0 |
774 |
exch2_jHi(3,10)=0 |
775 |
exch2_opposingSend(3,10)=1 |
776 |
exch2_pij(1,3,10)=1 |
777 |
exch2_pij(2,3,10)=0 |
778 |
exch2_pij(3,3,10)=0 |
779 |
exch2_pij(4,3,10)=1 |
780 |
exch2_oi(3,10)=0 |
781 |
exch2_oj(3,10)=0 |
782 |
|
783 |
exch2_neighbourId(4,10)=12 |
784 |
exch2_iLo(4,10)=33 |
785 |
exch2_iHi(4,10)=33 |
786 |
exch2_jLo(4,10)=0 |
787 |
exch2_jHi(4,10)=17 |
788 |
exch2_opposingSend(4,10)=4 |
789 |
exch2_pij(1,4,10)=1 |
790 |
exch2_pij(2,4,10)=0 |
791 |
exch2_pij(3,4,10)=0 |
792 |
exch2_pij(4,4,10)=1 |
793 |
exch2_oi(4,10)=32 |
794 |
exch2_oj(4,10)=0 |
795 |
|
796 |
exch2_neighbourId(5,10)=6 |
797 |
exch2_iLo(5,10)=0 |
798 |
exch2_iHi(5,10)=0 |
799 |
exch2_jLo(5,10)=0 |
800 |
exch2_jHi(5,10)=17 |
801 |
exch2_opposingSend(5,10)=2 |
802 |
exch2_pij(1,5,10)=0 |
803 |
exch2_pij(2,5,10)=1 |
804 |
exch2_pij(3,5,10)=-1 |
805 |
exch2_pij(4,5,10)=0 |
806 |
exch2_oi(5,10)=-32 |
807 |
exch2_oj(5,10)=33 |
808 |
RETURN |
809 |
END |
810 |
|
811 |
SUBROUTINE W2_E2SETUP_11 |
812 |
C Topology for tile 11 |
813 |
#include "W2_EXCH2_TOPOLOGY.h" |
814 |
exch2_tNx(11)=32 |
815 |
exch2_tNy(11)=16 |
816 |
exch2_tBasex(11)=0 |
817 |
exch2_tBasey(11)=0 |
818 |
exch2_txGlobalo(11)=161 |
819 |
exch2_tyGlobalo(11)=1 |
820 |
exch2_isWedge(11)=1 |
821 |
exch2_isNedge(11)=0 |
822 |
exch2_isEedge(11)=1 |
823 |
exch2_isSedge(11)=1 |
824 |
exch2_myFace(11)=6 |
825 |
exch2_mydNx(11)=32 |
826 |
exch2_mydNy(11)=32 |
827 |
exch2_nNeighbours(11)=5 |
828 |
|
829 |
exch2_neighbourId(1,11)=12 |
830 |
exch2_iLo(1,11)=0 |
831 |
exch2_iHi(1,11)=33 |
832 |
exch2_jLo(1,11)=17 |
833 |
exch2_jHi(1,11)=17 |
834 |
exch2_opposingSend(1,11)=2 |
835 |
exch2_pij(1,1,11)=1 |
836 |
exch2_pij(2,1,11)=0 |
837 |
exch2_pij(3,1,11)=0 |
838 |
exch2_pij(4,1,11)=1 |
839 |
exch2_oi(1,11)=0 |
840 |
exch2_oj(1,11)=0 |
841 |
|
842 |
exch2_neighbourId(2,11)=7 |
843 |
exch2_iLo(2,11)=16 |
844 |
exch2_iHi(2,11)=33 |
845 |
exch2_jLo(2,11)=0 |
846 |
exch2_jHi(2,11)=0 |
847 |
exch2_opposingSend(2,11)=4 |
848 |
exch2_pij(1,2,11)=0 |
849 |
exch2_pij(2,2,11)=-1 |
850 |
exch2_pij(3,2,11)=1 |
851 |
exch2_pij(4,2,11)=0 |
852 |
exch2_oi(2,11)=33 |
853 |
exch2_oj(2,11)=-32 |
854 |
|
855 |
exch2_neighbourId(3,11)=8 |
856 |
exch2_iLo(3,11)=0 |
857 |
exch2_iHi(3,11)=17 |
858 |
exch2_jLo(3,11)=0 |
859 |
exch2_jHi(3,11)=0 |
860 |
exch2_opposingSend(3,11)=3 |
861 |
exch2_pij(1,3,11)=0 |
862 |
exch2_pij(2,3,11)=-1 |
863 |
exch2_pij(3,3,11)=1 |
864 |
exch2_pij(4,3,11)=0 |
865 |
exch2_oi(3,11)=33 |
866 |
exch2_oj(3,11)=-32 |
867 |
|
868 |
exch2_neighbourId(4,11)=3 |
869 |
exch2_iLo(4,11)=33 |
870 |
exch2_iHi(4,11)=33 |
871 |
exch2_jLo(4,11)=0 |
872 |
exch2_jHi(4,11)=17 |
873 |
exch2_opposingSend(4,11)=2 |
874 |
exch2_pij(1,4,11)=0 |
875 |
exch2_pij(2,4,11)=1 |
876 |
exch2_pij(3,4,11)=-1 |
877 |
exch2_pij(4,4,11)=0 |
878 |
exch2_oi(4,11)=32 |
879 |
exch2_oj(4,11)=33 |
880 |
|
881 |
exch2_neighbourId(5,11)=9 |
882 |
exch2_iLo(5,11)=0 |
883 |
exch2_iHi(5,11)=0 |
884 |
exch2_jLo(5,11)=0 |
885 |
exch2_jHi(5,11)=17 |
886 |
exch2_opposingSend(5,11)=3 |
887 |
exch2_pij(1,5,11)=1 |
888 |
exch2_pij(2,5,11)=0 |
889 |
exch2_pij(3,5,11)=0 |
890 |
exch2_pij(4,5,11)=1 |
891 |
exch2_oi(5,11)=-32 |
892 |
exch2_oj(5,11)=0 |
893 |
RETURN |
894 |
END |
895 |
|
896 |
SUBROUTINE W2_E2SETUP_12 |
897 |
C Topology for tile 12 |
898 |
#include "W2_EXCH2_TOPOLOGY.h" |
899 |
exch2_tNx(12)=32 |
900 |
exch2_tNy(12)=16 |
901 |
exch2_tBasex(12)=0 |
902 |
exch2_tBasey(12)=16 |
903 |
exch2_txGlobalo(12)=161 |
904 |
exch2_tyGlobalo(12)=17 |
905 |
exch2_isWedge(12)=1 |
906 |
exch2_isNedge(12)=1 |
907 |
exch2_isEedge(12)=1 |
908 |
exch2_isSedge(12)=0 |
909 |
exch2_myFace(12)=6 |
910 |
exch2_mydNx(12)=32 |
911 |
exch2_mydNy(12)=32 |
912 |
exch2_nNeighbours(12)=4 |
913 |
|
914 |
exch2_neighbourId(1,12)=1 |
915 |
exch2_iLo(1,12)=0 |
916 |
exch2_iHi(1,12)=33 |
917 |
exch2_jLo(1,12)=17 |
918 |
exch2_jHi(1,12)=17 |
919 |
exch2_opposingSend(1,12)=2 |
920 |
exch2_pij(1,1,12)=1 |
921 |
exch2_pij(2,1,12)=0 |
922 |
exch2_pij(3,1,12)=0 |
923 |
exch2_pij(4,1,12)=1 |
924 |
exch2_oi(1,12)=0 |
925 |
exch2_oj(1,12)=32 |
926 |
|
927 |
exch2_neighbourId(2,12)=11 |
928 |
exch2_iLo(2,12)=0 |
929 |
exch2_iHi(2,12)=33 |
930 |
exch2_jLo(2,12)=0 |
931 |
exch2_jHi(2,12)=0 |
932 |
exch2_opposingSend(2,12)=1 |
933 |
exch2_pij(1,2,12)=1 |
934 |
exch2_pij(2,2,12)=0 |
935 |
exch2_pij(3,2,12)=0 |
936 |
exch2_pij(4,2,12)=1 |
937 |
exch2_oi(2,12)=0 |
938 |
exch2_oj(2,12)=0 |
939 |
|
940 |
exch2_neighbourId(3,12)=3 |
941 |
exch2_iLo(3,12)=33 |
942 |
exch2_iHi(3,12)=33 |
943 |
exch2_jLo(3,12)=0 |
944 |
exch2_jHi(3,12)=17 |
945 |
exch2_opposingSend(3,12)=3 |
946 |
exch2_pij(1,3,12)=0 |
947 |
exch2_pij(2,3,12)=1 |
948 |
exch2_pij(3,3,12)=-1 |
949 |
exch2_pij(4,3,12)=0 |
950 |
exch2_oi(3,12)=32 |
951 |
exch2_oj(3,12)=33 |
952 |
|
953 |
exch2_neighbourId(4,12)=10 |
954 |
exch2_iLo(4,12)=0 |
955 |
exch2_iHi(4,12)=0 |
956 |
exch2_jLo(4,12)=0 |
957 |
exch2_jHi(4,12)=17 |
958 |
exch2_opposingSend(4,12)=4 |
959 |
exch2_pij(1,4,12)=1 |
960 |
exch2_pij(2,4,12)=0 |
961 |
exch2_pij(3,4,12)=0 |
962 |
exch2_pij(4,4,12)=1 |
963 |
exch2_oi(4,12)=-32 |
964 |
exch2_oj(4,12)=0 |
965 |
RETURN |
966 |
END |
967 |
|