~ubuntu-branches/ubuntu/maverick/dolfin/maverick

« back to all changes in this revision

Viewing changes to misc/utils/opendx/dolfin.net

  • Committer: Bazaar Package Importer
  • Author(s): Johannes Ring
  • Date: 2008-09-16 08:41:20 UTC
  • Revision ID: james.westby@ubuntu.com-20080916084120-i8k3u6lhx3mw3py3
Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// time: Thu Mar  4 15:55:13 2004
 
3
//
 
4
// version: 3.2.0 (format), 4.3.0 (DX)
 
5
//
 
6
//
 
7
// MODULE main
 
8
//
 
9
// comment: This visual program is intended to be a general purpose program for viewing three-dimensional data. 
 
10
// comment: 
 
11
// comment: If the data are multivariate, you can choose which variable to visualize. If the data are a series, you can use the sequencer to step through the series. For position-dependent data, an isosurface is created. For any data set, a maptoplane (cutting plane) is placed through the data and colored. You can open the colormap editor by choosing "Open All Colormap Editors" from the Windows menu.
 
12
// comment: 
 
13
// comment: If you would like to modify or use this visual program in the future, choose Open Visual Program Editor from the Windows menu, and then choose Save As from the File menu of the VPE.
 
14
// page assignment: Arrows      order=9, windowed=0, showing=0
 
15
// page assignment: Colorslice  order=6, windowed=0, showing=1
 
16
// page assignment: Frame       order=4, windowed=0, showing=0
 
17
// page assignment: Geometry    order=10, windowed=0, showing=0
 
18
// page assignment: Image       order=11, windowed=0, showing=0
 
19
// page assignment: Import      order=2, windowed=0, showing=0
 
20
// page assignment: Iso surface order=5, windowed=0, showing=0
 
21
// page assignment: Streamlines order=7, windowed=0, showing=0
 
22
// page assignment: Variable    order=3, windowed=0, showing=0
 
23
// page assignment: Vorticity   order=8, windowed=0, showing=0
 
24
// workspace: width = 709, height = 589
 
25
// layout: snap = 1, width = 20, height = 31, align = UL
 
26
//
 
27
macro main(
 
28
) -> (
 
29
) {
 
30
    // 
 
31
    // node Colormap[1]: x = 120, y = 372, inputs = 19, label = Colormap
 
32
    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.666667] [0.0 0.83157895] [1.0 0.0] }
 
33
    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
34
    // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
35
    // input[4]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
36
    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_1"
 
37
    // input[7]: defaulting = 1, visible = 0, type = 5, value = -1.05
 
38
    // input[8]: defaulting = 1, visible = 0, type = 5, value = 1.05
 
39
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
 
40
    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -1.05 1.05 }
 
41
    // input[17]: defaulting = 0, visible = 0, type = 5, value = NULL
 
42
    // input[18]: defaulting = 0, visible = 0, type = 5, value = NULL
 
43
    // page group: Colorslice
 
44
    // window: position = (0.3711,0.3854), size = 0.5078x0.4688
 
45
    //
 
46
main_Colormap_1_out_1[cache: 2],
 
47
main_Colormap_1_out_2[cache: 2] = 
 
48
    Colormap(
 
49
    main_Colormap_1_in_1,
 
50
    main_Colormap_1_in_2,
 
51
    main_Colormap_1_in_3,
 
52
    main_Colormap_1_in_4,
 
53
    main_Colormap_1_in_5,
 
54
    main_Colormap_1_in_6,
 
55
    main_Colormap_1_in_7,
 
56
    main_Colormap_1_in_8,
 
57
    main_Colormap_1_in_9,
 
58
    main_Colormap_1_in_10,
 
59
    main_Colormap_1_in_11,
 
60
    main_Colormap_1_in_12,
 
61
    main_Colormap_1_in_13,
 
62
    main_Colormap_1_in_14,
 
63
    main_Colormap_1_in_15,
 
64
    main_Colormap_1_in_16,
 
65
    main_Colormap_1_in_17,
 
66
    main_Colormap_1_in_18,
 
67
    main_Colormap_1_in_19
 
68
    ) [instance: 1, cache: 1];
 
69
    // 
 
70
    // node ColorBar[2]: x = 100, y = 527, inputs = 16, label = ColorBar
 
71
    // input[2]: defaulting = 1, visible = 1, type = 8, value = NULL
 
72
    // input[6]: defaulting = 1, visible = 0, type = 5, value = -1.0
 
73
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
74
    // page group: Colorslice
 
75
    //
 
76
main_ColorBar_2_out_1 = 
 
77
    ColorBar(
 
78
    main_Colormap_1_out_1,
 
79
    main_ColorBar_2_in_2,
 
80
    main_ColorBar_2_in_3,
 
81
    main_ColorBar_2_in_4,
 
82
    main_ColorBar_2_in_5,
 
83
    main_ColorBar_2_in_6,
 
84
    main_ColorBar_2_in_7,
 
85
    main_ColorBar_2_in_8,
 
86
    main_ColorBar_2_in_9,
 
87
    main_ColorBar_2_in_10,
 
88
    main_ColorBar_2_in_11,
 
89
    main_ColorBar_2_in_12,
 
90
    main_ColorBar_2_in_13,
 
91
    main_ColorBar_2_in_14,
 
92
    main_ColorBar_2_in_15,
 
93
    main_ColorBar_2_in_16
 
94
    ) [instance: 2, cache: 1];
 
95
    // 
 
96
    // node Transmitter[26]: x = 240, y = 527, inputs = 1, label = Colorbar1
 
97
    // page group: Colorslice
 
98
    //
 
99
Colorbar1 = main_ColorBar_2_out_1;
 
100
    // 
 
101
    // node Receiver[28]: x = 20, y = 279, inputs = 1, label = Colorbar1
 
102
    // page group: Image
 
103
    //
 
104
main_Receiver_28_out_1[cache: 0] = Colorbar1;
 
105
    // 
 
106
    // node FileSelector[3]: x = 20, y = 93, inputs = 0, label = FileSelector
 
107
    // output[1]: visible = 1, type = 32, value = "/home/logg/results/bistable/2004-03-01-mesh-32/solution.dx"
 
108
    // output[2]: visible = 1, type = 32, value = "solution.dx"
 
109
    // page group: Import
 
110
    //
 
111
    // 
 
112
    // node StringList[1]: x = 200, y = 93, inputs = 0, label = StringList
 
113
    // output[1]: visible = 1, type = 16777248, value = { "Mesh", "u", "Time series" }
 
114
    // page group: Import
 
115
    //
 
116
    // 
 
117
    // node Selector[3]: x = 120, y = 93, inputs = 7, label = Selector
 
118
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_3"
 
119
    // input[2]: defaulting = 0, visible = 0, type = 32, value = "Time series" 
 
120
    // input[3]: defaulting = 0, visible = 0, type = 29, value = 2 
 
121
    // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"Mesh" "u" "Time series" }
 
122
    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0  1  2  }
 
123
    // output[1]: visible = 1, type = 29, value = 2 
 
124
    // output[2]: visible = 1, type = 32, value = "Time series" 
 
125
    // page group: Import
 
126
    //
 
127
main_Selector_3_out_1[cache: 2],
 
128
main_Selector_3_out_2[cache: 2] = 
 
129
    Selector(
 
130
    main_Selector_3_in_1,
 
131
    main_Selector_3_in_2,
 
132
    main_Selector_3_in_3,
 
133
    main_StringList_1_out_1,
 
134
    main_Selector_3_in_5,
 
135
    main_Selector_3_in_6,
 
136
    main_Selector_3_in_7
 
137
    ) [instance: 3, cache: 1];
 
138
    // 
 
139
    // node String[1]: x = 100, y = 217, inputs = 0, label = String
 
140
    // output[1]: visible = 1, type = 32, value = "dx"
 
141
    // page group: Import
 
142
    //
 
143
    // 
 
144
    // node Import[1]: x = 20, y = 217, inputs = 6, label = Import
 
145
    // page group: Import
 
146
    //
 
147
main_Import_1_out_1 = 
 
148
    Import(
 
149
    main_FileSelector_3_out_1,
 
150
    main_Selector_3_out_2,
 
151
    main_String_1_out_1,
 
152
    main_Import_1_in_4,
 
153
    main_Import_1_in_5,
 
154
    main_Import_1_in_6
 
155
    ) [instance: 1, cache: 1];
 
156
    // 
 
157
    // node Transmitter[8]: x = 20, y = 279, inputs = 1, label = Dataset
 
158
    // page group: Import
 
159
    //
 
160
Dataset = main_Import_1_out_1;
 
161
    // 
 
162
    // node Receiver[3]: x = 20, y = 93, inputs = 1, label = Dataset
 
163
    // page group: Variable
 
164
    //
 
165
main_Receiver_3_out_1[cache: 0] = Dataset;
 
166
    // 
 
167
    // node Inquire[3]: x = 20, y = 217, inputs = 3, label = Inquire
 
168
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is generic group +1"
 
169
    // page group: Variable
 
170
    //
 
171
main_Inquire_3_out_1 = 
 
172
    Inquire(
 
173
    main_Receiver_3_out_1,
 
174
    main_Inquire_3_in_2,
 
175
    main_Inquire_3_in_3
 
176
    ) [instance: 3, cache: 1];
 
177
    // 
 
178
    // node Selector[2]: x = 220, y = 93, inputs = 7, label = Selector
 
179
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_2"
 
180
    // input[2]: defaulting = 0, visible = 0, type = 32, value = "on" 
 
181
    // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 
 
182
    // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "on" "off" }
 
183
    // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 0 }
 
184
    // output[1]: visible = 1, type = 29, value = 1 
 
185
    // output[2]: visible = 1, type = 32, value = "on" 
 
186
    // page group: Variable
 
187
    //
 
188
main_Selector_2_out_1[cache: 2],
 
189
main_Selector_2_out_2[cache: 2] = 
 
190
    Selector(
 
191
    main_Selector_2_in_1,
 
192
    main_Selector_2_in_2,
 
193
    main_Selector_2_in_3,
 
194
    main_Receiver_3_out_1,
 
195
    main_Selector_2_in_5,
 
196
    main_Selector_2_in_6,
 
197
    main_Selector_2_in_7
 
198
    ) [instance: 2, cache: 1];
 
199
    // 
 
200
    // node Select[1]: x = 300, y = 93, inputs = 3, label = Select
 
201
    // page group: Variable
 
202
    //
 
203
main_Select_1_out_1 = 
 
204
    Select(
 
205
    main_Receiver_3_out_1,
 
206
    main_Selector_2_out_1,
 
207
    main_Select_1_in_3
 
208
    ) [instance: 1, cache: 1];
 
209
    // 
 
210
    // node Switch[6]: x = 140, y = 310, inputs = 3, label = Switch
 
211
    // page group: Variable
 
212
    //
 
213
main_Switch_6_out_1 = 
 
214
    Switch(
 
215
    main_Inquire_3_out_1,
 
216
    main_Receiver_3_out_1,
 
217
    main_Select_1_out_1
 
218
    ) [instance: 6, cache: 1];
 
219
    // 
 
220
    // node Transmitter[9]: x = 220, y = 403, inputs = 1, label = Variable
 
221
    // page group: Variable
 
222
    //
 
223
Variable = main_Switch_6_out_1;
 
224
    // 
 
225
    // node Receiver[4]: x = 20, y = 93, inputs = 1, label = Variable
 
226
    // page group: Frame
 
227
    //
 
228
main_Receiver_4_out_1[cache: 0] = Variable;
 
229
    // 
 
230
    // node Inquire[4]: x = 20, y = 217, inputs = 3, label = Inquire
 
231
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is series + 1"
 
232
    // page group: Frame
 
233
    //
 
234
main_Inquire_4_out_1 = 
 
235
    Inquire(
 
236
    main_Receiver_4_out_1,
 
237
    main_Inquire_4_in_2,
 
238
    main_Inquire_4_in_3
 
239
    ) [instance: 4, cache: 1];
 
240
    // 
 
241
    // node Inquire[5]: x = 380, y = 217, inputs = 3, label = Inquire
 
242
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "member count -1"
 
243
    // page group: Frame
 
244
    //
 
245
main_Inquire_5_out_1 = 
 
246
    Inquire(
 
247
    main_Receiver_4_out_1,
 
248
    main_Inquire_5_in_2,
 
249
    main_Inquire_5_in_3
 
250
    ) [instance: 5, cache: 1];
 
251
    // 
 
252
    // node Sequencer[1]: x = 380, y = 279, inputs = 7, label = Sequencer
 
253
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1"
 
254
    // input[4]: defaulting = 0, visible = 1, type = 1, value = 0
 
255
    // input[5]: defaulting = 1, visible = 1, type = 1, value = 100
 
256
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1
 
257
    // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 100 1 0 100 1 }
 
258
    // page group: Frame
 
259
    // vcr[1]: min = 0, max = 100, beg = 0, end = 100, cur = 0, inc = 1, loop = off, step = on, pal = off
 
260
    // window: position = (0.0609,0.8406), size = 0.2148x0.0875
 
261
    //
 
262
    main_Sequencer_1_in_3 = @frame;
 
263
main_Sequencer_1_out_1[cache: 2] = 
 
264
    Sequencer(
 
265
    main_Sequencer_1_in_1,
 
266
    main_Sequencer_1_in_2,
 
267
    main_Sequencer_1_in_3,
 
268
    main_Sequencer_1_in_4,
 
269
    main_Inquire_5_out_1,
 
270
    main_Sequencer_1_in_6,
 
271
    main_Sequencer_1_in_7
 
272
    ) [instance: 1, cache: 1];
 
273
    // 
 
274
    // node Select[2]: x = 240, y = 310, inputs = 3, label = Select
 
275
    // page group: Frame
 
276
    //
 
277
main_Select_2_out_1 = 
 
278
    Select(
 
279
    main_Receiver_4_out_1,
 
280
    main_Sequencer_1_out_1,
 
281
    main_Select_2_in_3
 
282
    ) [instance: 2, cache: 1];
 
283
    // 
 
284
    // node Switch[7]: x = 140, y = 310, inputs = 3, label = Switch
 
285
    // page group: Frame
 
286
    //
 
287
main_Switch_7_out_1 = 
 
288
    Switch(
 
289
    main_Inquire_4_out_1,
 
290
    main_Receiver_4_out_1,
 
291
    main_Select_2_out_1
 
292
    ) [instance: 7, cache: 1];
 
293
    // 
 
294
    // node Transmitter[10]: x = 280, y = 403, inputs = 1, label = Field
 
295
    // page group: Frame
 
296
    //
 
297
Field = main_Switch_7_out_1;
 
298
    // 
 
299
    // node Receiver[6]: x = 20, y = 93, inputs = 1, label = Field
 
300
    // page group: Colorslice
 
301
    //
 
302
main_Receiver_6_out_1[cache: 0] = Field;
 
303
    // 
 
304
    // node Vector[9]: x = 60, y = 186, inputs = 11, label = Vector
 
305
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_9"
 
306
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.5 0.5 0.5 ]
 
307
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
308
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
309
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
310
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
311
    // output[1]: visible = 1, type = 8, value = [ 0.5 0.5 0.5 ]
 
312
    // page group: Colorslice
 
313
    //
 
314
    // 
 
315
    // node Vector[10]: x = 120, y = 186, inputs = 11, label = Vector
 
316
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_10"
 
317
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 0 0 ]
 
318
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
319
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
320
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
321
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
322
    // output[1]: visible = 1, type = 8, value = [ 1 0 0 ]
 
323
    // page group: Colorslice
 
324
    //
 
325
    // 
 
326
    // node MapToPlane[1]: x = 20, y = 248, inputs = 3, label = MapToPlane
 
327
    // page group: Colorslice
 
328
    //
 
329
main_MapToPlane_1_out_1 = 
 
330
    MapToPlane(
 
331
    main_Receiver_6_out_1,
 
332
    main_Vector_9_out_1,
 
333
    main_Vector_10_out_1
 
334
    ) [instance: 1, cache: 1];
 
335
    // 
 
336
    // node Color[4]: x = 20, y = 372, inputs = 5, label = Color
 
337
    // page group: Colorslice
 
338
    //
 
339
main_Color_4_out_1 = 
 
340
    Color(
 
341
    main_MapToPlane_1_out_1,
 
342
    main_Colormap_1_out_1,
 
343
    main_Colormap_1_out_2,
 
344
    main_Color_4_in_4,
 
345
    main_Color_4_in_5
 
346
    ) [instance: 4, cache: 1];
 
347
    // 
 
348
    // node Transmitter[12]: x = 20, y = 527, inputs = 1, label = Colorslice1
 
349
    // page group: Colorslice
 
350
    //
 
351
Colorslice1 = main_Color_4_out_1;
 
352
    // 
 
353
    // node Receiver[9]: x = 160, y = 93, inputs = 1, label = Colorslice1
 
354
    // page group: Image
 
355
    //
 
356
main_Receiver_9_out_1[cache: 0] = Colorslice1;
 
357
    // 
 
358
    // node Vector[11]: x = 460, y = 186, inputs = 11, label = Vector
 
359
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_11"
 
360
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.5 0.5 0.5 ]
 
361
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
362
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
363
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
364
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
365
    // output[1]: visible = 1, type = 8, value = [ 0.5 0.5 0.5 ]
 
366
    // page group: Colorslice
 
367
    //
 
368
    // 
 
369
    // node Vector[12]: x = 520, y = 186, inputs = 11, label = Vector
 
370
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_12"
 
371
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0 1 0 ]
 
372
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
373
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
374
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
375
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
376
    // output[1]: visible = 1, type = 8, value = [ 0 1 0 ]
 
377
    // page group: Colorslice
 
378
    //
 
379
    // 
 
380
    // node MapToPlane[4]: x = 420, y = 248, inputs = 3, label = MapToPlane
 
381
    // page group: Colorslice
 
382
    //
 
383
main_MapToPlane_4_out_1 = 
 
384
    MapToPlane(
 
385
    main_Receiver_6_out_1,
 
386
    main_Vector_11_out_1,
 
387
    main_Vector_12_out_1
 
388
    ) [instance: 4, cache: 1];
 
389
    // 
 
390
    // node Colormap[2]: x = 520, y = 372, inputs = 19, label = Colormap
 
391
    // input[1]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.666667] [0.0 0.83157895] [1.0 0.0] }
 
392
    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
393
    // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
394
    // input[4]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 1.0] [1.0 1.0] }
 
395
    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_2"
 
396
    // input[7]: defaulting = 1, visible = 0, type = 5, value = -1.05
 
397
    // input[8]: defaulting = 1, visible = 0, type = 5, value = 1.05
 
398
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20
 
399
    // input[12]: defaulting = 0, visible = 0, type = 16777221, value = { -1.05 1.05 }
 
400
    // input[17]: defaulting = 0, visible = 0, type = 5, value = NULL
 
401
    // input[18]: defaulting = 0, visible = 0, type = 5, value = NULL
 
402
    // page group: Colorslice
 
403
    // window: position = (0.3711,0.3854), size = 0.5078x0.4688
 
404
    //
 
405
main_Colormap_2_out_1[cache: 2],
 
406
main_Colormap_2_out_2[cache: 2] = 
 
407
    Colormap(
 
408
    main_Colormap_2_in_1,
 
409
    main_Colormap_2_in_2,
 
410
    main_Colormap_2_in_3,
 
411
    main_Colormap_2_in_4,
 
412
    main_Colormap_2_in_5,
 
413
    main_Colormap_2_in_6,
 
414
    main_Colormap_2_in_7,
 
415
    main_Colormap_2_in_8,
 
416
    main_Colormap_2_in_9,
 
417
    main_Colormap_2_in_10,
 
418
    main_Colormap_2_in_11,
 
419
    main_Colormap_2_in_12,
 
420
    main_Colormap_2_in_13,
 
421
    main_Colormap_2_in_14,
 
422
    main_Colormap_2_in_15,
 
423
    main_Colormap_2_in_16,
 
424
    main_Colormap_2_in_17,
 
425
    main_Colormap_2_in_18,
 
426
    main_Colormap_2_in_19
 
427
    ) [instance: 2, cache: 1];
 
428
    // 
 
429
    // node Color[5]: x = 420, y = 372, inputs = 5, label = Color
 
430
    // page group: Colorslice
 
431
    //
 
432
main_Color_5_out_1 = 
 
433
    Color(
 
434
    main_MapToPlane_4_out_1,
 
435
    main_Colormap_2_out_1,
 
436
    main_Colormap_2_out_2,
 
437
    main_Color_5_in_4,
 
438
    main_Color_5_in_5
 
439
    ) [instance: 5, cache: 1];
 
440
    // 
 
441
    // node Transmitter[28]: x = 420, y = 527, inputs = 1, label = Colorslice2
 
442
    // page group: Colorslice
 
443
    //
 
444
Colorslice2 = main_Color_5_out_1;
 
445
    // 
 
446
    // node Receiver[29]: x = 260, y = 93, inputs = 1, label = Colorslice2
 
447
    // page group: Image
 
448
    //
 
449
main_Receiver_29_out_1[cache: 0] = Colorslice2;
 
450
    // 
 
451
    // node Collect[1]: x = 220, y = 217, inputs = 5, label = Collect
 
452
    // page group: Image
 
453
    //
 
454
main_Collect_1_out_1 = 
 
455
    Collect(
 
456
    main_Receiver_28_out_1,
 
457
    main_Receiver_9_out_1,
 
458
    main_Receiver_29_out_1,
 
459
    main_Collect_1_in_4,
 
460
    main_Collect_1_in_5
 
461
    ) [instance: 1, cache: 1];
 
462
    // 
 
463
    // node AutoCamera[1]: x = 340, y = 372, inputs = 9, label = AutoCamera
 
464
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "off-front"
 
465
    // page group: Image
 
466
    //
 
467
main_AutoCamera_1_out_1 = 
 
468
    AutoCamera(
 
469
    main_Collect_1_out_1,
 
470
    main_AutoCamera_1_in_2,
 
471
    main_AutoCamera_1_in_3,
 
472
    main_AutoCamera_1_in_4,
 
473
    main_AutoCamera_1_in_5,
 
474
    main_AutoCamera_1_in_6,
 
475
    main_AutoCamera_1_in_7,
 
476
    main_AutoCamera_1_in_8,
 
477
    main_AutoCamera_1_in_9
 
478
    ) [instance: 1, cache: 1];
 
479
    // 
 
480
    // node Receiver[12]: x = 20, y = 93, inputs = 1, label = Field
 
481
    // page group: Streamlines
 
482
    //
 
483
main_Receiver_12_out_1[cache: 0] = Field;
 
484
    // 
 
485
    // node Probe[10]: x = 160, y = 93, inputs = 0, label = Streamline point
 
486
    // output[1]: visible = 1, type = 8, value = [0.422442,0.510393,0.51277]
 
487
    // page group: Streamlines
 
488
    //
 
489
    // 
 
490
    // node String[2]: x = 300, y = 93, inputs = 0, label = String
 
491
    // output[1]: visible = 1, type = 32, value = "line"
 
492
    // page group: Streamlines
 
493
    //
 
494
    // 
 
495
    // node Vector[3]: x = 360, y = 93, inputs = 11, label = Vector
 
496
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_3"
 
497
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 0 0 ]
 
498
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
499
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
500
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
501
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
502
    // output[1]: visible = 1, type = 8, value = [ 1 0 0 ]
 
503
    // page group: Streamlines
 
504
    //
 
505
    // 
 
506
    // node Integer[1]: x = 420, y = 93, inputs = 11, label = Integer
 
507
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Integer_1"
 
508
    // input[3]: defaulting = 0, visible = 0, type = 1, value = 30 
 
509
    // input[5]: defaulting = 1, visible = 0, type = 1, value = -1000000
 
510
    // input[6]: defaulting = 1, visible = 0, type = 1, value = 1000000
 
511
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
512
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 0
 
513
    // output[1]: visible = 1, type = 1, value = 30 
 
514
    // page group: Streamlines
 
515
    //
 
516
    // 
 
517
    // node Grid[1]: x = 220, y = 186, inputs = 4, label = Grid
 
518
    // page group: Streamlines
 
519
    //
 
520
main_Grid_1_out_1 = 
 
521
    Grid(
 
522
    main_Probe_10_out_1,
 
523
    main_String_2_out_1,
 
524
    main_Vector_3_out_1,
 
525
    main_Integer_1_out_1
 
526
    ) [instance: 1, cache: 1];
 
527
    // 
 
528
    // node Streamline[2]: x = 20, y = 217, inputs = 7, label = Streamline
 
529
    // page group: Streamlines
 
530
    //
 
531
main_Streamline_2_out_1 = 
 
532
    Streamline(
 
533
    main_Receiver_12_out_1,
 
534
    main_Grid_1_out_1,
 
535
    main_Streamline_2_in_3,
 
536
    main_Streamline_2_in_4,
 
537
    main_Streamline_2_in_5,
 
538
    main_Streamline_2_in_6,
 
539
    main_Streamline_2_in_7
 
540
    ) [instance: 2, cache: 1];
 
