Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
eacfa2ba
Commit
eacfa2ba
authored
16 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
15f06981
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
benchmarks/misc/adaptive_tet20.msh
+387
-0
387 additions, 0 deletions
benchmarks/misc/adaptive_tet20.msh
benchmarks/misc/adaptive_tri6.msh
+216
-0
216 additions, 0 deletions
benchmarks/misc/adaptive_tri6.msh
benchmarks/misc/rotate_views.script
+9
-4
9 additions, 4 deletions
benchmarks/misc/rotate_views.script
with
612 additions
and
4 deletions
benchmarks/misc/adaptive_tet20.msh
0 → 100644
+
387
−
0
View file @
eacfa2ba
$MeshFormat
2 0 8
$EndMeshFormat
$Nodes
172
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 1 1 1
6 1 0 1
7 0 0 1
8 0 1 1
9 0.3333333333324915 1 0
10 0.6666666666657831 1 0
11 1 0.6666666666668164 0
12 1 0.3333333333341704 0
13 0.6666666666668164 0 0
14 0.3333333333341704 0 0
15 0 0.3333333333324915 0
16 0 0.6666666666657831 0
17 1 0.6666666666668164 1
18 1 0.3333333333341704 1
19 0.6666666666668164 0 1
20 0.3333333333341704 0 1
21 0 0.3333333333324915 1
22 0 0.6666666666657831 1
23 0.3333333333324915 1 1
24 0.6666666666657831 1 1
25 1 1 0.3333333333324915
26 1 1 0.6666666666657831
27 1 0 0.3333333333324915
28 1 0 0.6666666666657831
29 0 0 0.3333333333324915
30 0 0 0.6666666666657831
31 0 1 0.3333333333324915
32 0 1 0.6666666666657831
33 0.5 0.5 0
34 0.1666666666666667 0.8333333333333334 0
35 0.3333333333333333 0.6666666666666667 0
36 0.3333333333333334 0.3333333333333334 0
37 0.1666666666666667 0.1666666666666667 0
38 0.6666666666666666 0.3333333333333334 0
39 0.8333333333333333 0.1666666666666667 0
40 0.8333333333333334 0.8333333333333334 0
41 0.6666666666666667 0.6666666666666667 0
42 1 0.5 0.5
43 1 0.8333333333333334 0.8333333333333334
44 1 0.6666666666666667 0.6666666666666667
45 1 0.3333333333333334 0.6666666666666666
46 1 0.1666666666666667 0.8333333333333333
47 1 0.8333333333333334 0.1666666666666667
48 1 0.6666666666666667 0.3333333333333333
49 1 0.3333333333333334 0.3333333333333334
50 1 0.1666666666666667 0.1666666666666667
51 0.5 0 0.5
52 0.1666666666666666 0 0.1666666666666667
53 0.3333333333333333 0 0.3333333333333333
54 0.6666666666666666 0 0.3333333333333334
55 0.8333333333333333 0 0.1666666666666667
56 0.1666666666666666 0 0.8333333333333334
57 0.3333333333333333 0 0.6666666666666667
58 0.6666666666666666 0 0.6666666666666666
59 0.8333333333333333 0 0.8333333333333333
60 0 0.5 0.5
61 0 0.8333333333333334 0.1666666666666667
62 0 0.6666666666666667 0.3333333333333333
63 0 0.3333333333333334 0.3333333333333334
64 0 0.1666666666666667 0.1666666666666667
65 0 0.3333333333333334 0.6666666666666666
66 0 0.1666666666666667 0.8333333333333333
67 0 0.8333333333333334 0.8333333333333334
68 0 0.6666666666666667 0.6666666666666667
69 0.5 1 0.5
70 0.8333333333333334 1 0.8333333333333334
71 0.6666666666666667 1 0.6666666666666667
72 0.6666666666666666 1 0.3333333333333334
73 0.8333333333333333 1 0.1666666666666667
74 0.1666666666666667 1 0.8333333333333334
75 0.3333333333333333 1 0.6666666666666667
76 0.3333333333333334 1 0.3333333333333334
77 0.1666666666666667 1 0.1666666666666667
78 0.5 0.5 1
79 0.8333333333333334 0.1666666666666667 1
80 0.6666666666666667 0.3333333333333333 1
81 0.6666666666666666 0.6666666666666666 1
82 0.8333333333333333 0.8333333333333333 1
83 0.3333333333333334 0.6666666666666666 1
84 0.1666666666666667 0.8333333333333333 1
85 0.1666666666666667 0.1666666666666667 1
86 0.3333333333333333 0.3333333333333333 1
87 0.5 0.6666666666666667 0.1666666666666667
88 0.5 0.8333333333333333 0.3333333333333333
89 0.4999999999994457 0.9999999999999998 0.1666666666666666
90 0.3333333333333333 0.8333333333333331 0.1666666666666667
91 0.4999999999994456 0.833333333333333 0
92 0.6666666666666665 0.8333333333333333 0.1666666666666667
93 0.6666666666666667 0.1666666666666667 0.5
94 0.8333333333333333 0.3333333333333333 0.5
95 0.8333333333333334 0.6666666666666667 0.5
96 0.6666666666666667 0.8333333333333333 0.5
97 0.5 0.6666666666666667 0.5
98 0.5 0.3333333333333334 0.5
99 0.5 0.3333333333333334 0.1666666666666667
100 0.5 0.1666666666666667 0.3333333333333333
101 0.6666666666666667 0.5 0.1666666666666667
102 0.8333333333333333 0.5 0.3333333333333333
103 0.6666666666666665 0.5 0.4999999999999999
104 0.6666666666666665 0.3333333333333333 0.3333333333333333
105 0.4999999999999999 0.4999999999999999 0.3333333333333331
106 0.6666666666666667 0.6666666666666665 0.3333333333333333
107 0.499999999999985 0 0.1666666666666666
108 0.6666666666666664 0.1666666666666666 0.1666666666666667
109 0.499999999999985 0.1666666666666667 0
110 0.3333333333333333 0.1666666666666667 0.1666666666666667
111 0.3333333333333334 0.5 0.1666666666666667
112 0.1666666666666667 0.5 0.3333333333333333
113 0 0.4999999999994038 0.1666666666666667
114 0.1666666666666666 0.4999999999994037 0
115 0.1666666666666667 0.6666666666666664 0.1666666666666666
116 0.1666666666666667 0.3333333333333332 0.1666666666666666
117 0.5 0.8333333333333334 0.6666666666666667
118 0.5 0.6666666666666667 0.8333333333333333
119 0.4999999999997122 0.833333333333333 0.9999999999999998
120 0.6666666666666665 0.8333333333333331 0.8333333333333331
121 0.3333333333333333 0.8333333333333331 0.833333333333333
122 0.4999999999997124 0.9999999999999998 0.8333333333333333
123 0.8333333333333334 0.5 0.6666666666666667
124 0.6666666666666667 0.5 0.8333333333333333
125 0.8333333333333331 0.6666666666666665 0.833333333333333
126 0.8333333333333331 0.5000000000001643 0.9999999999999998
127 0.8333333333333333 0.3333333333333331 0.833333333333333
128 0.9999999999999998 0.5000000000006726 0.8333333333333331
129 0.3333333333333334 0.5 0.8333333333333334
130 0.1666666666666667 0.5 0.6666666666666667
131 0.1666666666666667 0.3333333333333334 0.5
132 0.3333333333333333 0.1666666666666667 0.5
133 0.5 0.1666666666666667 0.6666666666666667
134 0.5 0.3333333333333333 0.8333333333333333
135 0.3333333333333334 0.8333333333333334 0.5
136 0.1666666666666667 0.6666666666666667 0.5
137 0.3333333333333333 0.3333333333333331 0.6666666666666663
138 0.3333333333333332 0.6666666666666665 0.6666666666666664
139 0.4999999999999999 0.5 0.6666666666666663
140 0.3333333333333332 0.4999999999999999 0.4999999999999999
141 0.6666666666666663 0.3333333333333331 0.6666666666666665
142 0.6666666666666664 0.6666666666666665 0.6666666666666665
143 0.8333333333333331 0.1666666666666666 0.3333333333333332
144 0.8333333333333331 0.1666666666666667 0.6666666666666664
145 0.833333333333333 0 0.4999999999997123
146 0.9999999999999998 0.1666666666666667 0.4999999999994037
147 0.1666666666666667 0.8333333333333331 0.6666666666666664
148 0 0.833333333333333 0.4999999999994038
149 0.1666666666666666 0.9999999999999998 0.4999999999994037
150 0.1666666666666666 0.833333333333333 0.3333333333333333
151 0.9999999999999998 0.8333333333333333 0.4999999999997124
152 0.833333333333333 0.8333333333333333 0.3333333333333331
153 0.833333333333333 0.8333333333333333 0.6666666666666665
154 0.8333333333333331 0.9999999999999998 0.4999999999997123
155 0.3333333333333333 0.1666666666666666 0.833333333333333
156 0.5000000000006724 0.1666666666666667 0.9999999999999998
157 0.5000000000006726 0 0.833333333333333
158 0.6666666666666664 0.1666666666666667 0.8333333333333331
159 0 0.1666666666666666 0.4999999999994038
160 0.1666666666666666 0.1666666666666667 0.6666666666666663
161 0.1666666666666666 0 0.4999999999994038
162 0.1666666666666665 0.1666666666666667 0.3333333333333333
163 0.1666666666666667 0.6666666666666665 0.8333333333333333
164 0 0.4999999999997125 0.8333333333333331
165 0.1666666666666666 0.3333333333333332 0.8333333333333331
166 0.1666666666666666 0.4999999999994457 0.9999999999999998
167 0.9999999999999998 0.5000000000006726 0.1666666666666667
168 0.8333333333333331 0.5000000000006726 0
169 0.833333333333333 0.3333333333333333 0.1666666666666666
170 0.8333333333333333 0.6666666666666665 0.1666666666666666
171 0.3333333333333333 0.3333333333333332 0.3333333333333333
172 0.3333333333333333 0.6666666666666665 0.3333333333333331
$EndNodes
$Elements
24
1 29 3 0 1 0 4 3 69 33 9 10 73 72 76 77 35 34 87 88 41 40 89 91 90 92
2 29 3 0 1 0 51 69 42 33 98 97 96 95 94 93 99 100 101 102 87 88 103 105 104 106
3 29 3 0 1 0 2 1 51 33 13 14 52 53 54 55 38 39 99 100 36 37 107 109 108 110
4 29 3 0 1 0 4 60 1 33 61 62 63 64 15 16 35 34 36 37 111 112 113 115 114 116
5 29 3 0 1 0 78 8 5 69 83 84 23 24 82 81 117 118 71 70 75 74 119 121 120 122
6 29 3 0 1 0 78 42 5 6 124 123 44 43 82 81 79 80 18 17 46 45 125 127 126 128
7 29 3 0 1 0 78 51 60 69 134 133 132 131 130 129 117 118 135 136 97 98 137 139 138 140
8 29 3 0 1 0 42 51 78 69 94 93 133 134 124 123 96 95 117 118 97 98 141 103 142 139
9 29 3 0 1 0 51 2 42 6 54 55 50 49 94 93 59 58 46 45 28 27 143 145 144 146
10 29 3 0 1 0 8 69 60 4 74 75 135 136 68 67 31 32 61 62 77 76 147 149 148 150
11 29 3 0 1 0 42 5 3 69 44 43 26 25 47 48 96 95 72 73 71 70 151 153 152 154
12 29 3 0 1 0 7 51 78 6 56 57 133 134 86 85 19 20 79 80 59 58 155 157 156 158
13 29 3 0 1 0 7 1 60 51 30 29 64 63 65 66 57 56 132 131 53 52 159 161 160 162
14 29 3 0 1 0 60 78 8 7 130 129 83 84 67 68 66 65 21 22 85 86 163 165 164 166
15 29 3 0 1 0 2 42 3 33 50 49 48 47 11 12 38 39 41 40 101 102 167 169 168 170
16 29 3 0 1 0 60 69 51 33 136 135 97 98 132 131 111 112 99 100 87 88 140 172 171 105
17 29 3 0 1 0 2 51 42 33 55 54 93 94 49 50 38 39 101 102 99 100 143 108 169 104
18 29 3 0 1 0 78 60 8 69 129 130 68 67 84 83 117 118 75 74 135 136 163 138 121 147
19 29 3 0 1 0 42 78 5 69 123 124 81 82 43 44 96 95 71 70 117 118 125 142 153 120
20 29 3 0 1 0 51 42 78 6 93 94 123 124 134 133 59 58 79 80 46 45 141 144 158 127
21 29 3 0 1 0 78 7 60 51 86 85 66 65 130 129 133 134 132 131 57 56 165 155 137 160
22 29 3 0 1 0 42 69 3 33 95 96 72 73 47 48 101 102 41 40 87 88 152 106 170 92
23 29 3 0 1 0 60 4 69 33 62 61 77 76 135 136 111 112 87 88 35 34 150 115 172 90
24 29 3 0 1 0 60 51 1 33 131 132 53 52 64 63 111 112 36 37 99 100 162 171 116 110
$EndElements
$NodeData
1
"x^3"
1
0
3
0
1
172
1 -1.230806716354842e-10
2 0.9999999998891788
3 1.000000000201731
4 -1.147734564391573e-11
5 0.9999999998419533
6 0.9999999999987266
7 -4.402905503346781e-11
8 -1.221862189444317e-10
9 0.03703703700428828
10 0.2962962963640772
11 0.9999999998805382
12 0.9999999999029447
13 0.2962962961472926
14 0.0370370367345152
15 1.669241046343929e-10
16 4.474864251493738e-11
17 1.000000000446025
18 1.000000000354082
19 0.2962962962944191
20 0.03703703725348196
21 1.081398636124859e-11
22 -1.875142047152207e-10
23 0.03703703692070339
24 0.2962962963604101
25 0.9999999998799511
26 1.000000000077196
27 1.000000000209992
28 1.000000000157589
29 -8.648012833611498e-11
30 -1.885969729441042e-10
31 9.109886337615971e-11
32 5.69837499615582e-11
33 0.1250000001087589
34 0.004629629691683805
35 0.03703703709070014
36 0.03703703684032428
37 0.004629629432453544
38 0.2962962963372318
39 0.578703703651026
40 0.5787037036897481
41 0.2962962963143369
42 1.000000000098322
43 0.9999999998726595
44 0.9999999997859665
45 1.000000000011536
46 0.9999999999701336
47 1.000000000054919
48 1.000000000025897
49 0.9999999999366719
50 0.9999999999441961
51 0.1250000000533735
52 0.004629629609239214
53 0.03703703697350413
54 0.2962962962988363
55 0.578703703656323
56 0.004629629575277903
57 0.03703703713048411
58 0.2962962964248514
59 0.5787037038080406
60 -4.246599587790592e-11
61 -3.207225390202916e-11
62 1.487060286238994e-10
63 -1.350742768719002e-10
64 -1.354124876878676e-10
65 5.038821199480693e-11
66 -1.005811374930949e-10
67 1.261007040807302e-10
68 3.904909700307062e-11
69 0.1250000000445907
70 0.5787037037053433
71 0.2962962963654961
72 0.2962962962575335
73 0.5787037037399237
74 0.004629629624890256
75 0.03703703704478954
76 0.03703703708471214
77 0.004629629612200904
78 0.1249999998791846
79 0.5787037039447664
80 0.2962962964586614
81 0.2962962962436416
82 0.5787037035679153
83 0.03703703705861332
84 0.00462962965345725
85 0.004629629727425836
86 0.03703703702524271
87 0.1250000000098499
88 0.1249999999772992
89 0.1249999999370564
90 0.03703703701912955
91 0.1250000000494395
92 0.2962962962509989
93 0.2962962963295183
94 0.5787037037115053
95 0.5787037037562343
96 0.2962962963353302
97 0.1249999999859049
98 0.1250000000177019
99 0.1249999999436112
100 0.1249999998659157
101 0.2962962962231276
102 0.5787037036495196
103 0.2962962962277357
104 0.2962962963157284
105 0.1249999999907741
106 0.2962962963232141
107 0.1250000000423259
108 0.2962962962176118
109 0.1250000000040958
110 0.03703703707096361
111 0.0370370370713952
112 0.004629629600948989
113 -6.809690823462376e-11
114 0.004629629598443762
115 0.004629629662632549
116 0.004629629645053223
117 0.1249999999738112
118 0.1249999999540999
119 0.1250000000172692
120 0.2962962961983564
121 0.0370370370810305
122 0.1250000000222024
123 0.5787037036303901
124 0.2962962962245452
125 0.5787037038793591
126 0.578703703533011
127 0.5787037037247541
128 0.9999999999794122
129 0.03703703707402615
130 0.00462962970226293
131 0.004629629635959715
132 0.0370370370771936
133 0.124999999977059
134 0.1250000000089723
135 0.03703703703720143
136 0.00462962965677794
137 0.03703703700692576
138 0.03703703707008398
139 0.1250000000072623
140 0.03703703706264393
141 0.2962962964321943
142 0.2962962962088613
143 0.5787037036927248
144 0.5787037036336203
145 0.5787037036937376
146 1.000000000067035
147 0.004629629643433067
148 3.196816678254887e-11
149 0.004629629614772826
150 0.004629629638723201
151 1.000000000032676
152 0.5787037037590596
153 0.5787037037340989
154 0.5787037036406665
155 0.03703703717278538
156 0.125000000010268
157 0.1249999999879311
158 0.2962962962443618
159 3.133079690927364e-11
160 0.004629629677406782
161 0.004629629696736101
162 0.00462962947046826
163 0.004629629613245916
164 9.529510535853662e-11
165 0.004629629559822669
166 0.004629629672189804
167 1.000000000038881
168 0.5787037036793788
169 0.5787037036542836
170 0.5787037036742975
171 0.03703703710024977
172 0.03703703700167911
$EndNodeData
This diff is collapsed.
Click to expand it.
benchmarks/misc/adaptive_tri6.msh
0 → 100644
+
216
−
0
View file @
eacfa2ba
$MeshFormat
2 0 8
$EndMeshFormat
$Nodes
67
1 0 0 0
2 1 0 0
3 0 1 0
4 -1 0 0
5 0 -1 0
6 0 0 -1
7 0 0 1
8 0.7071067811872801 0.7071067811858149 0
9 0.9238795325113339 0.382683432364976 0
10 0.3826834323655056 0.9238795325111144 0
11 -0.7071067811858149 0.7071067811872801 0
12 -0.382683432364976 0.9238795325113339 0
13 -0.9238795325111144 0.3826834323655056 0
14 -0.7071067811872801 -0.7071067811858149 0
15 -0.9238795325113339 -0.382683432364976 0
16 -0.3826834323655056 -0.9238795325111144 0
17 0.7071067811858149 -0.7071067811872801 0
18 0.382683432364976 -0.9238795325113339 0
19 0.9238795325111144 -0.3826834323655056 0
20 0 0.7071067811872801 -0.7071067811858149
21 0 0.9238795325113339 -0.382683432364976
22 0 0.3826834323655056 -0.9238795325111144
23 0 -0.7071067811858149 -0.7071067811872801
24 0 -0.382683432364976 -0.9238795325113339
25 0 -0.9238795325111144 -0.3826834323655056
26 0 -0.7071067811872801 0.7071067811858149
27 0 -0.9238795325113339 0.382683432364976
28 0 -0.3826834323655056 0.9238795325111144
29 0 0.7071067811858149 0.7071067811872801
30 0 0.382683432364976 0.9238795325113339
31 0 0.9238795325111144 0.3826834323655056
32 0.7071067811872801 0 0.7071067811858149
33 0.9238795325113339 0 0.382683432364976
34 0.3826834323655056 0 0.9238795325111144
35 -0.7071067811858149 0 0.7071067811872801
36 -0.382683432364976 0 0.9238795325113339
37 -0.9238795325111144 0 0.3826834323655056
38 -0.7071067811872801 0 -0.7071067811858149
39 -0.9238795325113339 0 -0.382683432364976
40 -0.3826834323655056 0 -0.9238795325111144
41 0.7071067811858149 0 -0.7071067811872801
42 0.382683432364976 0 -0.9238795325113339
43 0.9238795325111144 0 -0.3826834323655056
44 -0.4771133662359368 0.7380553309325973 0.4771133662359369
45 -0.8521312609048806 0.396075394124286 0.3420476521742986
46 -0.3420476521735938 0.3960753941232533 0.8521312609056433
47 -0.4771133662359368 -0.4771133662359368 0.7380553309325973
48 -0.3420476521744791 -0.8521312609052754 0.3960753941232806
49 -0.8521312609052485 -0.3420476521734134 0.3960753941242587
50 0.477113366236492 0.7380553309318796 0.477113366236492
51 0.8521312609056433 0.3960753941232533 0.3420476521735938
52 0.3420476521744791 0.3960753941232806 0.8521312609052754
53 -0.477113366236492 0.477113366236492 -0.7380553309318795
54 -0.8521312609052754 0.3420476521744791 -0.3960753941232806
55 -0.3420476521735938 0.8521312609056433 -0.3960753941232533
56 0.4771133662359368 0.4771133662359368 -0.7380553309325973
57 0.3420476521744791 0.8521312609052754 -0.3960753941232806
58 0.8521312609052485 0.3420476521734134 -0.3960753941242587
59 -0.477113366236492 -0.7380553309318796 -0.477113366236492
60 -0.8521312609056433 -0.3960753941232533 -0.3420476521735938
61 -0.3420476521744791 -0.3960753941232806 -0.8521312609052754
62 0.477113366236492 -0.477113366236492 0.7380553309318795
63 0.8521312609052754 -0.3420476521744791 0.3960753941232806
64 0.3420476521735938 -0.8521312609056433 0.3960753941232533
65 0.7380553309318796 -0.477113366236492 -0.477113366236492
66 0.3960753941232533 -0.3420476521735938 -0.8521312609056433
67 0.3960753941232806 -0.8521312609052754 -0.3420476521744791
$EndNodes
$Elements
63
1 15 3 0 1 0 1
2 15 3 0 2 0 2
3 15 3 0 3 0 3
4 15 3 0 4 0 4
5 15 3 0 5 0 5
6 15 3 0 6 0 6
7 15 3 0 7 0 7
8 8 3 0 1 0 2 8 9
9 8 3 0 1 0 8 3 10
10 8 3 0 2 0 3 11 12
11 8 3 0 2 0 11 4 13
12 8 3 0 3 0 4 14 15
13 8 3 0 3 0 14 5 16
14 8 3 0 4 0 5 17 18
15 8 3 0 4 0 17 2 19
16 8 3 0 5 0 3 20 21
17 8 3 0 5 0 20 6 22
18 8 3 0 6 0 6 23 24
19 8 3 0 6 0 23 5 25
20 8 3 0 7 0 5 26 27
21 8 3 0 7 0 26 7 28
22 8 3 0 8 0 7 29 30
23 8 3 0 8 0 29 3 31
24 8 3 0 9 0 2 32 33
25 8 3 0 9 0 32 7 34
26 8 3 0 10 0 7 35 36
27 8 3 0 10 0 35 4 37
28 8 3 0 11 0 4 38 39
29 8 3 0 11 0 38 6 40
30 8 3 0 12 0 6 41 42
31 8 3 0 12 0 41 2 43
32 9 3 0 14 0 3 11 29 12 44 31
33 9 3 0 14 0 11 35 29 45 46 44
34 9 3 0 14 0 11 4 35 13 37 45
35 9 3 0 14 0 29 35 7 46 36 30
36 9 3 0 16 0 7 35 26 36 47 28
37 9 3 0 16 0 26 14 5 48 16 27
38 9 3 0 16 0 26 35 14 47 49 48
39 9 3 0 16 0 35 4 14 37 15 49
40 9 3 0 18 0 3 29 8 31 50 10
41 9 3 0 18 0 8 32 2 51 33 9
42 9 3 0 18 0 8 29 32 50 52 51
43 9 3 0 18 0 29 7 32 30 34 52
44 9 3 0 20 0 6 38 20 40 53 22
45 9 3 0 20 0 38 11 20 54 55 53
46 9 3 0 20 0 38 4 11 39 13 54
47 9 3 0 20 0 20 11 3 55 12 21
48 9 3 0 22 0 6 20 41 22 56 42
49 9 3 0 22 0 20 8 41 57 58 56
50 9 3 0 22 0 20 3 8 21 10 57
51 9 3 0 22 0 41 8 2 58 9 43
52 9 3 0 24 0 5 14 23 16 59 25
53 9 3 0 24 0 14 38 23 60 61 59
54 9 3 0 24 0 14 4 38 15 39 60
55 9 3 0 24 0 23 38 6 61 40 24
56 9 3 0 26 0 7 26 32 28 62 34
57 9 3 0 26 0 32 17 2 63 19 33
58 9 3 0 26 0 32 26 17 62 64 63
59 9 3 0 26 0 26 5 17 27 18 64
60 9 3 0 28 0 2 17 41 19 65 43
61 9 3 0 28 0 41 23 6 66 24 42
62 9 3 0 28 0 41 17 23 65 67 66
63 9 3 0 28 0 17 5 23 18 25 67
$EndElements
$NodeData
1
"2nd order view"
1
0.0
3
0
1
67
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 2
13 1
14 1
15 1
16 1
17 1
18 1
19 1
20 1
21 1
22 1
23 1
24 1
25 1
26 1
27 1
28 1
29 1
30 1
31 1
32 1
33 1
34 1
35 1
36 1
37 1
38 1
39 1
40 1
41 1
42 1
43 1
44 1
45 1
46 1
47 1
48 1
49 1
50 1
51 1
52 1
53 1
54 1
55 1
56 1
57 1
58 1
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
$EndNodeData
This diff is collapsed.
Click to expand it.
benchmarks/misc/rotate_views.script
+
9
−
4
View file @
eacfa2ba
N = 10;
// Rotate an alias (does not change the data)
Merge "../../tutorial/view1.pos";
For i In {2:N}
Alias View[0];
theta = 2*Pi*(i-1)/N;
View[i-1].Transform
11
= Cos(theta); View[i-1].Transform
12
= Sin(theta);
View[i-1].Transform
21
= -Sin(theta); View[i-1].Transform
22
= Cos(theta);
View[i-1].Transform
XX
= Cos(theta); View[i-1].Transform
XY
= Sin(theta);
View[i-1].Transform
YX
= -Sin(theta); View[i-1].Transform
YY
= Cos(theta);
View[i-1].ShowScale = 0;
EndFor
// Rotate using Plugin(Transform) (modifies the data)
/*
// Rotate using Plugin(Transform) (modifies the data)
For i In {1:N}
Merge "tutorial/view1.pos";
Merge "
../../
tutorial/view1.pos";
theta = 2*Pi*(i-1)/N;
Plugin(Transform).A11 = Cos(theta); Plugin(Transform).A12 = Sin(theta);
Plugin(Transform).A21 = -Sin(theta); Plugin(Transform).A22 = Cos(theta);
...
...
@@ -23,4 +27,5 @@ For i In {1:N}
View[i-1].ShowScale = 0;
EndIf
EndFor
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment