42 #define MAXGRIDTEMP 31
43 #define MAXGRIDMAPLEN 200
62 { 0, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
64 { 1, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
66 { 2, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
68 { 3, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
71 { 4, 13, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1} },
73 { 5, 16, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1,-4,4,4} },
75 {12, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,1,4,4,-4,-4,-4,-4} },
77 {101, 4, 0, {1,4,1,-4} },
79 {140, 17, 0, {1,1,4,1,4,1,4,4,4,-4,4,4,4,1,4,4,1} },
82 {10, 19, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,-4,4,1,4,4,4} },
84 {20, 18, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1} },
86 {30, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
88 {31, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
90 {40, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
92 {41, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
94 {42, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
96 {43, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
98 {50, 5, 0, {4,4,4,1,1} },
100 {51, 8, 0, {4,4,4,1,1,-4,4,4} },
102 {52, 8, 0, {4,4,4,1,1,-4,4,-4} },
104 {53, 11, 0, {4,4,4,1,1,-4,4,4,-4,4,-4} },
106 {90, 21, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,4,4,1,4,4,4,4} },
108 {100, 11, 0, {1,1,2,1,-4,4,4,1,1,1,4} },
110 {110, 16, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,1,1} },
112 {120, 7, 1, {4,4,-4,4,4,4,1} },
114 {204, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
116 {32768, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
118 {32769, 21, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,4,4} },
120 {1000, 20, 1, {1,1,4,1,4,1,4,4,4,4,-4,4,1,4,4,1,2,1,1,2} },
122 {1100, 28, 0, {1,1,4,1,4,1,4,4,4,4,-4,4,1,-4,4,1,4,1,-4,1,1,-4,2,1,1,1,1,1} },
124 {1200, 16, 1, {4,1,-4,1,1,-4,2,1,1,1,1,1,2,1,1,2} }
201 printf(
"getgridtemplate: GDT Template 3.%d not defined.\n", (
int)number);
245 new->extlen = list[1] * 2;
246 new->ext = malloc(
sizeof(
g2int) * new->extlen);
247 for (i = 0; i <
new->extlen; i++)
255 else if (number == 4)
257 new->extlen = list[7];
258 new->ext = malloc(
sizeof(
g2int) * new->extlen);
259 for (i = 0; i <
new->extlen; i++)
263 new->extlen = list[8];
264 new->ext = malloc(
sizeof(
g2int) * new->extlen);
265 for (i = 0; i <
new->extlen; i++)
270 else if (number == 5)
272 new->extlen = list[7];
273 new->ext = malloc(
sizeof(
g2int) * new->extlen);
274 for (i = 0; i <
new->extlen; i++)
278 new->extlen = list[8];
279 new->ext = malloc(
sizeof(
g2int) * new->extlen);
280 for (i = 0; i <
new->extlen; i++)
285 else if (number == 1000)
287 new->extlen = list[19];
288 new->ext = malloc(
sizeof(
g2int) * new->extlen);
289 for (i = 0; i <
new->extlen; i++)
294 else if (number == 1200)
296 new->extlen = list[15];
297 new->ext = malloc(
sizeof(
g2int) * new->extlen);
298 for (i = 0; i <
new->extlen; i++)