541
    // 
 
542
    // node AutoColor[1]: x = 20, y = 310, inputs = 10, label = AutoColor
 
543
    // page group: Streamlines
 
544
    //
 
545
main_AutoColor_1_out_1,
 
546
main_AutoColor_1_out_2 = 
 
547
    AutoColor(
 
548
    main_Streamline_2_out_1,
 
549
    main_AutoColor_1_in_2,
 
550
    main_AutoColor_1_in_3,
 
551
    main_AutoColor_1_in_4,
 
552
    main_AutoColor_1_in_5,
 
553
    main_AutoColor_1_in_6,
 
554
    main_AutoColor_1_in_7,
 
555
    main_AutoColor_1_in_8,
 
556
    main_AutoColor_1_in_9,
 
557
    main_AutoColor_1_in_10
 
558
    ) [instance: 1, cache: 1];
 
559
    // 
 
560
    // node Receiver[21]: x = 20, y = 93, inputs = 1, label = Field
 
561
    // page group: Arrows
 
562
    //
 
563
main_Receiver_21_out_1[cache: 0] = Field;
 
564
    // 
 
565
    // node Compute[4]: x = 20, y = 217, inputs = 3, label = Compute
 
566
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+0.001"
 
567
    // page group: Arrows
 
568
    // expression: value = a+0.001
 
569
    // name[2]: value = a
 
570
    // name[3]: value = b
 
571
    //
 
572
main_Compute_4_out_1 = 
 
573
    Compute(
 
574
    main_Compute_4_in_1,
 
575
    main_Receiver_21_out_1,
 
576
    main_Compute_4_in_3
 
577
    ) [instance: 4, cache: 1];
 
578
    // 
 
579
    // node Vector[5]: x = 160, y = 124, inputs = 11, label = Vector
 
580
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_5"
 
581
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.5 0.5 0.5 ]
 
582
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
583
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
584
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
585
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
586
    // output[1]: visible = 1, type = 8, value = [ 0.5 0.5 0.5 ]
 
587
    // page group: Arrows
 
588
    //
 
589
    // 
 
590
    // node Vector[2]: x = 220, y = 124, inputs = 11, label = Vector
 
591
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_2"
 
592
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0 0 1 ]
 
593
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
594
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
595
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
596
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
597
    // output[1]: visible = 1, type = 8, value = [ 0 0 1 ]
 
598
    // page group: Arrows
 
599
    //
 
600
    // 
 
601
    // node MapToPlane[2]: x = 160, y = 217, inputs = 3, label = MapToPlane
 
602
    // page group: Arrows
 
603
    //
 
604
main_MapToPlane_2_out_1 = 
 
605
    MapToPlane(
 
606
    main_Compute_4_out_1,
 
607
    main_Vector_5_out_1,
 
608
    main_Vector_2_out_1
 
609
    ) [instance: 2, cache: 1];
 
610
    // 
 
611
    // node Scalar[4]: x = 380, y = 124, inputs = 11, label = Scalar
 
612
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_4"
 
613
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.2 
 
614
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
 
615
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
 
616
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
617
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
 
618
    // output[1]: visible = 1, type = 5, value = 0.2 
 
619
    // page group: Arrows
 
620
    //
 
621
    // 
 
622
    // node Scalar[3]: x = 440, y = 124, inputs = 11, label = Scalar
 
623
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_3"
 
624
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 10.0 
 
625
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
 
626
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
 
627
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
628
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
 
629
    // output[1]: visible = 1, type = 5, value = 10.0 
 
630
    // page group: Arrows
 
631
    //
 
632
    // 
 
633
    // node Scalar[5]: x = 500, y = 124, inputs = 11, label = Scalar
 
634
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_5"
 
635
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.0 
 
636
    // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0
 
637
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0
 
638
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
639
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 5
 
640
    // output[1]: visible = 1, type = 5, value = 0.0 
 
641
    // page group: Arrows
 
642
    //
 
643
    // 
 
644
    // node AutoGlyph[1]: x = 320, y = 217, inputs = 7, label = AutoGlyph
 
645
    // page group: Arrows
 
646
    //
 
647
main_AutoGlyph_1_out_1 = 
 
648
    AutoGlyph(
 
649
    main_MapToPlane_2_out_1,
 
650
    main_AutoGlyph_1_in_2,
 
651
    main_Scalar_4_out_1,
 
652
    main_Scalar_3_out_1,
 
653
    main_Scalar_5_out_1,
 
654
    main_AutoGlyph_1_in_6,
 
655
    main_AutoGlyph_1_in_7
 
656
    ) [instance: 1, cache: 1];
 
657
    // 
 
658
    // node AutoColor[3]: x = 320, y = 310, inputs = 10, label = AutoColor
 
659
    // page group: Arrows
 
660
    //
 
661
main_AutoColor_3_out_1,
 
662
main_AutoColor_3_out_2 = 
 
663
    AutoColor(
 
664
    main_AutoGlyph_1_out_1,
 
665
    main_AutoColor_3_in_2,
 
666
    main_AutoColor_3_in_3,
 
667
    main_AutoColor_3_in_4,
 
668
    main_AutoColor_3_in_5,
 
669
    main_AutoColor_3_in_6,
 
670
    main_AutoColor_3_in_7,
 
671
    main_AutoColor_3_in_8,
 
672
    main_AutoColor_3_in_9,
 
673
    main_AutoColor_3_in_10
 
674
    ) [instance: 3, cache: 1];
 
675
    // 
 
676
    // node Receiver[24]: x = 20, y = 93, inputs = 1, label = Field
 
677
    // page group: Vorticity
 
678
    //
 
679
main_Receiver_24_out_1[cache: 0] = Field;
 
680
    // 
 
681
    // node Probe[11]: x = 100, y = 124, inputs = 0, label = Vorticity plane
 
682
    // page group: Vorticity
 
683
    //
 
684
    // 
 
685
    // node Vector[4]: x = 220, y = 124, inputs = 11, label = Vector
 
686
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_4"
 
687
    // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0 1 0 ]
 
688
    // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ]
 
689
    // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ]
 
690
    // input[7]: defaulting = 1, visible = 0, type = 8, value = [       1        1        1]
 
691
    // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ]
 
692
    // output[1]: visible = 1, type = 8, value = [ 0 1 0 ]
 
693
    // page group: Vorticity
 
694
    //
 
695
    // 
 
696
    // node MapToPlane[3]: x = 40, y = 217, inputs = 3, label = MapToPlane
 
697
    // page group: Vorticity
 
698
    //
 
699
main_MapToPlane_3_out_1 = 
 
700
    MapToPlane(
 
701
    main_Receiver_24_out_1,
 
702
    main_Probe_11_out_1,
 
703
    main_Vector_4_out_1
 
704
    ) [instance: 3, cache: 1];
 
705
    // 
 
706
    // node DivCurl[1]: x = 160, y = 217, inputs = 2, label = DivCurl
 
707
    // page group: Vorticity
 
708
    //
 
709
main_DivCurl_1_out_1,
 
710
main_DivCurl_1_out_2 = 
 
711
    DivCurl(
 
712
    main_MapToPlane_3_out_1,
 
713
    main_DivCurl_1_in_2
 
714
    ) [instance: 1, cache: 1];
 
715
    // 
 
716
    // node Compute[3]: x = 240, y = 217, inputs = 3, label = Compute
 
717
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "mag($0)"
 
718
    // page group: Vorticity
 
719
    // expression: value = mag(a)
 
720
    // name[2]: value = a
 
721
    // name[3]: value = b
 
722
    //
 
723
main_Compute_3_out_1 = 
 
724
    Compute(
 
725
    main_Compute_3_in_1,
 
726
    main_DivCurl_1_out_1,
 
727
    main_Compute_3_in_3
 
728
    ) [instance: 3, cache: 1];
 
729
    // 
 
730
    // node AutoColor[4]: x = 340, y = 217, inputs = 10, label = AutoColor
 
731
    // page group: Vorticity
 
732
    //
 
733
main_AutoColor_4_out_1,
 
734
main_AutoColor_4_out_2 = 
 
735
    AutoColor(
 
736
    main_Compute_3_out_1,
 
737
    main_AutoColor_4_in_2,
 
738
    main_AutoColor_4_in_3,
 
739
    main_AutoColor_4_in_4,
 
740
    main_AutoColor_4_in_5,
 
741
    main_AutoColor_4_in_6,
 
742
    main_AutoColor_4_in_7,
 
743
    main_AutoColor_4_in_8,
 
744
    main_AutoColor_4_in_9,
 
745
    main_AutoColor_4_in_10
 
746
    ) [instance: 4, cache: 1];
 
747
    // 
 
748
    // node AutoColor[5]: x = 220, y = 372, inputs = 10, label = AutoColor
 
749
    // page group: Colorslice
 
750
    //
 
751
main_AutoColor_5_out_1,
 
752
main_AutoColor_5_out_2 = 
 
753
    AutoColor(
 
754
    main_MapToPlane_1_out_1,
 
755
    main_AutoColor_5_in_2,
 
756
    main_AutoColor_5_in_3,
 
757
    main_AutoColor_5_in_4,
 
758
    main_AutoColor_5_in_5,
 
759
    main_AutoColor_5_in_6,
 
760
    main_AutoColor_5_in_7,
 
761
    main_AutoColor_5_in_8,
 
762
    main_AutoColor_5_in_9,
 
763
    main_AutoColor_5_in_10
 
764
    ) [instance: 5, cache: 1];
 
765
    // 
 
766
    // node AutoColor[6]: x = 620, y = 372, inputs = 10, label = AutoColor
 
767
    // page group: Colorslice
 
768
    //
 
769
main_AutoColor_6_out_1,
 
770
main_AutoColor_6_out_2 = 
 
771
    AutoColor(
 
772
    main_MapToPlane_4_out_1,
 
773
    main_AutoColor_6_in_2,
 
774
    main_AutoColor_6_in_3,
 
775
    main_AutoColor_6_in_4,
 
776
    main_AutoColor_6_in_5,
 
777
    main_AutoColor_6_in_6,
 
778
    main_AutoColor_6_in_7,
 
779
    main_AutoColor_6_in_8,
 
780
    main_AutoColor_6_in_9,
 
781
    main_AutoColor_6_in_10
 
782
    ) [instance: 6, cache: 1];
 
783
    // 
 
784
    // node Receiver[1]: x = 20, y = 93, inputs = 1, label = Field
 
785
    // page group: Iso surface
 
786
    //
 
787
main_Receiver_1_out_1[cache: 0] = Field;
 
788
    // 
 
789
    // node Inquire[6]: x = 20, y = 217, inputs = 3, label = Inquire
 
790
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is vector + 1"
 
791
    // page group: Iso surface
 
792
    //
 
793
main_Inquire_6_out_1 = 
 
794
    Inquire(
 
795
    main_Receiver_1_out_1,
 
796
    main_Inquire_6_in_2,
 
797
    main_Inquire_6_in_3
 
798
    ) [instance: 6, cache: 1];
 
799
    // 
 
800
    // node Compute[1]: x = 120, y = 217, inputs = 2, label = Compute
 
801
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "mag($0)"
 
802
    // page group: Iso surface
 
803
    // expression: value = mag(a)
 
804
    // name[2]: value = a
 
805
    //
 
806
main_Compute_1_out_1 = 
 
807
    Compute(
 
808
    main_Compute_1_in_1,
 
809
    main_Receiver_1_out_1
 
810
    ) [instance: 1, cache: 1];
 
811
    // 
 
812
    // node Switch[10]: x = 20, y = 310, inputs = 3, label = Switch
 
813
    // page group: Iso surface
 
814
    //
 
815
main_Switch_10_out_1 = 
 
816
    Switch(
 
817
    main_Inquire_6_out_1,
 
818
    main_Receiver_1_out_1,
 
819
    main_Compute_1_out_1
 
820
    ) [instance: 10, cache: 1];
 
821
    // 
 
822
    // node Receiver[8]: x = 220, y = 186, inputs = 1, label = Variable
 
823
    // page group: Iso surface
 
824
    //
 
825
main_Receiver_8_out_1[cache: 0] = Variable;
 
826
    // 
 
827
    // node Reset[2]: x = 280, y = 279, inputs = 6, label = Reset
 
828
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "main_Reset_2_out_1"
 
829
    // input[2]: defaulting = 0, visible = 0, type = 29, value = 0
 
830
    // input[3]: defaulting = 0, visible = 0, type = 3, value = 0
 
