~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to contrib/Netgen/libsrc/meshing/prism2rls_2.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2009-01-07 16:02:08 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090107160208-vklhtj69br5yw5bh
Tags: 2.2.6.dfsg-2
* debian/control: fixed lintian warning "debhelper-but-no-misc-depends"
* debian/watch: fixed lintian warning
  "debian-watch-file-should-mangle-version"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
namespace netgen
2
 
{
3
 
const char * prismrules2[] = {
4
 
"tolfak 0.5\n",\
5
 
"\n",\
6
 
"rule \"prism on quad\"\n",\
7
 
"\n",\
8
 
"quality 1\n",\
9
 
"\n",\
10
 
"mappoints\n",\
11
 
"(0, 0, 0);\n",\
12
 
"(1, 0, 0);\n",\
13
 
"(1, 1, 0);\n",\
14
 
"(0, 1, 0);\n",\
15
 
"(0.5, 0, -0.86);\n",\
16
 
"(0.5, 1, -0.86);\n",\
17
 
"\n",\
18
 
"mapfaces\n",\
19
 
"(1, 2, 3, 4) del;\n",\
20
 
"(1, 5, 2) del;\n",\
21
 
"(4, 3, 6) del;\n",\
22
 
"\n",\
23
 
"newpoints\n",\
24
 
"\n",\
25
 
"newfaces\n",\
26
 
"(5, 2, 3, 6);\n",\
27
 
"(1, 5, 6, 4);\n",\
28
 
"\n",\
29
 
"elements\n",\
30
 
"(1, 5, 2, 4, 6, 3);\n",\
31
 
"\n",\
32
 
"orientations\n",\
33
 
"(1, 2, 3, 5);\n",\
34
 
"(1, 3, 4, 6);\n",\
35
 
"\n",\
36
 
"freezone2\n",\
37
 
"{ 1 P1 };\n",\
38
 
"{ 1 P2 };\n",\
39
 
"{ 1 P3 };\n",\
40
 
"{ 1 P4 };\n",\
41
 
"{ 1 P5 };\n",\
42
 
"{ 1 P6 };\n",\
43
 
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
44
 
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
45
 
"\n",\
46
 
"freezonelimit\n",\
47
 
"{ 1 P1 };\n",\
48
 
"{ 1 P2 };\n",\
49
 
"{ 1 P3 };\n",\
50
 
"{ 1 P4 };\n",\
51
 
"{ 1 P5 };\n",\
52
 
"{ 1 P6 };\n",\
53
 
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
54
 
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
55
 
"\n",\
56
 
"\n",\
57
 
"endrule\n",\
58
 
"\n",\
59
 
"\n",\
60
 
"\n",\
61
 
"\n",\
62
 
"\n",\
63
 
"rule \"prism on quad, one trig\"\n",\
64
 
"\n",\
65
 
"quality 2\n",\
66
 
"\n",\
67
 
"mappoints\n",\
68
 
"(0, 0, 0);\n",\
69
 
"(1, 0, 0);\n",\
70
 
"(1, 1, 0);\n",\
71
 
"(0, 1, 0);\n",\
72
 
"(0.5, 0, -0.86);\n",\
73
 
"(0.5, 1, -0.86);\n",\
74
 
"\n",\
75
 
"mapfaces\n",\
76
 
"(1, 2, 3, 4) del;\n",\
77
 
"(1, 5, 2) del;\n",\
78
 
"\n",\
79
 
"newpoints\n",\
80
 
"\n",\
81
 
"newfaces\n",\
82
 
"(5, 2, 3, 6);\n",\
83
 
"(1, 5, 6, 4);\n",\
84
 
"(4, 6, 3);\n",\
85
 
"\n",\
86
 
"elements\n",\
87
 
"(1, 5, 2, 4, 6, 3);\n",\
88
 
"\n",\
89
 
"orientations\n",\
90
 
"(1, 2, 3, 5);\n",\
91
 
"(1, 3, 4, 6);\n",\
92
 
"\n",\
93
 
"freezone2\n",\
94
 
"{ 1 P1 };\n",\
95
 
"{ 1 P2 };\n",\
96
 
"{ 1 P3 };\n",\
97
 
"{ 1 P4 };\n",\
98
 
"{ 1 P5 };\n",\
99
 
"{ 1 P6 };\n",\
100
 
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
101
 
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
102
 
"\n",\
103
 
"freezonelimit\n",\
104
 
"{ 1 P1 };\n",\
105
 
"{ 1 P2 };\n",\
106
 
"{ 1 P3 };\n",\
107
 
"{ 1 P4 };\n",\
108
 
"{ 1 P5 };\n",\
109
 
"{ 1 P6 };\n",\
110
 
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
111
 
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
112
 
"\n",\
113
 
"\n",\
114
 
"endrule\n",\
115
 
"\n",\
116
 
"\n",\
117
 
"\n",\
118
 
"\n",\
119
 
"\n",\
120
 
"\n",\
121
 
"\n",\
122
 
"\n",\
123
 
"rule \"prism on 2 quad\"\n",\
124
 
"\n",\
125
 
"quality 1\n",\
126
 
"\n",\
127
 
"mappoints\n",\
128
 
"(0, 0, 0);\n",\
129
 
"(1, 0, 0);\n",\
130
 
"(1, 1, 0);\n",\
131
 
"(0, 1, 0);\n",\
132
 
"(0.5, 0, -0.86);\n",\
133
 
"(0.5, 1, -0.86);\n",\
134
 
"\n",\
135
 
"mapfaces\n",\
136
 
"(1, 2, 3, 4) del;\n",\
137
 
"(2, 5, 6, 3) del;\n",\
138
 
"(1, 5, 2) del;\n",\
139
 
"(4, 3, 6) del;\n",\
140
 
"\n",\
141
 
"newpoints\n",\
142
 
"\n",\
143
 
"newfaces\n",\
144
 
"(1, 5, 6, 4);\n",\
145
 
"\n",\
146
 
"elements\n",\
147
 
"(1, 5, 2, 4, 6, 3);\n",\
148
 
"\n",\
149
 
"freezone2\n",\
150
 
"{ 1 P1 };\n",\
151
 
"{ 1 P2 };\n",\
152
 
"{ 1 P3 };\n",\
153
 
"{ 1 P4 };\n",\
154
 
"{ 1 P5 };\n",\
155
 
"{ 1 P6 };\n",\
156
 
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
157
 
"\n",\
158
 
"freezonelimit\n",\
159
 
"{ 1 P1 };\n",\
160
 
"{ 1 P2 };\n",\
161
 
"{ 1 P3 };\n",\
162
 
"{ 1 P4 };\n",\
163
 
"{ 1 P5 };\n",\
164
 
"{ 1 P6 };\n",\
165
 
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
166
 
"\n",\
167
 
"freeset\n",\
168
 
"1 2 4 5 6 7;\n",\
169
 
"\n",\
170
 
"freeset\n",\
171
 
"2 3 4 6;\n",\
172
 
"\n",\
173
 
"\n",\
174
 
"endrule\n",\
175
 
"\n",\
176
 
"\n",\
177
 
"\n",\
178
 
"\n",\
179
 
"\n",\
180
 
"\n",\
181
 
"\n",\
182
 
"\n",\
183
 
"rule \"prism on 2 quad, one trig\"\n",\
184
 
"\n",\
185
 
"quality 2\n",\
186
 
"\n",\
187
 
"mappoints\n",\
188
 
"(0, 0, 0);\n",\
189
 
"(1, 0, 0);\n",\
190
 
"(1, 1, 0);\n",\
191
 
"(0, 1, 0);\n",\
192
 
"(0.5, 0, -0.86);\n",\
193
 
"(0.5, 1, -0.86);\n",\
194
 
"\n",\
195
 
"mapfaces\n",\
196
 
"(1, 2, 3, 4) del;\n",\
197
 
"(2, 5, 6, 3) del;\n",\
198
 
"(1, 5, 2) del;\n",\
199
 
"\n",\
200
 
"newpoints\n",\
201
 
"\n",\
202
 
"newfaces\n",\
203
 
"(1, 5, 6, 4);\n",\
204
 
"(4, 6, 3);\n",\
205
 
"\n",\
206
 
"elements\n",\
207
 
"(1, 5, 2, 4, 6, 3);\n",\
208
 
"\n",\
209
 
"freezone2\n",\
210
 
"{ 1 P1 };\n",\
211
 
"{ 1 P2 };\n",\
212
 
"{ 1 P3 };\n",\
213
 
"{ 1 P4 };\n",\
214
 
"{ 1 P5 };\n",\
215
 
"{ 1 P6 };\n",\
216
 
"{ 0.3 P1, -0.1 P2, -0.1 P3, 0.3 P4, 0.3 P5, 0.3 P6 };\n",\
217
 
"\n",\
218
 
"freezonelimit\n",\
219
 
"{ 1 P1 };\n",\
220
 
"{ 1 P2 };\n",\
221
 
"{ 1 P3 };\n",\
222
 
"{ 1 P4 };\n",\
223
 
"{ 1 P5 };\n",\
224
 
"{ 1 P6 };\n",\
225
 
"{ 0.25 P1, 0 P2, 0 P3, 0.25 P4, 0.25 P5, 0.25 P6 };\n",\
226
 
"\n",\
227
 
"freeset\n",\
228
 
"1 2 4 5 6 7;\n",\
229
 
"\n",\
230
 
"freeset\n",\
231
 
"2 3 4 6;\n",\
232
 
"\n",\
233
 
"\n",\
234
 
"endrule\n",\
235
 
"\n",\
236
 
"\n",\
237
 
"\n",\
238
 
"\n",\
239
 
"\n",\
240
 
"\n",\
241
 
"\n",\
242
 
"\n",\
243
 
"\n",\
244
 
"\n",\
245
 
"\n",\
246
 
"rule \"prism on 2 quada\"\n",\
247
 
"\n",\
248
 
"quality 1\n",\
249
 
"\n",\
250
 
"mappoints\n",\
251
 
"(0, 0, 0);\n",\
252
 
"(1, 0, 0);\n",\
253
 
"(1, 1, 0);\n",\
254
 
"(0, 1, 0);\n",\
255
 
"(0.5, 0, -0.86);\n",\
256
 
"(0.5, 1, -0.86);\n",\
257
 
"\n",\
258
 
"mapfaces\n",\
259
 
"(1, 2, 3, 4) del;\n",\
260
 
"(5, 1, 4, 6) del;\n",\
261
 
"(1, 5, 2) del;\n",\
262
 
"(4, 3, 6) del;\n",\
263
 
"\n",\
264
 
"newpoints\n",\
265
 
"\n",\
266
 
"newfaces\n",\
267
 
"(5, 2, 3, 6);\n",\
268
 
"\n",\
269
 
"elements\n",\
270
 
"(1, 5, 2, 4, 6, 3);\n",\
271
 
"\n",\
272
 
"freezone2\n",\
273
 
"{ 1 P1 };\n",\
274
 
"{ 1 P2 };\n",\
275
 
"{ 1 P3 };\n",\
276
 
"{ 1 P4 };\n",\
277
 
"{ 1 P5 };\n",\
278
 
"{ 1 P6 };\n",\
279
 
"{ -0.1 P1, 0.3 P2, 0.3 P3, -0.1 P4, 0.3 P5, 0.3 P6 };\n",\
280
 
"\n",\
281
 
"freezonelimit\n",\
282
 
"{ 1 P1 };\n",\
283
 
"{ 1 P2 };\n",\
284
 
"{ 1 P3 };\n",\
285
 
"{ 1 P4 };\n",\
286
 
"{ 1 P5 };\n",\
287
 
"{ 1 P6 };\n",\
288
 
"{ 0 P1, 0.25 P2, 0.25 P3, 0 P4, 0.25 P5, 0.25 P6 };\n",\
289
 
"\n",\
290
 
"freeset\n",\
291
 
"1 2 3 5 6 7;\n",\
292
 
"\n",\
293
 
"freeset\n",\
294
 
"1 3 4 6;\n",\
295
 
"\n",\
296
 
"\n",\
297
 
"endrule\n",\
298
 
"\n",\
299
 
"\n",\
300
 
"\n",\
301
 
"\n",\
302
 
"\n",\
303
 
"rule \"fill prism\"\n",\
304
 
"\n",\
305
 
"quality 1\n",\
306
 
"\n",\
307
 
"mappoints\n",\
308
 
"(0, 0, 0);\n",\
309
 
"(1, 0, 0);\n",\
310
 
"(1, 1, 0);\n",\
311
 
"(0, 1, 0);\n",\
312
 
"(0.5, 0, -0.86);\n",\
313
 
"(0.5, 1, -0.86);\n",\
314
 
"\n",\
315
 
"mapfaces\n",\
316
 
"(1, 2, 3, 4) del;\n",\
317
 
"(2, 5, 6, 3) del;\n",\
318
 
"(5, 1, 4, 6) del;\n",\
319
 
"(1, 5, 2) del;\n",\
320
 
"(4, 3, 6) del;\n",\
321
 
"\n",\
322
 
"newpoints\n",\
323
 
"\n",\
324
 
"newfaces\n",\
325
 
"\n",\
326
 
"\n",\
327
 
"elements\n",\
328
 
"(1, 5, 2, 4, 6, 3);\n",\
329
 
"\n",\
330
 
"freezone2\n",\
331
 
"{ 1 P1 };\n",\
332
 
"{ 1 P2 };\n",\
333
 
"{ 1 P3 };\n",\
334
 
"{ 1 P4 };\n",\
335
 
"{ 1 P5 };\n",\
336
 
"{ 1 P6 };\n",\
337
 
"\n",\
338
 
"freeset\n",\
339
 
"1 2 4 5;\n",\
340
 
"\n",\
341
 
"freeset\n",\
342
 
"2 3 4 6;\n",\
343
 
"\n",\
344
 
"endrule\n",\
345
 
"\n",\
346
 
"\n",\
347
 
"\n",\
348
 
"\n",\
349
 
"\n",\
350
 
"rule \"prism on 3 quad, one trig\"\n",\
351
 
"\n",\
352
 
"quality 2\n",\
353
 
"\n",\
354
 
"mappoints\n",\
355
 
"(0, 0, 0);\n",\
356
 
"(1, 0, 0);\n",\
357
 
"(1, 1, 0);\n",\
358
 
"(0, 1, 0);\n",\
359
 
"(0.5, 0, -0.86);\n",\
360
 
"(0.5, 1, -0.86);\n",\
361
 
"\n",\
362
 
"mapfaces\n",\
363
 
"(1, 2, 3, 4) del;\n",\
364
 
"(2, 5, 6, 3) del;\n",\
365
 
"(5, 1, 4, 6) del;\n",\
366
 
"(1, 5, 2) del;\n",\
367
 
"\n",\
368
 
"newpoints\n",\
369
 
"\n",\
370
 
"newfaces\n",\
371
 
"(4, 6, 3);\n",\
372
 
"\n",\
373
 
"\n",\
374
 
"elements\n",\
375
 
"(1, 5, 2, 4, 6, 3);\n",\
376
 
"\n",\
377
 
"freezone2\n",\
378
 
"{ 1 P1 };\n",\
379
 
"{ 1 P2 };\n",\
380
 
"{ 1 P3 };\n",\
381
 
"{ 1 P4 };\n",\
382
 
"{ 1 P5 };\n",\
383
 
"{ 1 P6 };\n",\
384
 
"\n",\
385
 
"freeset\n",\
386
 
"1 2 4 5;\n",\
387
 
"\n",\
388
 
"freeset\n",\
389
 
"2 3 4 6;\n",\
390
 
"\n",\
391
 
"endrule\n",\
392
 
"\n",\
393
 
"\n",\
394
 
"\n",\
395
 
"\n",\
396
 
"\n",\
397
 
"\n",\
398
 
"\n",\
399
 
"\n",\
400
 
"\n",\
401
 
"\n",\
402
 
"\n",\
403
 
"\n",\
404
 
"\n",\
405
 
"\n",\
406
 
"rule \"flat prism\"\n",\
407
 
"\n",\
408
 
"quality 1\n",\
409
 
"\n",\
410
 
"mappoints\n",\
411
 
"(0, 0, 0);\n",\
412
 
"(1, 0, 0);\n",\
413
 
"(0.5, 0.866, 0);\n",\
414
 
"(0, 0, -1);\n",\
415
 
"(1, 0, -1);\n",\
416
 
"(0.5, 0.866, -1);\n",\
417
 
"\n",\
418
 
"\n",\
419
 
"mapfaces\n",\
420
 
"(1, 2, 3) del;\n",\
421
 
"(5, 4, 6) del;\n",\
422
 
"\n",\
423
 
"newpoints\n",\
424
 
"\n",\
425
 
"newfaces\n",\
426
 
"(1, 2, 4);\n",\
427
 
"(4, 2, 5);\n",\
428
 
"(2, 3, 5);\n",\
429
 
"(5, 3, 6);\n",\
430
 
"(3, 1, 6);\n",\
431
 
"(6, 1, 4);\n",\
432
 
"\n",\
433
 
"\n",\
434
 
"\n",\
435
 
"elements\n",\
436
 
"(1, 2, 3, 5, 4, 6);\n",\
437
 
"\n",\
438
 
"freezone2\n",\
439
 
"{ 1 P1 };\n",\
440
 
"{ 1 P2 };\n",\
441
 
"{ 1 P5 };\n",\
442
 
"{ 1 P6 };\n",\
443
 
"endrule\n",\
444
 
"\n",\
445
 
0};
446
 
}