831
    // input[4]: defaulting = 1, visible = 0, type = 29, value = 1
 
832
    // input[5]: defaulting = 1, visible = 0, type = 29, value = 0
 
833
    // output[1]: visible = 1, type = 29, value = 0
 
834
    // page group: Iso surface
 
835
    // toggle : 0
 
836
    //
 
837
    // 
 
838
    // node Scalar[2]: x = 220, y = 279, inputs = 11, label = Scalar
 
839
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "Scalar_2"
 
840
    // input[3]: defaulting = 0, visible = 0, type = 5, value = 0.005 
 
841
    // input[4]: defaulting = 1, visible = 1, type = 3, value = 0
 
842
    // input[5]: defaulting = 1, visible = 0, type = 5, value = 0.0010193484
 
843
    // input[6]: defaulting = 1, visible = 0, type = 5, value = 0.5058552
 
844
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
845
    // input[9]: defaulting = 1, visible = 0, type = 1, value = 3
 
846
    // output[1]: visible = 1, type = 5, value = 0.005 
 
847
    // page group: Iso surface
 
848
    //
 
849
main_Scalar_2_out_1[cache: 2] = 
 
850
    Scalar(
 
851
    main_Scalar_2_in_1,
 
852
    main_Receiver_8_out_1,
 
853
    main_Scalar_2_in_3,
 
854
    main_Reset_2_out_1,
 
855
    main_Scalar_2_in_5,
 
856
    main_Scalar_2_in_6,
 
857
    main_Scalar_2_in_7,
 
858
    main_Scalar_2_in_8,
 
859
    main_Scalar_2_in_9,
 
860
    main_Scalar_2_in_10,
 
861
    main_Scalar_2_in_11
 
862
    ) [instance: 2, cache: 1];
 
863
    // 
 
864
    // node Isosurface[2]: x = 100, y = 372, inputs = 6, label = Isosurface
 
865
    // page group: Iso surface
 
866
    //
 
867
main_Isosurface_2_out_1 = 
 
868
    Isosurface(
 
869
    main_Switch_10_out_1,
 
870
    main_Scalar_2_out_1,
 
871
    main_Isosurface_2_in_3,
 
872
    main_Isosurface_2_in_4,
 
873
    main_Isosurface_2_in_5,
 
874
    main_Isosurface_2_in_6
 
875
    ) [instance: 2, cache: 1];
 
876
    // 
 
877
    // node Color[2]: x = 120, y = 465, inputs = 5, label = Color
 
878
    // input[3]: defaulting = 0, visible = 1, type = 5, value = .3
 
879
    // page group: Iso surface
 
880
    //
 
881
main_Color_2_out_1 = 
 
882
    Color(
 
883
    main_Isosurface_2_out_1,
 
884
    main_Color_2_in_2,
 
885
    main_Color_2_in_3,
 
886
    main_Color_2_in_4,
 
887
    main_Color_2_in_5
 
888
    ) [instance: 2, cache: 1];
 
889
    // 
 
890
    // node ColorBar[3]: x = 500, y = 527, inputs = 16, label = ColorBar
 
891
    // input[2]: defaulting = 1, visible = 1, type = 8, value = NULL
 
892
    // input[6]: defaulting = 1, visible = 0, type = 5, value = -1.0
 
893
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0
 
894
    // page group: Colorslice
 
895
    //
 
896
main_ColorBar_3_out_1 = 
 
897
    ColorBar(
 
898
    main_Colormap_2_out_1,
 
899
    main_ColorBar_3_in_2,
 
900
    main_ColorBar_3_in_3,
 
901
    main_ColorBar_3_in_4,
 
902
    main_ColorBar_3_in_5,
 
903
    main_ColorBar_3_in_6,
 
904
    main_ColorBar_3_in_7,
 
905
    main_ColorBar_3_in_8,
 
906
    main_ColorBar_3_in_9,
 
907
    main_ColorBar_3_in_10,
 
908
    main_ColorBar_3_in_11,
 
909
    main_ColorBar_3_in_12,
 
910
    main_ColorBar_3_in_13,
 
911
    main_ColorBar_3_in_14,
 
912
    main_ColorBar_3_in_15,
 
913
    main_ColorBar_3_in_16
 
914
    ) [instance: 3, cache: 1];
 
915
    // 
 
916
    // node Reset[1]: x = 280, y = 372, inputs = 6, label = Reset
 
917
    // input[1]: defaulting = 0, visible = 0, type = 32, value = "main_Reset_1_out_1"
 
918
    // input[2]: defaulting = 0, visible = 0, type = 29, value = 0
 
919
    // input[3]: defaulting = 0, visible = 0, type = 3, value = 0
 
920
    // input[4]: defaulting = 1, visible = 0, type = 29, value = 1
 
921
    // input[5]: defaulting = 1, visible = 0, type = 29, value = 0
 
922
    // output[1]: visible = 1, type = 29, value = 0
 
923
    // page group: Image
 
924
    // toggle : 0
 
925
    //
 
926
    // 
 
927
    // node Image[1]: x = 200, y = 372, inputs = 49, label = Image
 
928
    // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1"
 
929
    // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
 
930
    // input[5]: defaulting = 0, visible = 0, type = 8, value = [0.679126 0.423849 0.431384]
 
931
    // input[6]: defaulting = 0, visible = 0, type = 8, value = [-1.90239 1.50564 3.76769]
 
932
    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.71032
 
933
    // input[8]: defaulting = 0, visible = 0, type = 1, value = 640
 
934
    // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.751
 
935
    // input[10]: defaulting = 0, visible = 0, type = 8, value = [0.141444 0.96857 -0.204613]
 
936
    // input[11]: defaulting = 0, visible = 0, type = 5, value = 22.2192
 
937
    // input[12]: defaulting = 0, visible = 0, type = 1, value = 1
 
938
    // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
 
939
    // input[15]: defaulting = 0, visible = 0, type = 32, value = "none"
 
940
    // input[16]: defaulting = 0, visible = 0, type = 32, value = "none"
 
941
    // input[17]: defaulting = 1, visible = 0, type = 1, value = 1
 
942
    // input[18]: defaulting = 1, visible = 0, type = 1, value = 1
 
943
    // input[19]: defaulting = 0, visible = 0, type = 1, value = 0
 
944
    // input[20]: visible = 1
 
945
    // input[21]: visible = 1
 
946
    // input[22]: defaulting = 0, visible = 0, type = 32, value = "black"
 
947
    // input[25]: defaulting = 0, visible = 0, type = 32, value = "/home/logg/results/bistable/2004-03-01-mesh-32/movie.miff"
 
948
    // input[26]: defaulting = 0, visible = 0, type = 32, value = "miff"
 
949
    // input[27]: defaulting = 0, visible = 0, type = 1, value = 640
 
950
    // input[28]: defaulting = 0, visible = 0, type = 5, value = 0.75
 
951
    // input[29]: defaulting = 0, visible = 0, type = 3, value = 0
 
952
    // input[31]: defaulting = 0, visible = 0, type = 1, value = 15
 
953
    // input[34]: defaulting = 0, visible = 0, type = 3, value = 1
 
954
    // input[39]: defaulting = 0, visible = 0, type = 5, value = 1.0
 
955
    // input[41]: defaulting = 0, visible = 0, type = 32, value = "none"
 
956
    // input[42]: defaulting = 0, visible = 0, type = 32, value = "Basic3D"
 
957
    // page group: Image
 
958
    // title: value = Basic3D
 
959
    // depth: value = 24
 
960
    // window: position = (0.4367,0.2969), size = 0.5109x0.5437
 
961
    // internal caching: 1
 
962
    //
 
963
main_Image_1_out_1,
 
964
main_Image_1_out_2,
 
965
main_Image_1_out_3 = 
 
966
    Image(
 
967
    main_Image_1_in_1,
 
968
    main_Collect_1_out_1,
 
969
    main_Image_1_in_3,
 
970
    main_Image_1_in_4,
 
971
    main_Image_1_in_5,
 
972
    main_Image_1_in_6,
 
973
    main_Image_1_in_7,
 
974
    main_Image_1_in_8,
 
975
    main_Image_1_in_9,
 
976
    main_Image_1_in_10,
 
977
    main_Image_1_in_11,
 
978
    main_Image_1_in_12,
 
979
    main_Image_1_in_13,
 
980
    main_Image_1_in_14,
 
981
    main_Image_1_in_15,
 
982
    main_Image_1_in_16,
 
983
    main_Image_1_in_17,
 
984
    main_Image_1_in_18,
 
985
    main_Image_1_in_19,
 
986
    main_AutoCamera_1_out_1,
 
987
    main_Reset_1_out_1,
 
988
    main_Image_1_in_22,
 
989
    main_Image_1_in_23,
 
990
    main_Image_1_in_24,
 
991
    main_Image_1_in_25,
 
992
    main_Image_1_in_26,
 
993
    main_Image_1_in_27,
 
994
    main_Image_1_in_28,
 
995
    main_Image_1_in_29,
 
996
    main_Image_1_in_30,
 
997
    main_Image_1_in_31,
 
998
    main_Image_1_in_32,
 
999
    main_Image_1_in_33,
 
1000
    main_Image_1_in_34,
 
1001
    main_Image_1_in_35,
 
1002
    main_Image_1_in_36,
 
1003
    main_Image_1_in_37,
 
1004
    main_Image_1_in_38,
 
1005
    main_Image_1_in_39,
 
1006
    main_Image_1_in_40,
 
1007
    main_Image_1_in_41,
 
1008
    main_Image_1_in_42,
 
1009
    main_Image_1_in_43,
 
1010
    main_Image_1_in_44,
 
1011
    main_Image_1_in_45,
 
1012
    main_Image_1_in_46,
 
1013
    main_Image_1_in_47,
 
1014
    main_Image_1_in_48,
 
1015
    main_Image_1_in_49
 
1016
    ) [instance: 1, cache: 1];
 
1017
    // 
 
1018
    // node Inquire[7]: x = 20, y = 403, inputs = 3, label = Inquire
 
1019
    // input[2]: defaulting = 0, visible = 1, type = 32, value = "is data dependent"
 
1020
    // input[3]: defaulting = 0, visible = 1, type = 32, value = "positions"
 
1021
    // page group: Iso surface
 
1022
    //
 
1023
main_Inquire_7_out_1 = 
 
1024
    Inquire(
 
1025
    main_Switch_10_out_1,
 
1026
    main_Inquire_7_in_2,
 
1027
    main_Inquire_7_in_3
 
1028
    ) [instance: 7, cache: 1];
 
1029
    // 
 
1030
    // node Switch[9]: x = 20, y = 310, inputs = 3, label = Switch
 
1031
    // input[2]: defaulting = 0, visible = 1, type = 67108863, value = 0
 
1032
    // input[3]: defaulting = 0, visible = 1, type = 67108863, value = 1
 
1033
    // page group: Variable
 
1034
    //
 
1035
main_Switch_9_out_1 = 
 
1036
    Switch(
 
1037
    main_Inquire_3_out_1,
 
1038
    main_Switch_9_in_2,
 
1039
    main_Switch_9_in_3
 
1040
    ) [instance: 9, cache: 1];
 
1041
    // 
 
1042
    // node ManageControlPanel[1]: x = 20, y = 403, inputs = 2, label = ManageControlPanel
 
1043
    // input[1]: defaulting = 0, visible = 1, type = 16777248, value = {"Variable Selection"}
 
1044
    // page group: Variable
 
1045
    //
 
1046
    ManageControlPanel(
 
1047
    main_ManageControlPanel_1_in_1,
 
1048
    main_Switch_9_out_1
 
1049
    ) [instance: 1, cache: 1];
 
1050
    // 
 
1051
    // node Switch[8]: x = 20, y = 310, inputs = 3, label = Switch
 
1052
    // input[2]: defaulting = 0, visible = 1, type = 67108863, value = 0
 
1053
    // input[3]: defaulting = 0, visible = 1, type = 67108863, value = 1
 
1054
    // page group: Frame
 
1055
    //
 
1056
main_Switch_8_out_1 = 
 
1057
    Switch(
 
1058
    main_Inquire_4_out_1,
 
1059
    main_Switch_8_in_2,
 
1060
    main_Switch_8_in_3
 
1061
    ) [instance: 8, cache: 1];
 
1062
    // 
 
1063
    // node ManageSequencer[1]: x = 20, y = 403, inputs = 1, label = ManageSequencer
 
1064
    // page group: Frame
 
1065
    //
 
1066
    ManageSequencer(
 
1067
    main_Switch_8_out_1
 
1068
    ) [instance: 1, cache: 1];
 
1069
    // 
 
1070
    // node Switch[11]: x = 20, y = 465, inputs = 3, label = Switch
 
1071
    // page group: Iso surface
 
1072
    //
 
1073
main_Switch_11_out_1 = 
 
1074
    Switch(
 
1075
    main_Inquire_7_out_1,
 
1076
    main_Color_2_out_1,
 
1077
    main_Switch_11_in_3
 
1078
    ) [instance: 11, cache: 1];
 
1079
    // 
 
1080
    // node Transmitter[11]: x = 20, y = 558, inputs = 1, label = Isosurface
 
1081
    // page group: Iso surface
 
1082
    //
 
1083
Isosurface = main_Switch_11_out_1;
 
1084
    // 
 
1085
    // node Receiver[7]: x = 360, y = 93, inputs = 1, label = Isosurface
 
1086
    // page group: Image
 
1087
    //
 
1088
main_Receiver_7_out_1[cache: 0] = Isosurface;
 
1089
    // 
 
1090
    // node Transmitter[17]: x = 20, y = 403, inputs = 1, label = Streamlines
 
1091
    // page group: Streamlines
 
1092
    //
 
1093
Streamlines = main_AutoColor_1_out_1;
 
1094
    // 
 
1095
    // node Receiver[13]: x = 440, y = 93, inputs = 1, label = Streamlines
 
1096
    // page group: Image
 
1097
    //
 
1098
main_Receiver_13_out_1[cache: 0] = Streamlines;
 
1099
    // 
 
1100
    // node Receiver[18]: x = 20, y = 124, inputs = 1, label = Field
 
1101
    // page group: Geometry
 
1102
    //
 
1103
main_Receiver_18_out_1[cache: 0] = Field;
 
1104
    // 
 
1105
    // node ShowConnections[2]: x = 20, y = 248, inputs = 1, label = ShowConnections
 
1106
    // page group: Geometry
 
1107
    //
 
1108
main_ShowConnections_2_out_1 = 
 
1109
    ShowConnections(
 
1110
    main_Receiver_18_out_1
 
1111
    ) [instance: 2, cache: 1];
 
1112
    // 
 
1113
    // node Transmitter[20]: x = 20, y = 341, inputs = 1, label = Mesh
 
1114
    // page group: Geometry
 
1115
    //
 
1116
Mesh = main_ShowConnections_2_out_1;
 
1117
    // 
 
1118
    // node Receiver[19]: x = 100, y = 93, inputs = 1, label = Mesh
 
1119
    // page group: Image
 
1120
    //
 
1121
main_Receiver_19_out_1[cache: 0] = Mesh;
 
1122
    // 
 
1123
    // node Transmitter[23]: x = 420, y = 310, inputs = 1, label = Arrows
 
1124
    // page group: Arrows
 
1125
    //
 
1126
Arrows = main_AutoColor_3_out_1;
 
1127
    // 
 
1128
    // node Receiver[23]: x = 520, y = 155, inputs = 1, label = Arrows
 
1129
    // page group: Image
 
1130
    //
 
1131
main_Receiver_23_out_1[cache: 0] = Arrows;
 
1132
    // 
 
1133
    // node Transmitter[24]: x = 440, y = 217, inputs = 1, label = Vorticity
 
1134
    // page group: Vorticity
 
1135
    //
 
1136
Vorticity = main_AutoColor_4_out_1;
 
1137
    // 
 
1138
    // node Receiver[25]: x = 440, y = 155, inputs = 1, label = Vorticity
 
1139
    // page group: Image
 
1140
    //
 
1141
main_Receiver_25_out_1[cache: 0] = Vorticity;
 
1142
    // 
 
1143
    // node ShowBoundary[1]: x = 180, y = 248, inputs = 2, label = ShowBoundary
 
1144
    // input[2]: defaulting = 1, visible = 1, type = 3, value = NULL
 
1145
    // page group: Geometry
 
1146
    //
 
1147
main_ShowBoundary_1_out_1 = 
 
1148
    ShowBoundary(
 
1149
    main_Receiver_18_out_1,
 
1150
    main_ShowBoundary_1_in_2
 
1151
    ) [instance: 1, cache: 1];
 
1152
    // 
 
1153
    // node Transmitter[25]: x = 180, y = 341, inputs = 1, label = Boundary
 
1154
    // page group: Geometry
 
1155
    //
 
1156
Boundary = main_ShowBoundary_1_out_1;
 
1157
    // 
 
1158
    // node Receiver[27]: x = 20, y = 93, inputs = 1, label = Boundary
 
1159
    // page group: Image
 
1160
    //
 
1161
main_Receiver_27_out_1[cache: 0] = Boundary;
 
1162
    // 
 
1163
    // node Transmitter[27]: x = 640, y = 527, inputs = 1, label = Colorbar2
 
1164
    // page group: Colorslice
 
1165
    //
 
1166
Colorbar2 = main_ColorBar_3_out_1;
 
1167
    // 
 
1168
    // node Receiver[30]: x = 20, y = 372, inputs = 1, label = Colorbar2
 
1169
    // page group: Image
 
1170
    //
 
1171
main_Receiver_30_out_1[cache: 0] = Colorbar2;
 
1172
    //
 
1173
    // decorator Annotate       pos=(20,31) size=358x44 style(Label), font=bold, value = <NULL>
 
1174
    // annotation user_begin: 86
 
1175
    // annotation user: Import of data. Specify the filename in FileSelector
 
1176
    // annotation user: and choose dataset from Selector.
 
1177
    // annotation user_end: <NULL>
 
1178
    // resource *decorator.foreground:#b30000
 
1179
    // page group: Import
 
1180
    //
 
1181
    // decorator Annotate       pos=(20,31) size=321x28 style(Label), font=bold, value = <NULL>
 
1182
    // annotation user_begin: 45
 
1183
    // annotation user: Selection of variables from imported dataset.
 
1184
    // annotation user_end: <NULL>
 
1185
    // resource *decorator.foreground:#b30000
 
1186
    // page group: Variable
 
1187
    //
 
1188
    // decorator Annotate       pos=(20,31) size=334x28 style(Label), font=bold, value = <NULL>
 
1189
    // annotation user_begin: 48
 
1190
    // annotation user: Select a given frame from from a series of data.
 
1191
    // annotation user_end: <NULL>
 
1192
    // resource *decorator.foreground:#b30000
 
1193
    // page group: Frame
 
1194
    //
 
1195
    // decorator Annotate       pos=(20,31) size=289x28 style(Label), font=bold, value = <NULL>
 
1196
    // annotation user_begin: 40
 
1197
    // annotation user: Create a cutting plane through the data.
 
1198
    // annotation user_end: <NULL>
 
1199
    // resource *decorator.alignment:XmALIGNMENT_BEGINNING
 
1200
    // resource *decorator.foreground:#b30000
 
1201
    // page group: Colorslice
 
1202
    //
 
1203
    // decorator Annotate       pos=(20,31) size=336x28 style(Label), font=bold, value = <NULL>
 
1204
    // annotation user_begin: 48
 
1205
    // annotation user: Selection and presentation of the visualization.
 
1206
    // annotation user_end: <NULL>
 
1207
    // resource *decorator.foreground:#b30000
 
1208
    // page group: Image
 
1209
    //
 
1210
    // decorator Annotate       pos=(20,31) size=386x44 style(Label), font=bold, value = <NULL>
 
1211
    // annotation user_begin: 85
 
1212
    // annotation user: Create isosurface for a field. If the data are non-scalar,
 
1213
    // annotation user: the magnitude is computed.
 
1214
    // annotation user_end: <NULL>
 
1215
    // resource *decorator.alignment:XmALIGNMENT_BEGINNING
 
1216
    // resource *decorator.foreground:#b30000
 
1217
    // page group: Iso surface
 
1218
    //
 
1219
    // decorator Annotate       pos=(20,31) size=322x28 style(Label), font=bold, value = <NULL>
 
1220
    // annotation user_begin: 46
 
1221
    // annotation user: Create streamlines starting from a given line.
 
1222
    // annotation user_end: <NULL>
 
1223
    // resource *decorator.foreground:#b30000
 
1224
    // page group: Streamlines
 
1225
    //
 
1226
    // decorator Annotate       pos=(20,31) size=140x28 style(Label), font=bold, value = <NULL>
 
1227
    // annotation user_begin: 18
 
1228
    // annotation user: Compute vorticity.
 
1229
    // annotation user_end: <NULL>
 
1230
    // resource *decorator.foreground:#b30000
 
1231
    // page group: Vorticity
 
1232
    //
 
1233
    // decorator Annotate       pos=(20,31) size=262x28 style(Label), font=bold, value = <NULL>
 
1234
    // annotation user_begin: 38
 
1235
    // annotation user: Visualize velocity field using arrows.
 
1236
    // annotation user_end: <NULL>
 
1237
    // resource *decorator.foreground:#b30000
 
1238
    // page group: Arrows
 
1239
    //
 
1240
    // decorator Annotate       pos=(20,31) size=146x28 style(Label), font=bold, value = <NULL>
 
1241
    // annotation user_begin: 19
 
1242
    // annotation user: Visualize geometry.
 
1243
    // annotation user_end: <NULL>
 
1244
    // resource *decorator.foreground:#b30000
 
1245
    // page group: Geometry
 
1246
// network: end of macro body
 
1247
CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2);
 
1248
}
 
1249
main_Colormap_1_in_1 = { [0.0 0.666667] [0.0 0.83157895] [1.0 0.0] };
 
1250
main_Colormap_1_in_2 = { [0.0 1.0] [1.0 1.0] };
 
1251
main_Colormap_1_in_3 = { [0.0 1.0] [1.0 1.0] };
 
1252
main_Colormap_1_in_4 = { [0.0 1.0] [1.0 1.0] };
 
1253
main_Colormap_1_in_5 = "Colormap_1";
 
1254
main_Colormap_1_in_6 = NULL;
 
1255
main_Colormap_1_in_7 = NULL;
 
1256
main_Colormap_1_in_8 = NULL;
 
1257
main_Colormap_1_in_9 = NULL;
 
1258
main_Colormap_1_in_10 = NULL;
 
1259
main_Colormap_1_in_11 = NULL;
 
1260
main_Colormap_1_in_12 = { -1.05 1.05 };
 
1261
main_Colormap_1_in_13 = NULL;
 
1262
main_Colormap_1_in_14 = NULL;
 
1263
main_Colormap_1_in_15 = NULL;
 
1264
main_Colormap_1_in_16 = NULL;
 
1265
main_Colormap_1_in_17 = NULL;
 
1266
main_Colormap_1_in_18 = NULL;
 
1267
main_Colormap_1_in_19 = NULL;
 
1268
main_Colormap_1_out_1 = NULL;
 
1269
main_Colormap_1_out_2 = NULL;
 
1270
main_ColorBar_2_in_2 = NULL;
 
1271
main_ColorBar_2_in_3 = NULL;
 
1272
main_ColorBar_2_in_4 = NULL;
 
1273
main_ColorBar_2_in_5 = NULL;
 
1274
main_ColorBar_2_in_6 = NULL;
 
1275
main_ColorBar_2_in_7 = NULL;
 
1276
main_ColorBar_2_in_8 = NULL;
 
1277
main_ColorBar_2_in_9 = NULL;
 
1278
main_ColorBar_2_in_10 = NULL;
 
1279
main_ColorBar_2_in_11 = NULL;
 
1280
main_ColorBar_2_in_12 = NULL;
 
1281
main_ColorBar_2_in_13 = NULL;
 
1282
main_ColorBar_2_in_14 = NULL;
 
1283
main_ColorBar_2_in_15 = NULL;
 
1284
main_ColorBar_2_in_16 = NULL;
 
1285
main_ColorBar_2_out_1 = NULL;
 
1286
main_Transmitter_26_out_1 = NULL;
 
1287
main_Receiver_28_out_1 = NULL;
 
1288
main_FileSelector_3_out_1 = "/home/logg/results/bistable/2004-03-01-mesh-32/solution.dx";
 
1289
main_StringList_1_out_1 = { "Mesh", "u", "Time series" };
 
1290
main_Selector_3_in_1 = "Selector_3";
 
1291
main_Selector_3_in_2 = "Time series" ;
 
1292
main_Selector_3_in_3 = 2 ;
 
1293
main_Selector_3_in_5 = NULL;
 
1294
main_Selector_3_in_6 = NULL;
 
1295
main_Selector_3_in_7 = NULL;
 
1296
main_Selector_3_out_2 = "Time series" ;
 
1297
main_String_1_out_1 = "dx";
 
1298
main_Import_1_in_4 = NULL;
 
1299
main_Import_1_in_5 = NULL;
 
1300
main_Import_1_in_6 = NULL;
 
1301
main_Import_1_out_1 = NULL;
 
1302
main_Transmitter_8_out_1 = NULL;
 
1303
main_Receiver_3_out_1 = NULL;
 
1304
main_Inquire_3_in_2 = "is generic group +1";
 
1305
main_Inquire_3_in_3 = NULL;
 
1306
main_Inquire_3_out_1 = NULL;
 
1307
main_Selector_2_in_1 = "Selector_2";
 
1308
main_Selector_2_in_2 = "on" ;
 
1309
main_Selector_2_in_3 = 1 ;
 
1310
main_Selector_2_in_5 = NULL;
 
1311
main_Selector_2_in_6 = NULL;
 
1312
main_Selector_2_in_7 = NULL;
 
1313
main_Selector_2_out_1 = 1 ;
 
1314
main_Select_1_in_3 = NULL;
 
1315
main_Select_1_out_1 = NULL;
 
1316
main_Switch_6_out_1 = NULL;
 
1317
main_Transmitter_9_out_1 = NULL;
 
1318
main_Receiver_4_out_1 = NULL;
 
1319
main_Inquire_4_in_2 = "is series + 1";
 
1320
main_Inquire_4_in_3 = NULL;
 
1321
main_Inquire_4_out_1 = NULL;
 
1322
main_Inquire_5_in_2 = "member count -1";
 
1323
main_Inquire_5_in_3 = NULL;
 
1324
main_Inquire_5_out_1 = NULL;
 
1325
main_Sequencer_1_in_1 = "Sequencer_1";
 
1326
main_Sequencer_1_in_2 = NULL;
 
1327
main_Sequencer_1_in_3 = NULL;
 
1328
main_Sequencer_1_in_4 = 0;
 
1329
main_Sequencer_1_in_6 = NULL;
 
1330
main_Sequencer_1_in_7 = { 0 100 1 0 100 1 };
 
1331
main_Sequencer_1_out_1 = NULL;
 
1332
 
 
1333
@startframe = 0;
 
1334
@nextframe  = @startframe;
 
1335
@endframe   = 100;
 
1336
@deltaframe = 1;
 
1337
main_Select_2_in_3 = NULL;
 
1338
main_Select_2_out_1 = NULL;
 
1339
main_Switch_7_out_1 = NULL;
 
1340
main_Transmitter_10_out_1 = NULL;
 
1341
main_Receiver_6_out_1 = NULL;
 
1342
main_Vector_9_in_1 = "Vector_9";
 
1343
main_Vector_9_in_2 = NULL;
 
1344
main_Vector_9_in_3 = [ 0.5 0.5 0.5 ];
 
1345
main_Vector_9_in_4 = NULL;
 
1346
main_Vector_9_in_5 = NULL;
 
1347
main_Vector_9_in_6 = NULL;
 
1348
main_Vector_9_in_7 = NULL;
 
1349
main_Vector_9_in_8 = NULL;
 
1350
main_Vector_9_in_9 = NULL;
 
1351
main_Vector_9_in_10 = NULL;
 
1352
main_Vector_9_in_11 = NULL;
 
1353
main_Vector_9_out_1 = [ 0.5 0.5 0.5 ];
 
1354
main_Vector_10_in_1 = "Vector_10";
 
1355
main_Vector_10_in_2 = NULL;
 
1356
main_Vector_10_in_3 = [ 1 0 0 ];
 
1357
main_Vector_10_in_4 = NULL;
 
1358
main_Vector_10_in_5 = NULL;
 
1359
main_Vector_10_in_6 = NULL;
 
1360
main_Vector_10_in_7 = NULL;
 
1361
main_Vector_10_in_8 = NULL;
 
1362
main_Vector_10_in_9 = NULL;
 
1363
main_Vector_10_in_10 = NULL;
 
1364
main_Vector_10_in_11 = NULL;
 
1365
main_Vector_10_out_1 = [ 1 0 0 ];
 
1366
main_MapToPlane_1_out_1 = NULL;
 
1367
main_Color_4_in_4 = NULL;
 
1368
main_Color_4_in_5 = NULL;
 
1369
main_Color_4_out_1 = NULL;
 
1370
main_Transmitter_12_out_1 = NULL;
 
1371
main_Receiver_9_out_1 = NULL;
 
1372
main_Vector_11_in_1 = "Vector_11";
 
1373
main_Vector_11_in_2 = NULL;
 
1374
main_Vector_11_in_3 = [ 0.5 0.5 0.5 ];
 
1375
main_Vector_11_in_4 = NULL;
 
1376
main_Vector_11_in_5 = NULL;
 
1377
main_Vector_11_in_6 = NULL;
 
1378
main_Vector_11_in_7 = NULL;
 
1379
main_Vector_11_in_8 = NULL;
 
1380
main_Vector_11_in_9 = NULL;
 
1381
main_Vector_11_in_10 = NULL;
 
1382
main_Vector_11_in_11 = NULL;
 
1383
main_Vector_11_out_1 = [ 0.5 0.5 0.5 ];
 
1384
main_Vector_12_in_1 = "Vector_12";
 
1385
main_Vector_12_in_2 = NULL;
 
1386
main_Vector_12_in_3 = [ 0 1 0 ];
 
1387
main_Vector_12_in_4 = NULL;
 
1388
main_Vector_12_in_5 = NULL;
 
1389
main_Vector_12_in_6 = NULL;
 
1390
main_Vector_12_in_7 = NULL;
 
1391
main_Vector_12_in_8 = NULL;
 
1392
main_Vector_12_in_9 = NULL;
 
1393
main_Vector_12_in_10 = NULL;
 
1394
main_Vector_12_in_11 = NULL;
 
1395
main_Vector_12_out_1 = [ 0 1 0 ];
 
1396
main_MapToPlane_4_out_1 = NULL;
 
1397
main_Colormap_2_in_1 = { [0.0 0.666667] [0.0 0.83157895] [1.0 0.0] };
 
1398
main_Colormap_2_in_2 = { [0.0 1.0] [1.0 1.0] };
 
1399
main_Colormap_2_in_3 = { [0.0 1.0] [1.0 1.0] };
 
1400
main_Colormap_2_in_4 = { [0.0 1.0] [1.0 1.0] };
 
1401
main_Colormap_2_in_5 = "Colormap_2";
 
1402
main_Colormap_2_in_6 = NULL;
 
1403
main_Colormap_2_in_7 = NULL;
 
1404
main_Colormap_2_in_8 = NULL;
 
1405
main_Colormap_2_in_9 = NULL;
 
1406
main_Colormap_2_in_10 = NULL;
 
1407
main_Colormap_2_in_11 = NULL;
 
1408
main_Colormap_2_in_12 = { -1.05 1.05 };
 
1409
main_Colormap_2_in_13 = NULL;
 
1410
main_Colormap_2_in_14 = NULL;
 
1411
main_Colormap_2_in_15 = NULL;
 
1412
main_Colormap_2_in_16 = NULL;
 
1413
main_Colormap_2_in_17 = NULL;
 
1414
main_Colormap_2_in_18 = NULL;
 
1415
main_Colormap_2_in_19 = NULL;
 
1416
main_Colormap_2_out_1 = NULL;
 
1417
main_Colormap_2_out_2 = NULL;
 
1418
main_Color_5_in_4 = NULL;
 
1419
main_Color_5_in_5 = NULL;
 
1420
main_Color_5_out_1 = NULL;
 
1421
main_Transmitter_28_out_1 = NULL;
 
1422
main_Receiver_29_out_1 = NULL;
 
1423
main_Collect_1_in_4 = NULL;
 
1424
main_Collect_1_in_5 = NULL;
 
1425
main_Collect_1_out_1 = NULL;
 
1426
main_AutoCamera_1_in_2 = "off-front";
 
1427
main_AutoCamera_1_in_3 = NULL;
 
1428
main_AutoCamera_1_in_4 = NULL;
 
1429
main_AutoCamera_1_in_5 = NULL;
 
1430
main_AutoCamera_1_in_6 = NULL;
 
1431
main_AutoCamera_1_in_7 = NULL;
 
1432
main_AutoCamera_1_in_8 = NULL;
 
1433
main_AutoCamera_1_in_9 = NULL;
 
1434
main_AutoCamera_1_out_1 = NULL;
 
1435
main_Receiver_12_out_1 = NULL;
 
1436
main_Probe_10_out_1 = [0.422442,0.510393,0.51277];
 
1437
main_String_2_out_1 = "line";
 
1438
main_Vector_3_in_1 = "Vector_3";
 
1439
main_Vector_3_in_2 = NULL;
 
1440
main_Vector_3_in_3 = [ 1 0 0 ];
 
1441
main_Vector_3_in_4 = NULL;
 
1442
main_Vector_3_in_5 = NULL;
 
1443
main_Vector_3_in_6 = NULL;
 
1444
main_Vector_3_in_7 = NULL;
 
1445
main_Vector_3_in_8 = NULL;
 
1446
main_Vector_3_in_9 = NULL;
 
1447
main_Vector_3_in_10 = NULL;
 
1448
main_Vector_3_in_11 = NULL;
 
1449
main_Vector_3_out_1 = [ 1 0 0 ];
 
1450
main_Integer_1_in_1 = "Integer_1";
 
1451
main_Integer_1_in_2 = NULL;
 
1452
main_Integer_1_in_3 = 30 ;
 
1453
main_Integer_1_in_4 = NULL;
 
1454
main_Integer_1_in_5 = NULL;
 
1455
main_Integer_1_in_6 = NULL;
 
1456
main_Integer_1_in_7 = NULL;
 
1457
main_Integer_1_in_8 = NULL;
 
1458
main_Integer_1_in_9 = NULL;
 
1459
main_Integer_1_in_10 = NULL;
 
1460
main_Integer_1_in_11 = NULL;
 
1461
main_Integer_1_out_1 = 30 ;
 
1462
main_Grid_1_out_1 = NULL;
 
1463
main_Streamline_2_in_3 = NULL;
 
1464
main_Streamline_2_in_4 = NULL;
 
1465
main_Streamline_2_in_5 = NULL;
 
1466
main_Streamline_2_in_6 = NULL;
 
1467
main_Streamline_2_in_7 = NULL;
 
1468
main_Streamline_2_out_1 = NULL;
 
1469
main_AutoColor_1_in_2 = NULL;
 
1470
main_AutoColor_1_in_3 = NULL;
 
1471
main_AutoColor_1_in_4 = NULL;
 
1472
main_AutoColor_1_in_5 = NULL;
 
1473
main_AutoColor_1_in_6 = NULL;
 
1474
main_AutoColor_1_in_7 = NULL;
 
1475
main_AutoColor_1_in_8 = NULL;
 
1476
main_AutoColor_1_in_9 = NULL;
 
1477
main_AutoColor_1_in_10 = NULL;
 
1478
main_AutoColor_1_out_1 = NULL;
 
1479
main_Receiver_21_out_1 = NULL;
 
1480
main_Compute_4_in_1 = "$0+0.001";
 
1481
main_Compute_4_in_3 = NULL;
 
1482
main_Compute_4_out_1 = NULL;
 
1483
main_Vector_5_in_1 = "Vector_5";
 
1484
main_Vector_5_in_2 = NULL;
 
1485
main_Vector_5_in_3 = [ 0.5 0.5 0.5 ];
 
1486
main_Vector_5_in_4 = NULL;
 
1487
main_Vector_5_in_5 = NULL;
 
1488
main_Vector_5_in_6 = NULL;
 
1489
main_Vector_5_in_7 = NULL;
 
1490
main_Vector_5_in_8 = NULL;
 
1491
main_Vector_5_in_9 = NULL;
 
1492
main_Vector_5_in_10 = NULL;
 
1493
main_Vector_5_in_11 = NULL;
 
1494
main_Vector_5_out_1 = [ 0.5 0.5 0.5 ];
 
1495
main_Vector_2_in_1 = "Vector_2";
 
1496
main_Vector_2_in_2 = NULL;
 
1497
main_Vector_2_in_3 = [ 0 0 1 ];
 
1498
main_Vector_2_in_4 = NULL;
 
1499
main_Vector_2_in_5 = NULL;
 
1500
main_Vector_2_in_6 = NULL;
 
1501
main_Vector_2_in_7 = NULL;
 
1502
main_Vector_2_in_8 = NULL;
 
1503
main_Vector_2_in_9 = NULL;
 
1504
main_Vector_2_in_10 = NULL;
 
1505
main_Vector_2_in_11 = NULL;
 
1506
main_Vector_2_out_1 = [ 0 0 1 ];
 
1507
main_MapToPlane_2_out_1 = NULL;
 
1508
main_Scalar_4_in_1 = "Scalar_4";
 
1509
main_Scalar_4_in_2 = NULL;
 
1510
main_Scalar_4_in_3 = 0.2 ;
 
1511
main_Scalar_4_in_4 = NULL;
 
1512
main_Scalar_4_in_5 = NULL;
 
1513
main_Scalar_4_in_6 = NULL;
 
1514
main_Scalar_4_in_7 = NULL;
 
1515
main_Scalar_4_in_8 = NULL;
 
1516
main_Scalar_4_in_9 = NULL;
 
1517
main_Scalar_4_in_10 = NULL;
 
1518
main_Scalar_4_in_11 = NULL;
 
1519
main_Scalar_4_out_1 = 0.2 ;
 
1520
main_Scalar_3_in_1 = "Scalar_3";
 
1521
main_Scalar_3_in_2 = NULL;
 
1522
main_Scalar_3_in_3 = 10.0 ;
 
1523
main_Scalar_3_in_4 = NULL;
 
1524
main_Scalar_3_in_5 = NULL;
 
1525
main_Scalar_3_in_6 = NULL;
 
1526
main_Scalar_3_in_7 = NULL;
 
1527
main_Scalar_3_in_8 = NULL;
 
1528
main_Scalar_3_in_9 = NULL;
 
1529
main_Scalar_3_in_10 = NULL;
 
1530
main_Scalar_3_in_11 = NULL;
 
1531
main_Scalar_3_out_1 = 10.0 ;
 
1532
main_Scalar_5_in_1 = "Scalar_5";
 
1533
main_Scalar_5_in_2 = NULL;
 
1534
main_Scalar_5_in_3 = 0.0 ;
 
1535
main_Scalar_5_in_4 = NULL;
 
1536
main_Scalar_5_in_5 = NULL;
 
1537
main_Scalar_5_in_6 = NULL;
 
1538
main_Scalar_5_in_7 = NULL;
 
1539
main_Scalar_5_in_8 = NULL;
 
1540
main_Scalar_5_in_9 = NULL;
 
1541
main_Scalar_5_in_10 = NULL;
 
1542
main_Scalar_5_in_11 = NULL;
 
1543
main_Scalar_5_out_1 = 0.0 ;
 
1544
main_AutoGlyph_1_in_2 = NULL;
 
1545
main_AutoGlyph_1_in_6 = NULL;
 
1546
main_AutoGlyph_1_in_7 = NULL;
 
1547
main_AutoGlyph_1_out_1 = NULL;
 
1548
main_AutoColor_3_in_2 = NULL;
 
1549
main_AutoColor_3_in_3 = NULL;
 
1550
main_AutoColor_3_in_4 = NULL;
 
1551
main_AutoColor_3_in_5 = NULL;
 
1552
main_AutoColor_3_in_6 = NULL;
 
1553
main_AutoColor_3_in_7 = NULL;
 
1554
main_AutoColor_3_in_8 = NULL;
 
1555
main_AutoColor_3_in_9 = NULL;
 
1556
main_AutoColor_3_in_10 = NULL;
 
1557
main_AutoColor_3_out_1 = NULL;
 
1558
main_Receiver_24_out_1 = NULL;
 
1559
main_Probe_11_out_1 = NULL;
 
1560
main_Vector_4_in_1 = "Vector_4";
 
1561
main_Vector_4_in_2 = NULL;
 
1562
main_Vector_4_in_3 = [ 0 1 0 ];
 
1563
main_Vector_4_in_4 = NULL;
 
1564
main_Vector_4_in_5 = NULL;
 
1565
main_Vector_4_in_6 = NULL;
 
1566
main_Vector_4_in_7 = NULL;
 
1567
main_Vector_4_in_8 = NULL;
 
1568
main_Vector_4_in_9 = NULL;
 
1569
main_Vector_4_in_10 = NULL;
 
1570
main_Vector_4_in_11 = NULL;
 
1571
main_Vector_4_out_1 = [ 0 1 0 ];
 
1572
main_MapToPlane_3_out_1 = NULL;
 
1573
main_DivCurl_1_in_2 = NULL;
 
1574
main_DivCurl_1_out_1 = NULL;
 
1575
main_Compute_3_in_1 = "mag($0)";
 
1576
main_Compute_3_in_3 = NULL;
 
1577
main_Compute_3_out_1 = NULL;
 
1578
main_AutoColor_4_in_2 = NULL;
 
1579
main_AutoColor_4_in_3 = NULL;
 
1580
main_AutoColor_4_in_4 = NULL;
 
1581
main_AutoColor_4_in_5 = NULL;
 
1582
main_AutoColor_4_in_6 = NULL;
 
1583
main_AutoColor_4_in_7 = NULL;
 
1584
main_AutoColor_4_in_8 = NULL;
 
1585
main_AutoColor_4_in_9 = NULL;
 
1586
main_AutoColor_4_in_10 = NULL;
 
1587
main_AutoColor_4_out_1 = NULL;
 
1588
main_AutoColor_5_in_2 = NULL;
 
1589
main_AutoColor_5_in_3 = NULL;
 
1590
main_AutoColor_5_in_4 = NULL;
 
1591
main_AutoColor_5_in_5 = NULL;
 
1592
main_AutoColor_5_in_6 = NULL;
 
1593
main_AutoColor_5_in_7 = NULL;
 
1594
main_AutoColor_5_in_8 = NULL;
 
1595
main_AutoColor_5_in_9 = NULL;
 
1596
main_AutoColor_5_in_10 = NULL;
 
1597
main_AutoColor_6_in_2 = NULL;
 
1598
main_AutoColor_6_in_3 = NULL;
 
1599
main_AutoColor_6_in_4 = NULL;
 
1600
main_AutoColor_6_in_5 = NULL;
 
1601
main_AutoColor_6_in_6 = NULL;
 
1602
main_AutoColor_6_in_7 = NULL;
 
1603
main_AutoColor_6_in_8 = NULL;
 
1604
main_AutoColor_6_in_9 = NULL;
 
1605
main_AutoColor_6_in_10 = NULL;
 
1606
main_Receiver_1_out_1 = NULL;
 
1607
main_Inquire_6_in_2 = "is vector + 1";
 
1608
main_Inquire_6_in_3 = NULL;
 
1609
main_Inquire_6_out_1 = NULL;
 
1610
main_Compute_1_in_1 = "mag($0)";
 
1611
main_Compute_1_out_1 = NULL;
 
1612
main_Switch_10_out_1 = NULL;
 
1613
main_Receiver_8_out_1 = NULL;
 
1614
main_Reset_2_in_1 = "main_Reset_2_out_1";
 
1615
main_Reset_2_in_2 = 0;
 
1616
main_Reset_2_in_3 = 0;
 
1617
main_Reset_2_in_4 = NULL;
 
1618
main_Reset_2_in_5 = NULL;
 
1619
main_Reset_2_in_6 = NULL;
 
1620
main_Reset_2_out_1 = 0;
 
1621
main_Scalar_2_in_1 = "Scalar_2";
 
1622
main_Scalar_2_in_3 = 0.005 ;
 
1623
main_Scalar_2_in_5 = NULL;
 
1624
main_Scalar_2_in_6 = NULL;
 
1625
main_Scalar_2_in_7 = NULL;
 
1626
main_Scalar_2_in_8 = NULL;
 
1627
main_Scalar_2_in_9 = NULL;
 
1628
main_Scalar_2_in_10 = NULL;
 
1629
main_Scalar_2_in_11 = NULL;
 
1630
main_Scalar_2_out_1 = 0.005 ;
 
1631
main_Isosurface_2_in_3 = NULL;
 
1632
main_Isosurface_2_in_4 = NULL;
 
1633
main_Isosurface_2_in_5 = NULL;
 
1634
main_Isosurface_2_in_6 = NULL;
 
1635
main_Isosurface_2_out_1 = NULL;
 
1636
main_Color_2_in_2 = NULL;
 
1637
main_Color_2_in_3 = .3;
 
1638
main_Color_2_in_4 = NULL;
 
1639
main_Color_2_in_5 = NULL;
 
1640
main_Color_2_out_1 = NULL;
 
1641
main_ColorBar_3_in_2 = NULL;
 
1642
main_ColorBar_3_in_3 = NULL;
 
1643
main_ColorBar_3_in_4 = NULL;
 
1644
main_ColorBar_3_in_5 = NULL;
 
1645
main_ColorBar_3_in_6 = NULL;
 
1646
main_ColorBar_3_in_7 = NULL;
 
1647
main_ColorBar_3_in_8 = NULL;
 
1648
main_ColorBar_3_in_9 = NULL;
 
1649
main_ColorBar_3_in_10 = NULL;
 
1650
main_ColorBar_3_in_11 = NULL;
 
1651
main_ColorBar_3_in_12 = NULL;
 
1652
main_ColorBar_3_in_13 = NULL;
 
1653
main_ColorBar_3_in_14 = NULL;
 
1654
main_ColorBar_3_in_15 = NULL;
 
1655
main_ColorBar_3_in_16 = NULL;
 
1656
main_ColorBar_3_out_1 = NULL;
 
1657
main_Reset_1_in_1 = "main_Reset_1_out_1";
 
1658
main_Reset_1_in_2 = 0;
 
1659
main_Reset_1_in_3 = 0;
 
1660
main_Reset_1_in_4 = NULL;
 
1661
main_Reset_1_in_5 = NULL;
 
1662
main_Reset_1_in_6 = NULL;
 
1663
main_Reset_1_out_1 = 0;
 
1664
macro Image(
 
1665
        id,
 
1666
        object,
 
1667
        where,
 
1668
        useVector,
 
1669
        to,
 
1670
        from,
 
1671
        width,
 
1672
        resolution,
 
1673
        aspect,
 
1674
        up,
 
1675
        viewAngle,
 
1676
        perspective,
 
1677
        options,
 
1678
        buttonState = 1,
 
1679
        buttonUpApprox = "none",
 
1680
        buttonDownApprox = "none",
 
1681
        buttonUpDensity = 1,
 
1682
        buttonDownDensity = 1,
 
1683
        renderMode = 0,
 
1684
        defaultCamera,
 
1685
        reset,
 
1686
        backgroundColor,
 
1687
        throttle,
 
1688
        RECenable = 0,
 
1689
        RECfile,
 
1690
        RECformat,
 
1691
        RECresolution,
 
1692
        RECaspect,
 
1693
        AAenable = 0,
 
1694
        AAlabels,
 
1695
        AAticks,
 
1696
        AAcorners,
 
1697
        AAframe,
 
1698
        AAadjust,
 
1699
        AAcursor,
 
1700
        AAgrid,
 
1701
        AAcolors,
 
1702
        AAannotation,
 
1703
        AAlabelscale,
 
1704
        AAfont,
 
1705
        interactionMode,
 
1706
        title,
 
1707
        AAxTickLocs,
 
1708
        AAyTickLocs,
 
1709
        AAzTickLocs,
 
1710
        AAxTickLabels,
 
1711
        AAyTickLabels,
 
1712
        AAzTickLabels,
 
1713
        webOptions) -> (
 
1714
        object,
 
1715
        camera,
 
1716
        where)
 
1717
{
 
1718
    ImageMessage(
 
1719
        id,
 
1720
        backgroundColor,
 
1721
        throttle,
 
1722
        RECenable,
 
1723
        RECfile,
 
1724
        RECformat,
 
1725
        RECresolution,
 
1726
        RECaspect,
 
1727
        AAenable,
 
1728
        AAlabels,
 
1729
        AAticks,
 
1730
        AAcorners,
 
1731
        AAframe,
 
1732
        AAadjust,
 
1733
        AAcursor,
 
1734
        AAgrid,
 
1735
        AAcolors,
 
1736
        AAannotation,
 
1737
        AAlabelscale,
 
1738
        AAfont,
 
1739
        AAxTickLocs,
 
1740
        AAyTickLocs,
 
1741
        AAzTickLocs,
 
1742
        AAxTickLabels,
 
1743
        AAyTickLabels,
 
1744
        AAzTickLabels,
 
1745
        interactionMode,
 
1746
        title,
 
1747
        renderMode,
 
1748
        buttonUpApprox,
 
1749
        buttonDownApprox,
 
1750
        buttonUpDensity,
 
1751
        buttonDownDensity) [instance: 1, cache: 1];
 
1752
    autoCamera =
 
1753
        AutoCamera(
 
1754
            object,
 
1755
            "front",
 
1756
            object,
 
1757
            resolution,
 
1758
            aspect,
 
1759
            [0,1,0],
 
1760
            perspective,
 
1761
            viewAngle,
 
1762
            backgroundColor) [instance: 1, cache: 1];
 
1763
    realCamera =
 
1764
        Camera(
 
1765
            to,
 
1766
            from,
 
1767
            width,
 
1768
            resolution,
 
1769
            aspect,
 
1770
            up,
 
1771
            perspective,
 
1772
            viewAngle,
 
1773
            backgroundColor) [instance: 1, cache: 1];
 
1774
    coloredDefaultCamera = 
 
1775
         UpdateCamera(defaultCamera,
 
1776
            background=backgroundColor) [instance: 1, cache: 1];
 
1777
    nullDefaultCamera =
 
1778
        Inquire(defaultCamera,
 
1779
            "is null + 1") [instance: 1, cache: 1];
 
1780
    resetCamera =
 
1781
        Switch(
 
1782
            nullDefaultCamera,
 
1783
            coloredDefaultCamera,
 
1784
            autoCamera) [instance: 1, cache: 1];
 
1785
    resetNull = 
 
1786
        Inquire(
 
1787
            reset,
 
1788
            "is null + 1") [instance: 2, cache: 1];
 
1789
    reset =
 
1790
        Switch(
 
1791
            resetNull,
 
1792
            reset,
 
1793
            0) [instance: 2, cache: 1];
 
1794
    whichCamera =
 
1795
        Compute(
 
1796
            "($0 != 0 || $1 == 0) ? 1 : 2",
 
1797
            reset,
 
1798
            useVector) [instance: 1, cache: 1];
 
1799
    camera = Switch(
 
1800
            whichCamera,
 
1801
            resetCamera,
 
1802
            realCamera) [instance: 3, cache: 1];
 
1803
    AAobject =
 
1804
        AutoAxes(
 
1805
            object,
 
1806
            camera,
 
1807
            AAlabels,
 
1808
            AAticks,
 
1809
            AAcorners,
 
1810
            AAframe,
 
1811
            AAadjust,
 
1812
            AAcursor,
 
1813
            AAgrid,
 
1814
            AAcolors,
 
1815
            AAannotation,
 
1816
            AAlabelscale,
 
1817
            AAfont,
 
1818
            AAxTickLocs,
 
1819
            AAyTickLocs,
 
1820
            AAzTickLocs,
 
1821
            AAxTickLabels,
 
1822
            AAyTickLabels,
 
1823
            AAzTickLabels) [instance: 1, cache: 1];
 
1824
    switchAAenable = Compute("$0+1",
 
1825
             AAenable) [instance: 2, cache: 1];
 
1826
    object = Switch(
 
1827
             switchAAenable,
 
1828
             object,
 
1829
             AAobject) [instance:4, cache: 1];
 
1830
    SWapproximation_options =
 
1831
        Switch(
 
1832
            buttonState,
 
1833
            buttonUpApprox,
 
1834
            buttonDownApprox) [instance: 5, cache: 1];
 
1835
    SWdensity_options =
 
1836
        Switch(
 
1837
            buttonState,
 
1838
            buttonUpDensity,
 
1839
            buttonDownDensity) [instance: 6, cache: 1];
 
1840
    HWapproximation_options =
 
1841
        Format(
 
1842
            "%s,%s",
 
1843
            buttonDownApprox,
 
1844
            buttonUpApprox) [instance: 1, cache: 1];
 
1845
    HWdensity_options =
 
1846
        Format(
 
1847
            "%d,%d",
 
1848
            buttonDownDensity,
 
1849
            buttonUpDensity) [instance: 2, cache: 1];
 
1850
    switchRenderMode = Compute(
 
1851
             "$0+1",
 
1852
             renderMode) [instance: 3, cache: 1];
 
1853
    approximation_options = Switch(
 
1854
             switchRenderMode,
 
1855
            SWapproximation_options,
 
1856
             HWapproximation_options) [instance: 7, cache: 1];
 
1857
    density_options = Switch(
 
1858
             switchRenderMode,
 
1859
            SWdensity_options,
 
1860
            HWdensity_options) [instance: 8, cache: 1];
 
1861
    renderModeString = Switch(
 
1862
            switchRenderMode,
 
1863
            "software",
 
1864
            "hardware")[instance: 9, cache: 1];
 
1865
    object_tag = Inquire(
 
1866
            object,
 
1867
            "object tag")[instance: 3, cache: 1];
 
1868
    annoted_object =
 
1869
        Options(
 
1870
            object,
 
1871
            "send boxes",
 
1872
            0,
 
1873
            "cache",
 
1874
            1,
 
1875
            "object tag",
 
1876
            object_tag,
 
1877
            "ddcamera",
 
1878
            whichCamera,
 
1879
            "rendering approximation",
 
1880
            approximation_options,
 
1881
            "render every",
 
1882
            density_options,
 
1883
            "button state",
 
1884
            buttonState,
 
1885
            "rendering mode",
 
1886
            renderModeString) [instance: 1, cache: 1];
 
1887
    RECresNull =
 
1888
        Inquire(
 
1889
            RECresolution,
 
1890
            "is null + 1") [instance: 4, cache: 1];
 
1891
    ImageResolution =
 
1892
        Inquire(
 
1893
            camera,
 
1894
            "camera resolution") [instance: 5, cache: 1];
 
1895
    RECresolution =
 
1896
        Switch(
 
1897
            RECresNull,
 
1898
            RECresolution,
 
1899
            ImageResolution) [instance: 10, cache: 1];
 
1900
    RECaspectNull =
 
1901
        Inquire(
 
1902
            RECaspect,
 
1903
            "is null + 1") [instance: 6, cache: 1];
 
1904
    ImageAspect =
 
1905
        Inquire(
 
1906
            camera,
 
1907
            "camera aspect") [instance: 7, cache: 1];
 
1908
    RECaspect =
 
1909
        Switch(
 
1910
            RECaspectNull,
 
1911
            RECaspect,
 
1912
            ImageAspect) [instance: 11, cache: 1];
 
1913
    switchRECenable = Compute(
 
1914
          "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
 
1915
            RECenable,
 
1916
            switchRenderMode,
 
1917
            RECresolution,
 
1918
            ImageResolution,
 
1919
            RECaspect,
 
1920
             ImageAspect) [instance: 4, cache: 1];
 
1921
    NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
 
1922
    Display(
 
1923
        NoRECobject,
 
1924
        camera,
 
1925
        where,
 
1926
        throttle) [instance: 1, cache: 1];
 
1927
    image =
 
1928
        Render(
 
1929
            RECNoRerenderObject,
 
1930
            camera) [instance: 1, cache: 1];
 
1931
    Display(
 
1932
        image,
 
1933
        NULL,
 
1934
        where,
 
1935
        throttle) [instance: 2, cache: 1];
 
1936
    WriteImage(
 
1937
        image,
 
1938
        RECfile,
 
1939
        RECformat) [instance: 1, cache: 1];
 
1940
    rec_where = Display(
 
1941
        RECNoRerHW,
 
1942
        camera,
 
1943
        where,
 
1944
        throttle) [instance: 1, cache: 0];
 
1945
    rec_image = ReadImageWindow(
 
1946
        rec_where) [instance: 1, cache: 1];
 
1947
    WriteImage(
 
1948
        rec_image,
 
1949
        RECfile,
 
1950
        RECformat) [instance: 1, cache: 1];
 
1951
    RECupdateCamera =
 
1952
        UpdateCamera(
 
1953
            camera,
 
1954
            resolution=RECresolution,
 
1955
            aspect=RECaspect) [instance: 2, cache: 1];
 
1956
    Display(
 
1957
        RECRerenderObject,
 
1958
        camera,
 
1959
        where,
 
1960
        throttle) [instance: 1, cache: 1];
 
1961
    RECRerenderObject =
 
1962
        ScaleScreen(
 
1963
            RECRerenderObject,
 
1964
            NULL,
 
1965
            RECresolution,
 
1966
            camera) [instance: 1, cache: 1];
 
1967
    image =
 
1968
        Render(
 
1969
            RECRerenderObject,
 
1970
            RECupdateCamera) [instance: 2, cache: 1];
 
1971
    WriteImage(
 
1972
        image,
 
1973
        RECfile,
 
1974
        RECformat) [instance: 2, cache: 1];
 
1975
}
 
1976
main_Image_1_in_1 = "Image_1";
 
1977
main_Image_1_in_3 = "X24,,Basic3D";
 
1978
main_Image_1_in_4 = 1;
 
1979
main_Image_1_in_5 = [0.679126 0.423849 0.431384];
 
1980
main_Image_1_in_6 = [-1.90239 1.50564 3.76769];
 
1981
main_Image_1_in_7 = NULL;
 
1982
main_Image_1_in_8 = 640;
 
1983
main_Image_1_in_9 = 0.751;
 
1984
main_Image_1_in_10 = [0.141444 0.96857 -0.204613];
 
1985
main_Image_1_in_11 = 22.2192;
 
1986
main_Image_1_in_12 = 1;
 
1987
main_Image_1_in_13 = NULL;
 
1988
main_Image_1_in_14 = 1;
 
1989
main_Image_1_in_15 = "none";
 
1990
main_Image_1_in_16 = "none";
 
1991
main_Image_1_in_17 = NULL;
 
1992
main_Image_1_in_18 = NULL;
 
1993
main_Image_1_in_19 = 0;
 
1994
main_Image_1_in_22 = "black";
 
1995
main_Image_1_in_23 = NULL;
 
1996
main_Image_1_in_25 = "/home/logg/results/bistable/2004-03-01-mesh-32/movie.miff";
 
1997
main_Image_1_in_26 = "miff";
 
1998
main_Image_1_in_27 = 640;
 
1999
main_Image_1_in_28 = 0.75;
 
2000
main_Image_1_in_29 = 0;
 
2001
main_Image_1_in_30 = NULL;
 
2002
main_Image_1_in_31 = 15;
 
2003
main_Image_1_in_32 = NULL;
 
2004
main_Image_1_in_33 = NULL;
 
2005
main_Image_1_in_34 = 1;
 
2006
main_Image_1_in_35 = NULL;
 
2007
main_Image_1_in_36 = NULL;
 
2008
main_Image_1_in_37 = NULL;
 
2009
main_Image_1_in_38 = NULL;
 
2010
main_Image_1_in_39 = 1.0;
 
2011
main_Image_1_in_40 = NULL;
 
2012
main_Image_1_in_41 = "none";
 
2013
main_Image_1_in_42 = "Basic3D";
 
2014
main_Image_1_in_43 = NULL;
 
2015
main_Image_1_in_44 = NULL;
 
2016
main_Image_1_in_45 = NULL;
 
2017
main_Image_1_in_46 = NULL;
 
2018
main_Image_1_in_47 = NULL;
 
2019
main_Image_1_in_48 = NULL;
 
2020
main_Image_1_in_49 = NULL;
 
2021
main_Inquire_7_in_2 = "is data dependent";
 
2022
main_Inquire_7_in_3 = "positions";
 
2023
main_Inquire_7_out_1 = NULL;
 
2024
main_Switch_9_in_2 = 0;
 
2025
main_Switch_9_in_3 = 1;
 
2026
main_Switch_9_out_1 = NULL;
 
2027
main_ManageControlPanel_1_in_1 = {"Variable Selection"};
 
2028
main_Switch_8_in_2 = 0;
 
2029
main_Switch_8_in_3 = 1;
 
2030
main_Switch_8_out_1 = NULL;
 
2031
main_Switch_11_in_3 = NULL;
 
2032
main_Switch_11_out_1 = NULL;
 
2033
main_Transmitter_11_out_1 = NULL;
 
2034
main_Transmitter_17_out_1 = NULL;
 
2035
main_Receiver_18_out_1 = NULL;
 
2036
main_ShowConnections_2_out_1 = NULL;
 
2037
main_Transmitter_20_out_1 = NULL;
 
2038
main_Transmitter_23_out_1 = NULL;
 
2039
main_Transmitter_24_out_1 = NULL;
 
2040
main_ShowBoundary_1_in_2 = NULL;
 
2041
main_ShowBoundary_1_out_1 = NULL;
 
2042
main_Transmitter_25_out_1 = NULL;
 
2043
main_Transmitter_27_out_1 = NULL;
 
2044
Executive("product version 4 3 0");
 
2045
$sync
 
2046
 
 
2047
sequence main();
 
2048
play;