Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102323
Collapse All | Expand All

(-)gerris-0.6.0/Makefile.in (-2 / +2 lines)
Lines 186-193 RECURSIVE_TARGETS = info-recursive dvi-r Link Here
186
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
186
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
187
	COPYING ChangeLog INSTALL Makefile.am NEWS THANKS TODO \
187
	COPYING ChangeLog INSTALL Makefile.am NEWS THANKS TODO \
188
	acinclude.m4 aclocal.m4 compile config.guess config.h.in \
188
	acinclude.m4 aclocal.m4 compile config.guess config.h.in \
189
	config.sub configure configure.in depcomp install-sh ltmain.sh \
189
	config.sub configure.in depcomp install-sh ltmain.sh missing \
190
	missing mkinstalldirs
190
	mkinstalldirs
191
DIST_SUBDIRS = $(SUBDIRS)
191
DIST_SUBDIRS = $(SUBDIRS)
192
all: config.h
192
all: config.h
193
	$(MAKE) $(AM_MAKEFLAGS) all-recursive
193
	$(MAKE) $(AM_MAKEFLAGS) all-recursive
(-)gerris-0.6.0/configure (-1 / +1 lines)
Lines 1518-1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu Link Here
1518
#
1518
#
1519
GFS_MAJOR_VERSION=0
1519
GFS_MAJOR_VERSION=0
1520
GFS_MINOR_VERSION=6
1520
GFS_MINOR_VERSION=6
1521
GFS_MICRO_VERSION=0
1521
GFS_MICRO_VERSION=1
1522
GFS_INTERFACE_AGE=0
1522
GFS_INTERFACE_AGE=0
1523
GFS_BINARY_AGE=0
1523
GFS_BINARY_AGE=0
1524
GFS_VERSION=$GFS_MAJOR_VERSION.$GFS_MINOR_VERSION.$GFS_MICRO_VERSION
1524
GFS_VERSION=$GFS_MAJOR_VERSION.$GFS_MINOR_VERSION.$GFS_MICRO_VERSION
(-)gerris-0.6.0/configure.in (-1 / +1 lines)
Lines 13-19 dnl are available for $ac_help expansion Link Here
13
#
13
#
14
GFS_MAJOR_VERSION=0
14
GFS_MAJOR_VERSION=0
15
GFS_MINOR_VERSION=6
15
GFS_MINOR_VERSION=6
16
GFS_MICRO_VERSION=0
16
GFS_MICRO_VERSION=1
17
GFS_INTERFACE_AGE=0
17
GFS_INTERFACE_AGE=0
18
GFS_BINARY_AGE=0
18
GFS_BINARY_AGE=0
19
GFS_VERSION=$GFS_MAJOR_VERSION.$GFS_MINOR_VERSION.$GFS_MICRO_VERSION
19
GFS_VERSION=$GFS_MAJOR_VERSION.$GFS_MINOR_VERSION.$GFS_MICRO_VERSION
(-)gerris-0.6.0/src/dx.c (-2 / +1 lines)
Lines 983-990 Error m_ImportGfs3D (Object * in, Object Link Here
983
983
984
  gfs_init (NULL, NULL);
984
  gfs_init (NULL, NULL);
985
985
986
  sim = gfs_simulation_new (gfs_simulation_class ());
986
  if ((sim = gfs_simulation_read (f)) == NULL) {
987
  if (gfs_simulation_read (sim, f)) {
988
    DXSetError (ERROR_BAD_PARAMETER,
987
    DXSetError (ERROR_BAD_PARAMETER,
989
		"file \"%s\" is not a valid GFS file\n"
988
		"file \"%s\" is not a valid GFS file\n"
990
		"%s:%d:%d: %s",
989
		"%s:%d:%d: %s",
(-)gerris-0.6.0/src/dx2D.c (-6 / +1028 lines)
Lines 1-6 Link Here
1
MODULE ImportGfs2D
1
/* Automatically generated - may need to edit! */
2
CATEGORY Import and Export 
2
3
DESCRIPTION Imports a Gerris Flow Solver 2D simulation file
3
#include <dx/dx.h>
4
LOADABLE "/home/popinet/adds//lib/gerris/libdx2D.so"
4
#include <dx/modflags.h>
5
INPUT name; string; (none); file name
5
6
OUTPUT result; group; imported group
6
#if defined(intelnt)
7
#include <windows.h>
8
#endif
9
10
extern Error DXAddModule (char *, ...);
11
12
void
13
 _dxf_user_modules()
14
{
15
    {
16
        extern Error m_AmbientLight(Object *, Object *);
17
        DXAddModule("AmbientLight", m_AmbientLight, 0,
18
            1, "color",
19
            1, "light");
20
    }
21
    {
22
        extern Error m_Append(Object *, Object *);
23
        DXAddModule("Append", m_Append, 0,
24
            43, "input", "object", "id", "object1", "id1", "object2", "id2", "object3", "id3", "object4", "id4", "object5", "id5", "object6", "id6", "object7", "id7", "object8", "id8", "object9", "id9", "object10", "id10", "object11", "id11", "object12", "id12", "object13", "id13", "object14", "id14", "object15", "id15", "object16", "id16", "object17", "id17", "object18", "id18", "object19", "id19", "object20", "id20",
25
            1, "group");
26
    }
27
    {
28
        extern Error m_Arrange(Object *, Object *);
29
        DXAddModule("Arrange", m_Arrange, 0,
30
            5, "group", "horizontal", "compact[visible:0]", "position[visible:0]", "size[visible:0]",
31
            1, "image");
32
    }
33
    {
34
        extern Error m_Attribute(Object *, Object *);
35
        DXAddModule("Attribute", m_Attribute, 0,
36
            2, "input", "attribute",
37
            1, "object");
38
    }
39
    {
40
        extern Error m_AutoAxes(Object *, Object *);
41
        DXAddModule("AutoAxes", m_AutoAxes, 0,
42
            19, "input", "camera", "labels", "ticks[visible:0]", "corners[visible:0]", "frame[visible:0]", "adjust[visible:0]", "cursor[visible:0]", "grid[visible:0]", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "xticklocations[visible:0]", "yticklocations[visible:0]", "zticklocations[visible:0]", "xticklabels[visible:0]", "yticklabels[visible:0]", "zticklabels[visible:0]",
43
            1, "axes");
44
    }
45
    {
46
        extern Error m_AutoCamera(Object *, Object *);
47
        DXAddModule("AutoCamera", m_AutoCamera, 0,
48
            9, "object", "direction", "width[visible:0]", "resolution[visible:0]", "aspect[visible:0]", "up[visible:0]", "perspective[visible:0]", "angle[visible:0]", "background[visible:0]",
49
            1, "camera");
50
    }
51
    {
52
        extern Error m_AutoColor(Object *, Object *);
53
        DXAddModule("AutoColor", m_AutoColor, 0,
54
            10, "data", "opacity[visible:0]", "intensity[visible:0]", "start[visible:0]", "range[visible:0]", "saturation[visible:0]", "min", "max[visible:0]", "delayed[visible:0]", "outofrange[visible:0]",
55
            2, "mapped", "colormap");
56
    }
57
    {
58
        extern Error m_AutoGlyph(Object *, Object *);
59
        DXAddModule("AutoGlyph", m_AutoGlyph, 0,
60
            7, "data", "type", "shape", "scale", "ratio", "min[visible:0]", "max[visible:0]",
61
            1, "glyphs");
62
    }
63
    {
64
        extern Error m_AutoGrayScale(Object *, Object *);
65
        DXAddModule("AutoGrayScale", m_AutoGrayScale, 0,
66
            10, "data", "opacity[visible:0]", "hue[visible:0]", "start[visible:0]", "range[visible:0]", "saturation[visible:0]", "min[visible:0]", "max[visible:0]", "delayed[visible:0]", "outofrange[visible:0]",
67
            2, "mapped", "colormap");
68
    }
69
    {
70
        extern Error m_AutoGrid(Object *, Object *);
71
        DXAddModule("AutoGrid", m_AutoGrid, 0,
72
            6, "input", "densityfactor", "nearest", "radius", "exponent[visible:0]", "missing[visible:0]",
73
            1, "output");
74
    }
75
    {
76
        extern Error m_Band(Object *, Object *);
77
        DXAddModule("Band", m_Band, 0,
78
            4, "data", "value", "number", "remap",
79
            1, "band");
80
    }
81
    {
82
        extern Error m_BSpline(Object *, Object *);
83
        DXAddModule("BSpline", m_BSpline, 0,
84
            3, "input", "items", "order",
85
            1, "result");
86
    }
87
    {
88
        extern Error m_CacheScene(Object *, Object *);
89
        DXAddModule("CacheScene", m_CacheScene, 0,
90
            3, "name", "pickobject", "pickcamera",
91
            0);
92
    }
93
    {
94
        extern Error m_Camera(Object *, Object *);
95
        DXAddModule("Camera", m_Camera, 0,
96
            9, "to", "from", "width", "resolution", "aspect", "up", "perspective", "angle", "background",
97
            1, "camera");
98
    }
99
    {
100
        extern Error m_Caption(Object *, Object *);
101
        DXAddModule("Caption", m_Caption, 0,
102
            9, "string", "position", "flag[visible:0]", "reference[visible:0]", "alignment[visible:0]", "height[visible:0]", "font[visible:0]", "direction[visible:0]", "up[visible:0]",
103
            1, "caption");
104
    }
105
    {
106
        extern Error m_Categorize(Object *, Object *);
107
        DXAddModule("Categorize", m_Categorize, 0,
108
            2, "field", "name",
109
            1, "categorized");
110
    }
111
    {
112
        extern Error m_CategoryStatistics(Object *, Object *);
113
        DXAddModule("CategoryStatistics", m_CategoryStatistics, 0,
114
            5, "input", "operation", "category[visible:0]", "data[visible:0]", "lookup[visible:0]",
115
            1, "statistics");
116
    }
117
    {
118
        extern Error m_ChangeGroupMember(Object *, Object *);
119
        DXAddModule("ChangeGroupMember", m_ChangeGroupMember, 0,
120
            5, "data", "operation", "id", "newmember", "newtag",
121
            1, "changed");
122
    }
123
    {
124
        extern Error m_ChangeGroupType(Object *, Object *);
125
        DXAddModule("ChangeGroupType", m_ChangeGroupType, 0,
126
            3, "data", "newtype", "idlist",
127
            1, "changed");
128
    }
129
    {
130
        extern Error m_ClipBox(Object *, Object *);
131
        DXAddModule("ClipBox", m_ClipBox, 0,
132
            2, "object", "corners",
133
            1, "clipped");
134
    }
135
    {
136
        extern Error m_ClipPlane(Object *, Object *);
137
        DXAddModule("ClipPlane", m_ClipPlane, 0,
138
            3, "object", "point", "normal",
139
            1, "clipped");
140
    }
141
    {
142
        extern Error m_Collect(Object *, Object *);
143
        DXAddModule("Collect", m_Collect, 
144
            MODULE_ERR_CONT,
145
            21, "object", "object1", "object2", "object3", "object4", "object5", "object6", "object7", "object8", "object9", "object10", "object11", "object12", "object13", "object14", "object15", "object16", "object17", "object18", "object19", "object20",
146
            1, "group");
147
    }
148
    {
149
        extern Error m_CollectNamed(Object *, Object *);
150
        DXAddModule("CollectNamed", m_CollectNamed, 0,
151
            42, "object", "name", "object1", "name1", "object2", "name2", "object3", "name3", "object4", "name4", "object5", "name5", "object6", "name6", "object7", "name7", "object8", "name8", "object9", "name9", "object10", "name10", "object11", "name11", "object12", "name12", "object13", "name13", "object14", "name14", "object15", "name15", "object16", "name16", "object17", "name17", "object18", "name18", "object19", "name19", "object20", "name20",
152
            1, "group");
153
    }
154
    {
155
        extern Error m_CollectMultiGrid(Object *, Object *);
156
        DXAddModule("CollectMultiGrid", m_CollectMultiGrid, 0,
157
            42, "object", "name", "object1", "name1", "object2", "name2", "object3", "name3", "object4", "name4", "object5", "name5", "object6", "name6", "object7", "name7", "object8", "name8", "object9", "name9", "object10", "name10", "object11", "name11", "object12", "name12", "object13", "name13", "object14", "name14", "object15", "name15", "object16", "name16", "object17", "name17", "object18", "name18", "object19", "name19", "object20", "name20",
158
            1, "multigrid");
159
    }
160
    {
161
        extern Error m_CollectSeries(Object *, Object *);
162
        DXAddModule("CollectSeries", m_CollectSeries, 0,
163
            44, "object", "position", "object", "position", "object1", "position1", "object2", "position2", "object3", "position3", "object4", "position4", "object5", "position5", "object6", "position6", "object7", "position7", "object8", "position8", "object9", "position9", "object10", "position10", "object11", "position11", "object12", "position12", "object13", "position13", "object14", "position14", "object15", "position15", "object16", "position16", "object17", "position17", "object18", "position18", "object19", "position19", "object20", "position20",
164
            1, "series");
165
    }
166
    {
167
        extern Error m_Color(Object *, Object *);
168
        DXAddModule("Color", m_Color, 0,
169
            5, "input", "color", "opacity", "component[visible:0]", "delayed[visible:0]",
170
            1, "colored");
171
    }
172
    {
173
        extern Error m_ColorBar(Object *, Object *);
174
        DXAddModule("ColorBar", m_ColorBar, 0,
175
            16, "colormap", "position", "shape", "horizontal", "ticks[visible:0]", "min[visible:0]", "max[visible:0]", "label", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "ticklocations[visible:0]", "ticklabels[visible:0]", "usefixedfontsize[visible:0]", "fixedfontsize[visible:0]",
176
            1, "colorbar");
177
    }
178
    {
179
        extern Error m_Compute(Object *, Object *);
180
        DXAddModule("Compute", m_Compute, 0,
181
            22, "expression[visible:2]", "input", "input1", "input2", "input3", "input4", "input5", "input6", "input7", "input8", "input9", "input10", "input11", "input12", "input13", "input14", "input15", "input16", "input17", "input18", "input19", "input20",
182
            1, "output");
183
    }
184
    {
185
        extern Error m_Compute2(Object *, Object *);
186
        DXAddModule("Compute2", m_Compute2, 0,
187
            43, "expression", "name", "input", "name1", "input1", "name2", "input2", "name3", "input3", "name4", "input4", "name5", "input5", "name6", "input6", "name7", "input7", "name8", "input8", "name9", "input9", "name10", "input10", "name11", "input11", "name12", "input12", "name13", "input13", "name14", "input14", "name15", "input15", "name16", "input16", "name17", "input17", "name18", "input18", "name19", "input19", "name20", "input20",
188
            1, "output");
189
    }
190
    {
191
        extern Error m_Connect(Object *, Object *);
192
        DXAddModule("Connect", m_Connect, 0,
193
            3, "input", "method", "normal",
194
            1, "output");
195
    }
196
    {
197
        extern Error m_Construct(Object *, Object *);
198
        DXAddModule("Construct", m_Construct, 0,
199
            4, "origin", "deltas", "counts", "data",
200
            1, "output");
201
    }
202
    {
203
        extern Error m_Convert(Object *, Object *);
204
        DXAddModule("Convert", m_Convert, 0,
205
            4, "data", "incolorspace", "outcolorspace", "addpoints",
206
            1, "output");
207
    }
208
    {
209
        extern Error m_CopyContainer(Object *, Object *);
210
        DXAddModule("CopyContainer", m_CopyContainer, 0,
211
            1, "input",
212
            1, "copy");
213
    }
214
    {
215
        extern Error m_Describe(Object *, Object *);
216
        DXAddModule("Describe", m_Describe, 
217
            MODULE_SIDE_EFFECT,
218
            2, "object", "options",
219
            0);
220
    }
221
    {
222
        extern Error m_DFT(Object *, Object *);
223
        DXAddModule("DFT", m_DFT, 0,
224
            3, "input", "direction", "center",
225
            1, "output");
226
    }
227
    {
228
        extern Error m_Direction(Object *, Object *);
229
        DXAddModule("Direction", m_Direction, 0,
230
            3, "azimuth", "elevation", "distance",
231
            1, "point");
232
    }
233
    {
234
        extern Error m_Display(Object *, Object *);
235
        DXAddModule("Display", m_Display, 
236
            MODULE_PIN | MODULE_SIDE_EFFECT,
237
            46, "object", "camera", "where[visible:0]", "throttle[visible:0]", "name[visible:0]", "value[visible:0]", "name1[visible:0]", "value1[visible:0]", "name2[visible:0]", "value2[visible:0]", "name3[visible:0]", "value3[visible:0]", "name4[visible:0]", "value4[visible:0]", "name5[visible:0]", "value5[visible:0]", "name6[visible:0]", "value6[visible:0]", "name7[visible:0]", "value7[visible:0]", "name8[visible:0]", "value8[visible:0]", "name9[visible:0]", "value9[visible:0]", "name10[visible:0]", "value10[visible:0]", "name11[visible:0]", "value11[visible:0]", "name12[visible:0]", "value12[visible:0]", "name13[visible:0]", "value13[visible:0]", "name14[visible:0]", "value14[visible:0]", "name15[visible:0]", "value15[visible:0]", "name16[visible:0]", "value16[visible:0]", "name17[visible:0]", "value17[visible:0]", "name18[visible:0]", "value18[visible:0]", "name19[visible:0]", "value19[visible:0]", "name20[visible:0]", "value20[visible:0]",
238
            1, "where");
239
    }
240
    {
241
        extern Error m_DivCurl(Object *, Object *);
242
        DXAddModule("DivCurl", m_DivCurl, 0,
243
            2, "data", "method[visible:0]",
244
            2, "div", "curl");
245
    }
246
    {
247
        extern Error m_Done(Object *, Object *);
248
        DXAddModule("Done", m_Done, 
249
            MODULE_LOOP,
250
            1, "done",
251
            0);
252
    }
253
    {
254
        extern Error m_Echo(Object *, Object *);
255
        DXAddModule("Echo", m_Echo, 
256
            MODULE_SIDE_EFFECT,
257
            21, "string", "string1", "string2", "string3", "string4", "string5", "string6", "string7", "string8", "string9", "string10", "string11", "string12", "string13", "string14", "string15", "string16", "string17", "string18", "string19", "string20",
258
            0);
259
    }
260
    {
261
        extern Error m_Enumerate(Object *, Object *);
262
        DXAddModule("Enumerate", m_Enumerate, 0,
263
            5, "start", "end", "count", "delta", "method",
264
            1, "list");
265
    }
266
    {
267
        extern Error m_Equalize(Object *, Object *);
268
        DXAddModule("Equalize", m_Equalize, 0,
269
            6, "data", "bins", "min[visible:0]", "max[visible:0]", "ihist[visible:0]", "ohist[visible:0]",
270
            1, "equalized");
271
    }
272
    {
273
        extern Error m_Executive(Object *, Object *);
274
        DXAddModule("Executive", m_Executive, 
275
            MODULE_SIDE_EFFECT,
276
            22, "command", "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20",
277
            0);
278
    }
279
    {
280
        extern Error m_Export(Object *, Object *);
281
        DXAddModule("Export", m_Export, 
282
            MODULE_SIDE_EFFECT,
283
            3, "object", "name", "format",
284
            0);
285
    }
286
    {
287
        extern Error m_Extract(Object *, Object *);
288
        DXAddModule("Extract", m_Extract, 0,
289
            2, "input", "name",
290
            1, "output");
291
    }
292
    {
293
        extern Error m_FaceNormals(Object *, Object *);
294
        DXAddModule("FaceNormals", m_FaceNormals, 0,
295
            1, "surface",
296
            1, "normals");
297
    }
298
    {
299
        extern Error m_Filter(Object *, Object *);
300
        DXAddModule("Filter", m_Filter, 0,
301
            4, "input", "filter", "component[visible:0]", "mask[visible:0]",
302
            1, "output");
303
    }
304
    {
305
        extern Error m_First(Object *, Object *);
306
        DXAddModule("First", m_First, 
307
            MODULE_LOOP,
308
            0,
309
            1, "first");
310
    }
311
    {
312
        extern Error m_ForEachMember(Object *, Object *);
313
        DXAddModule("ForEachMember", m_ForEachMember, 
314
            MODULE_LOOP,
315
            1, "object",
316
            3, "member", "index", "last");
317
    }
318
    {
319
        extern Error m_ForEachN(Object *, Object *);
320
        DXAddModule("ForEachN", m_ForEachN, 
321
            MODULE_LOOP,
322
            3, "start", "end", "delta",
323
            2, "current", "last");
324
    }
325
    {
326
        extern Error m_Format(Object *, Object *);
327
        DXAddModule("Format", m_Format, 0,
328
            22, "template", "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20",
329
            1, "string");
330
    }
331
    {
332
        extern Error m_FFT(Object *, Object *);
333
        DXAddModule("FFT", m_FFT, 0,
334
            3, "input", "direction", "center",
335
            1, "output");
336
    }
337
    {
338
        extern Error m_Get(Object *, Object *);
339
        DXAddModule("Get", m_Get, 
340
            MODULE_ASYNCLOCAL | MODULE_CHANGES_STATE,
341
            3, "initial", "reset", "key[visible:2,rerun_key:1]",
342
            2, "object", "link");
343
    }
344
    {
345
        extern Error m_GetGlobal(Object *, Object *);
346
        DXAddModule("GetGlobal", m_GetGlobal, 
347
            MODULE_ASYNCLOCAL | MODULE_CHANGES_STATE,
348
            3, "initial", "reset", "key[visible:2,rerun_key:1]",
349
            2, "object", "link");
350
    }
351
    {
352
        extern Error m_GetLocal(Object *, Object *);
353
        DXAddModule("GetLocal", m_GetLocal, 
354
            MODULE_ASYNCLOCAL,
355
            3, "initial", "reset", "key[visible:2]",
356
            2, "object", "link");
357
    }
358
    {
359
        extern Error m_GetScene(Object *, Object *);
360
        DXAddModule("GetScene", m_GetScene, 
361
            MODULE_SIDE_EFFECT,
362
            1, "imagetag[visible:2]",
363
            2, "object", "camera");
364
    }
365
    {
366
        extern Error m_Glyph(Object *, Object *);
367
        DXAddModule("Glyph", m_Glyph, 0,
368
            7, "data", "type", "shape", "scale", "ratio", "min[visible:0]", "max[visible:0]",
369
            1, "glyphs");
370
    }
371
    {
372
        extern Error m_Gradient(Object *, Object *);
373
        DXAddModule("Gradient", m_Gradient, 0,
374
            2, "data", "method[visible:0]",
375
            1, "gradient");
376
    }
377
    {
378
        extern Error m_Grid(Object *, Object *);
379
        DXAddModule("Grid", m_Grid, 0,
380
            4, "point", "structure", "shape", "density",
381
            1, "grid");
382
    }
383
    {
384
        extern Error m_Histogram(Object *, Object *);
385
        DXAddModule("Histogram", m_Histogram, 0,
386
            5, "data", "bins", "min[visible:0]", "max[visible:0]", "out[visible:0]",
387
            2, "histogram", "median");
388
    }
389
    {
390
        extern Error m_ImageMessage(Object *, Object *);
391
        DXAddModule("ImageMessage", m_ImageMessage, 
392
            MODULE_SIDE_EFFECT,
393
            33, "id", "bkgndColor", "throttle", "recordEnable", "recordFile", "recordFormat", "recordResolution", "recordAspect", "axesEnabled", "axesLabels", "axesTicks", "axesCorners", "axesFrame", "axesAdjust", "axesCursor", "axesGrid", "axesColors", "axesAnnotate", "axesLabelScale", "axesFont", "axesXTickLocs", "axesYTickLocs", "axesZTickLocs", "axesXTickLabels", "axesYTickLabels", "axesZTickLabels", "interactionMode", "title", "renderMode", "buttonUpApprox", "buttonDownApprox", "buttonUpDensity", "buttonDownDensity",
394
            0);
395
    }
396
    {
397
        extern Error m_Import(Object *, Object *);
398
        DXAddModule("Import", m_Import, 
399
            MODULE_PIN,
400
            6, "name", "variable", "format", "start[visible:0]", "end[visible:0]", "delta[visible:0]",
401
            1, "data");
402
    }
403
    {
404
        extern Error m_ImportSpreadsheet(Object *, Object *);
405
        DXAddModule("ImportSpreadsheet", m_ImportSpreadsheet, 0,
406
            10, "filename", "delimiter", "columnname[visible:0]", "format[visible:0]", "categorize[visible:0]", "start[visible:0]", "end[visible:0]", "delta[visible:0]", "headerlines[visible:0]", "labelline[visible:0]",
407
            2, "data", "labellist");
408
    }
409
    {
410
        extern Error m_Include(Object *, Object *);
411
        DXAddModule("Include", m_Include, 0,
412
            6, "data", "min", "max", "exclude", "cull", "pointwise",
413
            1, "output");
414
    }
415
    {
416
        extern Error m_Inquire(Object *, Object *);
417
        DXAddModule("Inquire", m_Inquire, 0,
418
            3, "input", "inquiry", "value",
419
            1, "output");
420
    }
421
    {
422
        extern Error m_Isolate(Object *, Object *);
423
        DXAddModule("Isolate", m_Isolate, 0,
424
            2, "field", "scale",
425
            1, "output");
426
    }
427
    {
428
        extern Error m_Isosurface(Object *, Object *);
429
        DXAddModule("Isosurface", m_Isosurface, 0,
430
            6, "data", "value", "number", "gradient[visible:0]", "flag[visible:0]", "direction[visible:0]",
431
            1, "surface");
432
    }
433
    {
434
        extern Error m_KeyIn(Object *, Object *);
435
        DXAddModule("KeyIn", m_KeyIn, 
436
            MODULE_SIDE_EFFECT,
437
            1, "prompt",
438
            0);
439
    }
440
    {
441
        extern Error m_Legend(Object *, Object *);
442
        DXAddModule("Legend", m_Legend, 0,
443
            10, "stringlist", "colorlist", "position", "shape", "horizontal", "label", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]",
444
            1, "legend");
445
    }
446
    {
447
        extern Error m_Light(Object *, Object *);
448
        DXAddModule("Light", m_Light, 0,
449
            3, "where", "color", "camera",
450
            1, "light");
451
    }
452
    {
453
        extern Error m_List(Object *, Object *);
454
        DXAddModule("List", m_List, 0,
455
            21, "object", "object1", "object2", "object3", "object4", "object5", "object6", "object7", "object8", "object9", "object10", "object11", "object12", "object13", "object14", "object15", "object16", "object17", "object18", "object19", "object20",
456
            1, "list");
457
    }
458
    {
459
        extern Error m_Lookup(Object *, Object *);
460
        DXAddModule("Lookup", m_Lookup, 0,
461
            7, "input", "table", "data[visible:0]", "lookup[visible:0]", "value[visible:0]", "destination[visible:0]", "ignore[visible:0]",
462
            1, "lookedup");
463
    }
464
    {
465
        extern Error m_Map(Object *, Object *);
466
        DXAddModule("Map", m_Map, 0,
467
            4, "input", "map", "source[visible:0]", "destination[visible:0]",
468
            1, "output");
469
    }
470
    {
471
        extern Error m_MapToPlane(Object *, Object *);
472
        DXAddModule("MapToPlane", m_MapToPlane, 0,
473
            3, "data", "point", "normal",
474
            1, "plane");
475
    }
476
    {
477
        extern Error m_Mark(Object *, Object *);
478
        DXAddModule("Mark", m_Mark, 0,
479
            2, "input", "name",
480
            1, "output");
481
    }
482
    {
483
        extern Error m_Measure(Object *, Object *);
484
        DXAddModule("Measure", m_Measure, 0,
485
            2, "input", "what",
486
            1, "output");
487
    }
488
    {
489
        extern Error m_Message(Object *, Object *);
490
        DXAddModule("Message", m_Message, 
491
            MODULE_SIDE_EFFECT,
492
            3, "message", "type", "popup",
493
            0);
494
    }
495
    {
496
        extern Error m_Morph(Object *, Object *);
497
        DXAddModule("Morph", m_Morph, 0,
498
            3, "input", "operation", "mask",
499
            1, "output");
500
    }
501
    {
502
        extern Error m_Normals(Object *, Object *);
503
        DXAddModule("Normals", m_Normals, 0,
504
            2, "surface", "method",
505
            1, "normals");
506
    }
507
    {
508
        extern Error m_Options(Object *, Object *);
509
        DXAddModule("Options", m_Options, 0,
510
            43, "input", "attribute", "value", "attribute1", "value1", "attribute2", "value2", "attribute3", "value3", "attribute4", "value4", "attribute5", "value5", "attribute6", "value6", "attribute7", "value7", "attribute8", "value8", "attribute9", "value9", "attribute10", "value10", "attribute11", "value11", "attribute12", "value12", "attribute13", "value13", "attribute14", "value14", "attribute15", "value15", "attribute16", "value16", "attribute17", "value17", "attribute18", "value18", "attribute19", "value19", "attribute20", "value20",
511
            1, "output");
512
    }
513
    {
514
        extern Error m_Overlay(Object *, Object *);
515
        DXAddModule("Overlay", m_Overlay, 0,
516
            3, "overlay", "base", "blend",
517
            1, "combined");
518
    }
519
    {
520
        extern Error m_Parse(Object *, Object *);
521
        DXAddModule("Parse", m_Parse, 0,
522
            2, "input", "format",
523
            21, "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20");
524
    }
525
    {
526
        extern Error m_Partition(Object *, Object *);
527
        DXAddModule("Partition", m_Partition, 0,
528
            3, "input", "n", "size[visible:0]",
529
            1, "partitioned");
530
    }
531
    {
532
        extern Error m_Pick(Object *, Object *);
533
        DXAddModule("Pick", m_Pick, 0,
534
            9, "pickname[visible:2]", "imagename[visible:2]", "locations[visible:0]", "reexecute[visible:2]", "first", "persistent[visible:0]", "interpolate[visible:0]", "object[visible:0]", "camera[visible:0]",
535
            1, "picked");
536
    }
537
    {
538
        extern Error m_Pie(Object *, Object *);
539
        DXAddModule("Pie", m_Pie, 0,
540
            17, "percents", "percentflag", "radius", "radiusscale[visible:0]", "radiusmin[visible:0]", "radiusmax[visible:0]", "radiusratio[visible:0]", "height", "heightscale[visible:0]", "heightmin[visible:0]", "heightmax[visible:0]", "heightratio[visible:0]", "quality", "colors[visible:0]", "labels", "labelformat[visible:0]", "showpercents[visible:0]",
541
            5, "wedges", "edges", "labels", "percents", "colors");
542
    }
543
    {
544
        extern Error m_Plot(Object *, Object *);
545
        DXAddModule("Plot", m_Plot, 0,
546
            26, "input", "labels", "ticks", "corners", "adjust[visible:0]", "frame[visible:0]", "type[visible:0]", "grid[visible:0]", "aspect", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "input2[visible:0]", "label2[visible:0]", "ticks2[visible:0]", "corners2[visible:0]", "type2[visible:0]", "xticklocations[visible:0]", "y1ticklocations[visible:0]", "y2ticklocations[visible:0]", "xticklabels[visible:0]", "y1ticklabels[visible:0]", "y2ticklabels[visible:0]", "usefixedfontsize[visible:0]", "fixedfontsize[visible:0]",
547
            1, "plot");
548
    }
549
    {
550
        extern Error m_Post(Object *, Object *);
551
        DXAddModule("Post", m_Post, 0,
552
            2, "input", "dependency",
553
            1, "output");
554
    }
555
    {
556
        extern Error m_Print(Object *, Object *);
557
        DXAddModule("Print", m_Print, 
558
            MODULE_SIDE_EFFECT,
559
            3, "object", "options", "component",
560
            0);
561
    }
562
    {
563
        extern Error m_QuantizeImage(Object *, Object *);
564
        DXAddModule("QuantizeImage", m_QuantizeImage, 0,
565
            2, "images", "nColors",
566
            1, "images");
567
    }
568
    {
569
        extern Error m_ReadImage(Object *, Object *);
570
        DXAddModule("ReadImage", m_ReadImage, 0,
571
            9, "name", "format", "start[visible:0]", "end[visible:0]", "delta[visible:0]", "width[visible:0]", "height[visible:0]", "delayed[visible:0]", "colortype[visible:0]",
572
            1, "image");
573
    }
574
    {
575
        extern Error m_ReadImageWindow(Object *, Object *);
576
        DXAddModule("ReadImageWindow", m_ReadImageWindow, 
577
            MODULE_PIN,
578
            1, "where",
579
            1, "image");
580
    }
581
    {
582
        extern Error m_Reduce(Object *, Object *);
583
        DXAddModule("Reduce", m_Reduce, 0,
584
            2, "input", "factor",
585
            1, "reduced");
586
    }
587
    {
588
        extern Error m_Refine(Object *, Object *);
589
        DXAddModule("Refine", m_Refine, 0,
590
            2, "input", "level",
591
            1, "refined");
592
    }
593
    {
594
        extern Error m_Regrid(Object *, Object *);
595
        DXAddModule("Regrid", m_Regrid, 0,
596
            6, "input", "grid", "nearest", "radius", "exponent", "missing",
597
            1, "output");
598
    }
599
    {
600
        extern Error m_Remove(Object *, Object *);
601
        DXAddModule("Remove", m_Remove, 0,
602
            2, "input", "name",
603
            1, "output");
604
    }
605
    {
606
        extern Error m_Rename(Object *, Object *);
607
        DXAddModule("Rename", m_Rename, 0,
608
            3, "input", "oldname", "newname",
609
            1, "output");
610
    }
611
    {
612
        extern Error m_Render(Object *, Object *);
613
        DXAddModule("Render", m_Render, 0,
614
            3, "object", "camera", "format[visible:0]",
615
            1, "image");
616
    }
617
    {
618
        extern Error m_Reorient(Object *, Object *);
619
        DXAddModule("Reorient", m_Reorient, 0,
620
            2, "image", "how",
621
            1, "image");
622
    }
623
    {
624
        extern Error m_Replace(Object *, Object *);
625
        DXAddModule("Replace", m_Replace, 0,
626
            4, "srcfield", "dstfield", "srcname", "dstname",
627
            1, "out");
628
    }
629
    {
630
        extern Error m_Ribbon(Object *, Object *);
631
        DXAddModule("Ribbon", m_Ribbon, 0,
632
            2, "line", "width",
633
            1, "ribbon");
634
    }
635
    {
636
        extern Error m_Rotate(Object *, Object *);
637
        DXAddModule("Rotate", m_Rotate, 0,
638
            45, "input", "axis", "rotation", "axis", "rotation", "axis1", "rotation1", "axis2", "rotation2", "axis3", "rotation3", "axis4", "rotation4", "axis5", "rotation5", "axis6", "rotation6", "axis7", "rotation7", "axis8", "rotation8", "axis9", "rotation9", "axis10", "rotation10", "axis11", "rotation11", "axis12", "rotation12", "axis13", "rotation13", "axis14", "rotation14", "axis15", "rotation15", "axis16", "rotation16", "axis17", "rotation17", "axis18", "rotation18", "axis19", "rotation19", "axis20", "rotation20",
639
            1, "output");
640
    }
641
    {
642
        extern Error m_Route(Object *, Object *);
643
        DXAddModule("Route", m_Route, 0,
644
            2, "selector", "input",
645
            21, "output", "output1", "output2", "output3", "output4", "output5", "output6", "output7", "output8", "output9", "output10", "output11", "output12", "output13", "output14", "output15", "output16", "output17", "output18", "output19", "output20");
646
    }
647
    {
648
        extern Error m_RubberSheet(Object *, Object *);
649
        DXAddModule("RubberSheet", m_RubberSheet, 0,
650
            4, "data", "scale", "min[visible:0]", "max[visible:0]",
651
            1, "graph");
652
    }
653
    {
654
        extern Error m_Sample(Object *, Object *);
655
        DXAddModule("Sample", m_Sample, 0,
656
            2, "manifold", "density",
657
            1, "samples");
658
    }
659
    {
660
        extern Error m_Scale(Object *, Object *);
661
        DXAddModule("Scale", m_Scale, 0,
662
            2, "input", "scaling",
663
            1, "output");
664
    }
665
    {
666
        extern Error m_ScaleScreen(Object *, Object *);
667
        DXAddModule("ScaleScreen", m_ScaleScreen, 0,
668
            4, "object", "scalefactor", "finalres", "currentcamera",
669
            2, "output", "newcamera");
670
    }
671
    {
672
        extern Error m_Select(Object *, Object *);
673
        DXAddModule("Select", m_Select, 0,
674
            3, "input", "which", "except[visible:0]",
675
            1, "object");
676
    }
677
    {
678
        extern Error m_Set(Object *, Object *);
679
        DXAddModule("Set", m_Set, 0,
680
            3, "object", "link", "key[visible:2]",
681
            0);
682
    }
683
    {
684
        extern Error m_SetGlobal(Object *, Object *);
685
        DXAddModule("SetGlobal", m_SetGlobal, 0,
686
            3, "object", "link", "key[visible:2]",
687
            0);
688
    }
689
    {
690
        extern Error m_SetLocal(Object *, Object *);
691
        DXAddModule("SetLocal", m_SetLocal, 0,
692
            3, "object", "link", "key[visible:2]",
693
            0);
694
    }
695
    {
696
        extern Error m_Shade(Object *, Object *);
697
        DXAddModule("Shade", m_Shade, 0,
698
            8, "input", "shade", "how", "specular[visible:0]", "shininess[visible:0]", "diffuse[visible:0]", "ambient[visible:0]", "reversefront[visible:0]",
699
            1, "output");
700
    }
701
    {
702
        extern Error m_ShowBoundary(Object *, Object *);
703
        DXAddModule("ShowBoundary", m_ShowBoundary, 0,
704
            2, "input", "validity",
705
            1, "output");
706
    }
707
    {
708
        extern Error m_ShowBox(Object *, Object *);
709
        DXAddModule("ShowBox", m_ShowBox, 0,
710
            1, "input",
711
            2, "box", "center");
712
    }
713
    {
714
        extern Error m_ShowConnections(Object *, Object *);
715
        DXAddModule("ShowConnections", m_ShowConnections, 0,
716
            1, "input",
717
            1, "output");
718
    }
719
    {
720
        extern Error m_ShowPositions(Object *, Object *);
721
        DXAddModule("ShowPositions", m_ShowPositions, 0,
722
            2, "input", "every[visible:0]",
723
            1, "output");
724
    }
725
    {
726
        extern Error m_SimplifySurface(Object *, Object *);
727
        DXAddModule("SimplifySurface", m_SimplifySurface, 0,
728
            8, "original_surface", "max_error", "max_data_error", "volume[visible:0]", "boundary[visible:0]", "length[visible:0]", "data[visible:0]", "stats[visible:0]",
729
            1, "simplified");
730
    }
731
    {
732
        extern Error m_Slab(Object *, Object *);
733
        DXAddModule("Slab", m_Slab, 0,
734
            4, "input", "dimension", "position", "thickness",
735
            1, "output");
736
    }
737
    {
738
        extern Error m_Slice(Object *, Object *);
739
        DXAddModule("Slice", m_Slice, 0,
740
            3, "input", "dimension", "position",
741
            1, "output");
742
    }
743
    {
744
        extern Error m_Sort(Object *, Object *);
745
        DXAddModule("Sort", m_Sort, 0,
746
            2, "field", "descending",
747
            1, "result");
748
    }
749
    {
750
        extern Error m_Stack(Object *, Object *);
751
        DXAddModule("Stack", m_Stack, 0,
752
            2, "input", "dimension",
753
            1, "output");
754
    }
755
    {
756
        extern Error m_Statistics(Object *, Object *);
757
        DXAddModule("Statistics", m_Statistics, 0,
758
            1, "data",
759
            5, "mean", "sd", "var", "min", "max");
760
    }
761
    {
762
        extern Error m_StereoPick(Object *, Object *);
763
        DXAddModule("StereoPick", m_StereoPick, 0,
764
            11, "pickname[visible:2]", "imagename[visible:2]", "locations[visible:0]", "reexecute[visible:2]", "first", "persistent[visible:0]", "interpolate[visible:0]", "object[visible:0]", "camera[visible:0]", "stereoArgs", "where",
765
            1, "picked");
766
    }
767
    {
768
        extern Error m_Streakline(Object *, Object *);
769
        DXAddModule("Streakline", m_Streakline, 0,
770
            10, "name[visible:0]", "data", "start", "time", "head", "frame", "curl", "flag", "stepscale", "hold",
771
            1, "line");
772
    }
773
    {
774
        extern Error m_Streamline(Object *, Object *);
775
        DXAddModule("Streamline", m_Streamline, 0,
776
            7, "data", "start", "time", "head", "curl", "flag", "stepscale",
777
            1, "line");
778
    }
779
    {
780
        extern Error m_SuperviseState(Object *, Object *);
781
        DXAddModule("SuperviseState", m_SuperviseState, 
782
            MODULE_ASYNC,
783
            9, "where", "defaultCamera", "resetCamera", "object", "resetObject", "size", "events", "mode", "args",
784
            4, "object", "camera", "where", "events");
785
    }
786
    {
787
        extern Error m_SuperviseWindow(Object *, Object *);
788
        DXAddModule("SuperviseWindow", m_SuperviseWindow, 
789
            MODULE_ASYNC | MODULE_PIN,
790
            11, "name", "display", "size", "offset", "parent", "depth", "visibility", "pick", "sizeFlag", "offsetFlag", "decorations",
791
            3, "where", "size", "events");
792
    }
793
    {
794
        extern Error m_Switch(Object *, Object *);
795
        DXAddModule("Switch", m_Switch, 0,
796
            22, "selector", "input", "input1", "input2", "input3", "input4", "input5", "input6", "input7", "input8", "input9", "input10", "input11", "input12", "input13", "input14", "input15", "input16", "input17", "input18", "input19", "input20",
797
            1, "output");
798
    }
799
    {
800
        extern Error m_System(Object *, Object *);
801
        DXAddModule("System", m_System, 
802
            MODULE_SIDE_EFFECT,
803
            1, "string",
804
            0);
805
    }
806
    {
807
        extern Error m_Text(Object *, Object *);
808
        DXAddModule("Text", m_Text, 0,
809
            6, "string", "position", "height", "font", "direction[visible:0]", "up[visible:0]",
810
            1, "text");
811
    }
812
    {
813
        extern Error m_Trace(Object *, Object *);
814
        DXAddModule("Trace", m_Trace, 
815
            MODULE_SIDE_EFFECT,
816
            2, "what", "how",
817
            0);
818
    }
819
    {
820
        extern Error m_Transform(Object *, Object *);
821
        DXAddModule("Transform", m_Transform, 0,
822
            2, "input", "transform",
823
            1, "output");
824
    }
825
    {
826
        extern Error m_Translate(Object *, Object *);
827
        DXAddModule("Translate", m_Translate, 0,
828
            2, "input", "translation",
829
            1, "output");
830
    }
831
    {
832
        extern Error m_Transpose(Object *, Object *);
833
        DXAddModule("Transpose", m_Transpose, 0,
834
            2, "input", "dimensions",
835
            1, "output");
836
    }
837
    {
838
        extern Error m_Tube(Object *, Object *);
839
        DXAddModule("Tube", m_Tube, 0,
840
            4, "line", "diameter", "ngon[visible:0]", "style[visible:0]",
841
            1, "tube");
842
    }
843
    {
844
        extern Error m_Unmark(Object *, Object *);
845
        DXAddModule("Unmark", m_Unmark, 0,
846
            2, "input", "name",
847
            1, "output");
848
    }
849
    {
850
        extern Error m_UpdateCamera(Object *, Object *);
851
        DXAddModule("UpdateCamera", m_UpdateCamera, 0,
852
            10, "camera", "to", "from", "width", "resolution", "aspect", "up", "perspective", "angle", "background",
853
            1, "camera");
854
    }
855
    {
856
        extern Error m_Usage(Object *, Object *);
857
        DXAddModule("Usage", m_Usage, 
858
            MODULE_SIDE_EFFECT,
859
            2, "what", "how",
860
            0);
861
    }
862
    {
863
        extern Error m_Verify(Object *, Object *);
864
        DXAddModule("Verify", m_Verify, 0,
865
            2, "input", "how",
866
            1, "output");
867
    }
868
    {
869
        extern Error m_VisualObject(Object *, Object *);
870
        DXAddModule("VisualObject", m_VisualObject, 0,
871
            2, "input", "options",
872
            1, "output");
873
    }
874
    {
875
        extern Error m_WriteImage(Object *, Object *);
876
        DXAddModule("WriteImage", m_WriteImage, 
877
            MODULE_SIDE_EFFECT,
878
            4, "image", "name", "format", "frame",
879
            0);
880
    }
881
    {
882
        extern Error m_DXLInputNamed(Object *, Object *);
883
        DXAddModule("DXLInputNamed", m_DXLInputNamed, 
884
            MODULE_ASYNC,
885
            2, "name", "default",
886
            1, "output");
887
    }
888
    {
889
        extern Error m_DXLOutput(Object *, Object *);
890
        DXAddModule("DXLOutput", m_DXLOutput, 
891
            MODULE_SIDE_EFFECT,
892
            2, "label[visible:2]", "value",
893
            0);
894
    }
895
    {
896
        extern Error m_DXLOutputNamed(Object *, Object *);
897
        DXAddModule("DXLOutputNamed", m_DXLOutputNamed, 
898
            MODULE_SIDE_EFFECT,
899
            2, "name", "value",
900
            0);
901
    }
902
    {
903
        extern Error m_Execute(Object *, Object *);
904
        DXAddModule("Execute", m_Execute, 0,
905
            1, "action",
906
            0);
907
    }
908
    {
909
        extern Error m_ManageColormapEditor(Object *, Object *);
910
        DXAddModule("ManageColormapEditor", m_ManageColormapEditor, 0,
911
            3, "name", "open", "how",
912
            0);
913
    }
914
    {
915
        extern Error m_ManageControlPanel(Object *, Object *);
916
        DXAddModule("ManageControlPanel", m_ManageControlPanel, 0,
917
            2, "name", "open",
918
            0);
919
    }
920
    {
921
        extern Error m_ManageImageWindow(Object *, Object *);
922
        DXAddModule("ManageImageWindow", m_ManageImageWindow, 0,
923
            3, "name", "open", "how",
924
            0);
925
    }
926
    {
927
        extern Error m_ManageSequencer(Object *, Object *);
928
        DXAddModule("ManageSequencer", m_ManageSequencer, 0,
929
            1, "open",
930
            0);
931
    }
932
    {
933
        extern Error m_Integer(Object *, Object *);
934
        DXAddModule("Integer", m_Integer, 
935
            MODULE_REROUTABLE | MODULE_REACH,
936
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "reserved2[visible:2]", "reserved3[visible:2]", "label[visible:0,cache:2]",
937
            1, "output");
938
    }
939
    {
940
        extern Error m_IntegerList(Object *, Object *);
941
        DXAddModule("IntegerList", m_IntegerList, 
942
            MODULE_REROUTABLE | MODULE_REACH,
943
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "reserved2[visible:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
944
            1, "output");
945
    }
946
    {
947
        extern Error m_Scalar(Object *, Object *);
948
        DXAddModule("Scalar", m_Scalar, 
949
            MODULE_REROUTABLE | MODULE_REACH,
950
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "reserved2[visible:2]", "label[visible:0,cache:2]",
951
            1, "output");
952
    }
953
    {
954
        extern Error m_ScalarList(Object *, Object *);
955
        DXAddModule("ScalarList", m_ScalarList, 
956
            MODULE_REROUTABLE | MODULE_REACH,
957
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
958
            1, "output");
959
    }
960
    {
961
        extern Error m_SetDXLInputNamed(Object *, Object *);
962
        DXAddModule("SetDXLInputNamed", m_SetDXLInputNamed, 0,
963
            2, "name", "object",
964
            0);
965
    }
966
    {
967
        extern Error m_Vector(Object *, Object *);
968
        DXAddModule("Vector", m_Vector, 
969
            MODULE_REROUTABLE | MODULE_REACH,
970
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "reserved2[visible:2]", "label[visible:0,cache:2]",
971
            1, "output");
972
    }
973
    {
974
        extern Error m_VectorList(Object *, Object *);
975
        DXAddModule("VectorList", m_VectorList, 
976
            MODULE_REROUTABLE | MODULE_REACH,
977
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
978
            1, "output");
979
    }
980
    {
981
        extern Error m_Selector(Object *, Object *);
982
        DXAddModule("Selector", m_Selector, 
983
            MODULE_REROUTABLE | MODULE_REACH,
984
            7, "id[visible:2]", "currentstring[visible:2,reroute:1]", "currentvalue[visible:2,reroute:0]", "stringdata[cache:2]", "valuelist[visible:0,cache:2]", "cull[visible:0,cache:2]", "label[visible:0,cache:2]",
985
            2, "value", "name");
986
    }
987
    {
988
        extern Error m_SelectorList(Object *, Object *);
989
        DXAddModule("SelectorList", m_SelectorList, 
990
            MODULE_REROUTABLE | MODULE_REACH,
991
            7, "id[visible:2]", "currentstring[visible:2,reroute:1]", "currentvalue[visible:2,reroute:0]", "stringdata[cache:2]", "valuelist[visible:0,cache:2]", "cull[visible:0,cache:2]", "label[visible:0,cache:2]",
992
            2, "value", "name");
993
    }
994
    {
995
        extern Error m_Colormap(Object *, Object *);
996
        DXAddModule("Colormap", m_Colormap, 
997
            MODULE_REROUTABLE | MODULE_REACH,
998
            19, "huemap[visible:2]", "satmap[visible:2]", "valmap[visible:2]", "opmap[visible:2]", "id[visible:2]", "data[cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "nbins[visible:0,cache:2]", "colormap[cache:2]", "opacity[cache:2]", "minmax[visible:2]", "defaulthue[visible:2]", "defaultsat[visible:2]", "defaultval[visible:2]", "defaultop[visible:2]", "defaultmin[visible:2]", "defaultmax[visible:2]", "title[visible:0,cache:2]",
999
            2, "rgb", "opacity");
1000
    }
1001
    {
1002
        extern Error m_Sequencer(Object *, Object *);
1003
        DXAddModule("Sequencer", m_Sequencer, 
1004
            MODULE_REROUTABLE | MODULE_REACH,
1005
            7, "id[visible:2]", "data[visible:2]", "frame[visible:2,reroute:0]", "min[cache:2]", "max[cache:2]", "delta[visible:0,cache:2]", "attr[visible:2]",
1006
            1, "frame");
1007
    }
1008
    {
1009
        extern Error m_Toggle(Object *, Object *);
1010
        DXAddModule("Toggle", m_Toggle, 
1011
            MODULE_REROUTABLE | MODULE_REACH,
1012
            6, "id[visible:2]", "currentval[visible:2,reroute:0]", "isset[visible:2]", "setvalue[cache:2]", "unsetvalue[cache:2]", "label[visible:0,cache:2]",
1013
            1, "output");
1014
    }
1015
    {
1016
        extern Error m_SocketConnection(Object *, Object *);
1017
        DXAddModule("SocketConnection", m_SocketConnection, 
1018
            MODULE_ASYNC | MODULE_PIN,
1019
            1, "port",
1020
            1, "obj");
1021
    }
1022
    {
1023
        extern Error m_ImportGfs2D(Object *, Object *);
1024
        DXAddModule("ImportGfs2D", m_ImportGfs2D, 0,
1025
            1, "name",
1026
            1, "result");
1027
    }
1028
}
(-)gerris-0.6.0/src/dx3D.c (-6 / +1028 lines)
Lines 1-6 Link Here
1
MODULE ImportGfs3D
1
/* Automatically generated - may need to edit! */
2
CATEGORY Import and Export 
2
3
DESCRIPTION Imports a Gerris Flow Solver 3D simulation file
3
#include <dx/dx.h>
4
LOADABLE "/home/popinet/adds//lib/gerris/libdx3D.so"
4
#include <dx/modflags.h>
5
INPUT name; string; (none); file name
5
6
OUTPUT result; field; imported field
6
#if defined(intelnt)
7
#include <windows.h>
8
#endif
9
10
extern Error DXAddModule (char *, ...);
11
12
void
13
 _dxf_user_modules()
14
{
15
    {
16
        extern Error m_AmbientLight(Object *, Object *);
17
        DXAddModule("AmbientLight", m_AmbientLight, 0,
18
            1, "color",
19
            1, "light");
20
    }
21
    {
22
        extern Error m_Append(Object *, Object *);
23
        DXAddModule("Append", m_Append, 0,
24
            43, "input", "object", "id", "object1", "id1", "object2", "id2", "object3", "id3", "object4", "id4", "object5", "id5", "object6", "id6", "object7", "id7", "object8", "id8", "object9", "id9", "object10", "id10", "object11", "id11", "object12", "id12", "object13", "id13", "object14", "id14", "object15", "id15", "object16", "id16", "object17", "id17", "object18", "id18", "object19", "id19", "object20", "id20",
25
            1, "group");
26
    }
27
    {
28
        extern Error m_Arrange(Object *, Object *);
29
        DXAddModule("Arrange", m_Arrange, 0,
30
            5, "group", "horizontal", "compact[visible:0]", "position[visible:0]", "size[visible:0]",
31
            1, "image");
32
    }
33
    {
34
        extern Error m_Attribute(Object *, Object *);
35
        DXAddModule("Attribute", m_Attribute, 0,
36
            2, "input", "attribute",
37
            1, "object");
38
    }
39
    {
40
        extern Error m_AutoAxes(Object *, Object *);
41
        DXAddModule("AutoAxes", m_AutoAxes, 0,
42
            19, "input", "camera", "labels", "ticks[visible:0]", "corners[visible:0]", "frame[visible:0]", "adjust[visible:0]", "cursor[visible:0]", "grid[visible:0]", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "xticklocations[visible:0]", "yticklocations[visible:0]", "zticklocations[visible:0]", "xticklabels[visible:0]", "yticklabels[visible:0]", "zticklabels[visible:0]",
43
            1, "axes");
44
    }
45
    {
46
        extern Error m_AutoCamera(Object *, Object *);
47
        DXAddModule("AutoCamera", m_AutoCamera, 0,
48
            9, "object", "direction", "width[visible:0]", "resolution[visible:0]", "aspect[visible:0]", "up[visible:0]", "perspective[visible:0]", "angle[visible:0]", "background[visible:0]",
49
            1, "camera");
50
    }
51
    {
52
        extern Error m_AutoColor(Object *, Object *);
53
        DXAddModule("AutoColor", m_AutoColor, 0,
54
            10, "data", "opacity[visible:0]", "intensity[visible:0]", "start[visible:0]", "range[visible:0]", "saturation[visible:0]", "min", "max[visible:0]", "delayed[visible:0]", "outofrange[visible:0]",
55
            2, "mapped", "colormap");
56
    }
57
    {
58
        extern Error m_AutoGlyph(Object *, Object *);
59
        DXAddModule("AutoGlyph", m_AutoGlyph, 0,
60
            7, "data", "type", "shape", "scale", "ratio", "min[visible:0]", "max[visible:0]",
61
            1, "glyphs");
62
    }
63
    {
64
        extern Error m_AutoGrayScale(Object *, Object *);
65
        DXAddModule("AutoGrayScale", m_AutoGrayScale, 0,
66
            10, "data", "opacity[visible:0]", "hue[visible:0]", "start[visible:0]", "range[visible:0]", "saturation[visible:0]", "min[visible:0]", "max[visible:0]", "delayed[visible:0]", "outofrange[visible:0]",
67
            2, "mapped", "colormap");
68
    }
69
    {
70
        extern Error m_AutoGrid(Object *, Object *);
71
        DXAddModule("AutoGrid", m_AutoGrid, 0,
72
            6, "input", "densityfactor", "nearest", "radius", "exponent[visible:0]", "missing[visible:0]",
73
            1, "output");
74
    }
75
    {
76
        extern Error m_Band(Object *, Object *);
77
        DXAddModule("Band", m_Band, 0,
78
            4, "data", "value", "number", "remap",
79
            1, "band");
80
    }
81
    {
82
        extern Error m_BSpline(Object *, Object *);
83
        DXAddModule("BSpline", m_BSpline, 0,
84
            3, "input", "items", "order",
85
            1, "result");
86
    }
87
    {
88
        extern Error m_CacheScene(Object *, Object *);
89
        DXAddModule("CacheScene", m_CacheScene, 0,
90
            3, "name", "pickobject", "pickcamera",
91
            0);
92
    }
93
    {
94
        extern Error m_Camera(Object *, Object *);
95
        DXAddModule("Camera", m_Camera, 0,
96
            9, "to", "from", "width", "resolution", "aspect", "up", "perspective", "angle", "background",
97
            1, "camera");
98
    }
99
    {
100
        extern Error m_Caption(Object *, Object *);
101
        DXAddModule("Caption", m_Caption, 0,
102
            9, "string", "position", "flag[visible:0]", "reference[visible:0]", "alignment[visible:0]", "height[visible:0]", "font[visible:0]", "direction[visible:0]", "up[visible:0]",
103
            1, "caption");
104
    }
105
    {
106
        extern Error m_Categorize(Object *, Object *);
107
        DXAddModule("Categorize", m_Categorize, 0,
108
            2, "field", "name",
109
            1, "categorized");
110
    }
111
    {
112
        extern Error m_CategoryStatistics(Object *, Object *);
113
        DXAddModule("CategoryStatistics", m_CategoryStatistics, 0,
114
            5, "input", "operation", "category[visible:0]", "data[visible:0]", "lookup[visible:0]",
115
            1, "statistics");
116
    }
117
    {
118
        extern Error m_ChangeGroupMember(Object *, Object *);
119
        DXAddModule("ChangeGroupMember", m_ChangeGroupMember, 0,
120
            5, "data", "operation", "id", "newmember", "newtag",
121
            1, "changed");
122
    }
123
    {
124
        extern Error m_ChangeGroupType(Object *, Object *);
125
        DXAddModule("ChangeGroupType", m_ChangeGroupType, 0,
126
            3, "data", "newtype", "idlist",
127
            1, "changed");
128
    }
129
    {
130
        extern Error m_ClipBox(Object *, Object *);
131
        DXAddModule("ClipBox", m_ClipBox, 0,
132
            2, "object", "corners",
133
            1, "clipped");
134
    }
135
    {
136
        extern Error m_ClipPlane(Object *, Object *);
137
        DXAddModule("ClipPlane", m_ClipPlane, 0,
138
            3, "object", "point", "normal",
139
            1, "clipped");
140
    }
141
    {
142
        extern Error m_Collect(Object *, Object *);
143
        DXAddModule("Collect", m_Collect, 
144
            MODULE_ERR_CONT,
145
            21, "object", "object1", "object2", "object3", "object4", "object5", "object6", "object7", "object8", "object9", "object10", "object11", "object12", "object13", "object14", "object15", "object16", "object17", "object18", "object19", "object20",
146
            1, "group");
147
    }
148
    {
149
        extern Error m_CollectNamed(Object *, Object *);
150
        DXAddModule("CollectNamed", m_CollectNamed, 0,
151
            42, "object", "name", "object1", "name1", "object2", "name2", "object3", "name3", "object4", "name4", "object5", "name5", "object6", "name6", "object7", "name7", "object8", "name8", "object9", "name9", "object10", "name10", "object11", "name11", "object12", "name12", "object13", "name13", "object14", "name14", "object15", "name15", "object16", "name16", "object17", "name17", "object18", "name18", "object19", "name19", "object20", "name20",
152
            1, "group");
153
    }
154
    {
155
        extern Error m_CollectMultiGrid(Object *, Object *);
156
        DXAddModule("CollectMultiGrid", m_CollectMultiGrid, 0,
157
            42, "object", "name", "object1", "name1", "object2", "name2", "object3", "name3", "object4", "name4", "object5", "name5", "object6", "name6", "object7", "name7", "object8", "name8", "object9", "name9", "object10", "name10", "object11", "name11", "object12", "name12", "object13", "name13", "object14", "name14", "object15", "name15", "object16", "name16", "object17", "name17", "object18", "name18", "object19", "name19", "object20", "name20",
158
            1, "multigrid");
159
    }
160
    {
161
        extern Error m_CollectSeries(Object *, Object *);
162
        DXAddModule("CollectSeries", m_CollectSeries, 0,
163
            44, "object", "position", "object", "position", "object1", "position1", "object2", "position2", "object3", "position3", "object4", "position4", "object5", "position5", "object6", "position6", "object7", "position7", "object8", "position8", "object9", "position9", "object10", "position10", "object11", "position11", "object12", "position12", "object13", "position13", "object14", "position14", "object15", "position15", "object16", "position16", "object17", "position17", "object18", "position18", "object19", "position19", "object20", "position20",
164
            1, "series");
165
    }
166
    {
167
        extern Error m_Color(Object *, Object *);
168
        DXAddModule("Color", m_Color, 0,
169
            5, "input", "color", "opacity", "component[visible:0]", "delayed[visible:0]",
170
            1, "colored");
171
    }
172
    {
173
        extern Error m_ColorBar(Object *, Object *);
174
        DXAddModule("ColorBar", m_ColorBar, 0,
175
            16, "colormap", "position", "shape", "horizontal", "ticks[visible:0]", "min[visible:0]", "max[visible:0]", "label", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "ticklocations[visible:0]", "ticklabels[visible:0]", "usefixedfontsize[visible:0]", "fixedfontsize[visible:0]",
176
            1, "colorbar");
177
    }
178
    {
179
        extern Error m_Compute(Object *, Object *);
180
        DXAddModule("Compute", m_Compute, 0,
181
            22, "expression[visible:2]", "input", "input1", "input2", "input3", "input4", "input5", "input6", "input7", "input8", "input9", "input10", "input11", "input12", "input13", "input14", "input15", "input16", "input17", "input18", "input19", "input20",
182
            1, "output");
183
    }
184
    {
185
        extern Error m_Compute2(Object *, Object *);
186
        DXAddModule("Compute2", m_Compute2, 0,
187
            43, "expression", "name", "input", "name1", "input1", "name2", "input2", "name3", "input3", "name4", "input4", "name5", "input5", "name6", "input6", "name7", "input7", "name8", "input8", "name9", "input9", "name10", "input10", "name11", "input11", "name12", "input12", "name13", "input13", "name14", "input14", "name15", "input15", "name16", "input16", "name17", "input17", "name18", "input18", "name19", "input19", "name20", "input20",
188
            1, "output");
189
    }
190
    {
191
        extern Error m_Connect(Object *, Object *);
192
        DXAddModule("Connect", m_Connect, 0,
193
            3, "input", "method", "normal",
194
            1, "output");
195
    }
196
    {
197
        extern Error m_Construct(Object *, Object *);
198
        DXAddModule("Construct", m_Construct, 0,
199
            4, "origin", "deltas", "counts", "data",
200
            1, "output");
201
    }
202
    {
203
        extern Error m_Convert(Object *, Object *);
204
        DXAddModule("Convert", m_Convert, 0,
205
            4, "data", "incolorspace", "outcolorspace", "addpoints",
206
            1, "output");
207
    }
208
    {
209
        extern Error m_CopyContainer(Object *, Object *);
210
        DXAddModule("CopyContainer", m_CopyContainer, 0,
211
            1, "input",
212
            1, "copy");
213
    }
214
    {
215
        extern Error m_Describe(Object *, Object *);
216
        DXAddModule("Describe", m_Describe, 
217
            MODULE_SIDE_EFFECT,
218
            2, "object", "options",
219
            0);
220
    }
221
    {
222
        extern Error m_DFT(Object *, Object *);
223
        DXAddModule("DFT", m_DFT, 0,
224
            3, "input", "direction", "center",
225
            1, "output");
226
    }
227
    {
228
        extern Error m_Direction(Object *, Object *);
229
        DXAddModule("Direction", m_Direction, 0,
230
            3, "azimuth", "elevation", "distance",
231
            1, "point");
232
    }
233
    {
234
        extern Error m_Display(Object *, Object *);
235
        DXAddModule("Display", m_Display, 
236
            MODULE_PIN | MODULE_SIDE_EFFECT,
237
            46, "object", "camera", "where[visible:0]", "throttle[visible:0]", "name[visible:0]", "value[visible:0]", "name1[visible:0]", "value1[visible:0]", "name2[visible:0]", "value2[visible:0]", "name3[visible:0]", "value3[visible:0]", "name4[visible:0]", "value4[visible:0]", "name5[visible:0]", "value5[visible:0]", "name6[visible:0]", "value6[visible:0]", "name7[visible:0]", "value7[visible:0]", "name8[visible:0]", "value8[visible:0]", "name9[visible:0]", "value9[visible:0]", "name10[visible:0]", "value10[visible:0]", "name11[visible:0]", "value11[visible:0]", "name12[visible:0]", "value12[visible:0]", "name13[visible:0]", "value13[visible:0]", "name14[visible:0]", "value14[visible:0]", "name15[visible:0]", "value15[visible:0]", "name16[visible:0]", "value16[visible:0]", "name17[visible:0]", "value17[visible:0]", "name18[visible:0]", "value18[visible:0]", "name19[visible:0]", "value19[visible:0]", "name20[visible:0]", "value20[visible:0]",
238
            1, "where");
239
    }
240
    {
241
        extern Error m_DivCurl(Object *, Object *);
242
        DXAddModule("DivCurl", m_DivCurl, 0,
243
            2, "data", "method[visible:0]",
244
            2, "div", "curl");
245
    }
246
    {
247
        extern Error m_Done(Object *, Object *);
248
        DXAddModule("Done", m_Done, 
249
            MODULE_LOOP,
250
            1, "done",
251
            0);
252
    }
253
    {
254
        extern Error m_Echo(Object *, Object *);
255
        DXAddModule("Echo", m_Echo, 
256
            MODULE_SIDE_EFFECT,
257
            21, "string", "string1", "string2", "string3", "string4", "string5", "string6", "string7", "string8", "string9", "string10", "string11", "string12", "string13", "string14", "string15", "string16", "string17", "string18", "string19", "string20",
258
            0);
259
    }
260
    {
261
        extern Error m_Enumerate(Object *, Object *);
262
        DXAddModule("Enumerate", m_Enumerate, 0,
263
            5, "start", "end", "count", "delta", "method",
264
            1, "list");
265
    }
266
    {
267
        extern Error m_Equalize(Object *, Object *);
268
        DXAddModule("Equalize", m_Equalize, 0,
269
            6, "data", "bins", "min[visible:0]", "max[visible:0]", "ihist[visible:0]", "ohist[visible:0]",
270
            1, "equalized");
271
    }
272
    {
273
        extern Error m_Executive(Object *, Object *);
274
        DXAddModule("Executive", m_Executive, 
275
            MODULE_SIDE_EFFECT,
276
            22, "command", "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20",
277
            0);
278
    }
279
    {
280
        extern Error m_Export(Object *, Object *);
281
        DXAddModule("Export", m_Export, 
282
            MODULE_SIDE_EFFECT,
283
            3, "object", "name", "format",
284
            0);
285
    }
286
    {
287
        extern Error m_Extract(Object *, Object *);
288
        DXAddModule("Extract", m_Extract, 0,
289
            2, "input", "name",
290
            1, "output");
291
    }
292
    {
293
        extern Error m_FaceNormals(Object *, Object *);
294
        DXAddModule("FaceNormals", m_FaceNormals, 0,
295
            1, "surface",
296
            1, "normals");
297
    }
298
    {
299
        extern Error m_Filter(Object *, Object *);
300
        DXAddModule("Filter", m_Filter, 0,
301
            4, "input", "filter", "component[visible:0]", "mask[visible:0]",
302
            1, "output");
303
    }
304
    {
305
        extern Error m_First(Object *, Object *);
306
        DXAddModule("First", m_First, 
307
            MODULE_LOOP,
308
            0,
309
            1, "first");
310
    }
311
    {
312
        extern Error m_ForEachMember(Object *, Object *);
313
        DXAddModule("ForEachMember", m_ForEachMember, 
314
            MODULE_LOOP,
315
            1, "object",
316
            3, "member", "index", "last");
317
    }
318
    {
319
        extern Error m_ForEachN(Object *, Object *);
320
        DXAddModule("ForEachN", m_ForEachN, 
321
            MODULE_LOOP,
322
            3, "start", "end", "delta",
323
            2, "current", "last");
324
    }
325
    {
326
        extern Error m_Format(Object *, Object *);
327
        DXAddModule("Format", m_Format, 0,
328
            22, "template", "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20",
329
            1, "string");
330
    }
331
    {
332
        extern Error m_FFT(Object *, Object *);
333
        DXAddModule("FFT", m_FFT, 0,
334
            3, "input", "direction", "center",
335
            1, "output");
336
    }
337
    {
338
        extern Error m_Get(Object *, Object *);
339
        DXAddModule("Get", m_Get, 
340
            MODULE_ASYNCLOCAL | MODULE_CHANGES_STATE,
341
            3, "initial", "reset", "key[visible:2,rerun_key:1]",
342
            2, "object", "link");
343
    }
344
    {
345
        extern Error m_GetGlobal(Object *, Object *);
346
        DXAddModule("GetGlobal", m_GetGlobal, 
347
            MODULE_ASYNCLOCAL | MODULE_CHANGES_STATE,
348
            3, "initial", "reset", "key[visible:2,rerun_key:1]",
349
            2, "object", "link");
350
    }
351
    {
352
        extern Error m_GetLocal(Object *, Object *);
353
        DXAddModule("GetLocal", m_GetLocal, 
354
            MODULE_ASYNCLOCAL,
355
            3, "initial", "reset", "key[visible:2]",
356
            2, "object", "link");
357
    }
358
    {
359
        extern Error m_GetScene(Object *, Object *);
360
        DXAddModule("GetScene", m_GetScene, 
361
            MODULE_SIDE_EFFECT,
362
            1, "imagetag[visible:2]",
363
            2, "object", "camera");
364
    }
365
    {
366
        extern Error m_Glyph(Object *, Object *);
367
        DXAddModule("Glyph", m_Glyph, 0,
368
            7, "data", "type", "shape", "scale", "ratio", "min[visible:0]", "max[visible:0]",
369
            1, "glyphs");
370
    }
371
    {
372
        extern Error m_Gradient(Object *, Object *);
373
        DXAddModule("Gradient", m_Gradient, 0,
374
            2, "data", "method[visible:0]",
375
            1, "gradient");
376
    }
377
    {
378
        extern Error m_Grid(Object *, Object *);
379
        DXAddModule("Grid", m_Grid, 0,
380
            4, "point", "structure", "shape", "density",
381
            1, "grid");
382
    }
383
    {
384
        extern Error m_Histogram(Object *, Object *);
385
        DXAddModule("Histogram", m_Histogram, 0,
386
            5, "data", "bins", "min[visible:0]", "max[visible:0]", "out[visible:0]",
387
            2, "histogram", "median");
388
    }
389
    {
390
        extern Error m_ImageMessage(Object *, Object *);
391
        DXAddModule("ImageMessage", m_ImageMessage, 
392
            MODULE_SIDE_EFFECT,
393
            33, "id", "bkgndColor", "throttle", "recordEnable", "recordFile", "recordFormat", "recordResolution", "recordAspect", "axesEnabled", "axesLabels", "axesTicks", "axesCorners", "axesFrame", "axesAdjust", "axesCursor", "axesGrid", "axesColors", "axesAnnotate", "axesLabelScale", "axesFont", "axesXTickLocs", "axesYTickLocs", "axesZTickLocs", "axesXTickLabels", "axesYTickLabels", "axesZTickLabels", "interactionMode", "title", "renderMode", "buttonUpApprox", "buttonDownApprox", "buttonUpDensity", "buttonDownDensity",
394
            0);
395
    }
396
    {
397
        extern Error m_Import(Object *, Object *);
398
        DXAddModule("Import", m_Import, 
399
            MODULE_PIN,
400
            6, "name", "variable", "format", "start[visible:0]", "end[visible:0]", "delta[visible:0]",
401
            1, "data");
402
    }
403
    {
404
        extern Error m_ImportSpreadsheet(Object *, Object *);
405
        DXAddModule("ImportSpreadsheet", m_ImportSpreadsheet, 0,
406
            10, "filename", "delimiter", "columnname[visible:0]", "format[visible:0]", "categorize[visible:0]", "start[visible:0]", "end[visible:0]", "delta[visible:0]", "headerlines[visible:0]", "labelline[visible:0]",
407
            2, "data", "labellist");
408
    }
409
    {
410
        extern Error m_Include(Object *, Object *);
411
        DXAddModule("Include", m_Include, 0,
412
            6, "data", "min", "max", "exclude", "cull", "pointwise",
413
            1, "output");
414
    }
415
    {
416
        extern Error m_Inquire(Object *, Object *);
417
        DXAddModule("Inquire", m_Inquire, 0,
418
            3, "input", "inquiry", "value",
419
            1, "output");
420
    }
421
    {
422
        extern Error m_Isolate(Object *, Object *);
423
        DXAddModule("Isolate", m_Isolate, 0,
424
            2, "field", "scale",
425
            1, "output");
426
    }
427
    {
428
        extern Error m_Isosurface(Object *, Object *);
429
        DXAddModule("Isosurface", m_Isosurface, 0,
430
            6, "data", "value", "number", "gradient[visible:0]", "flag[visible:0]", "direction[visible:0]",
431
            1, "surface");
432
    }
433
    {
434
        extern Error m_KeyIn(Object *, Object *);
435
        DXAddModule("KeyIn", m_KeyIn, 
436
            MODULE_SIDE_EFFECT,
437
            1, "prompt",
438
            0);
439
    }
440
    {
441
        extern Error m_Legend(Object *, Object *);
442
        DXAddModule("Legend", m_Legend, 0,
443
            10, "stringlist", "colorlist", "position", "shape", "horizontal", "label", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]",
444
            1, "legend");
445
    }
446
    {
447
        extern Error m_Light(Object *, Object *);
448
        DXAddModule("Light", m_Light, 0,
449
            3, "where", "color", "camera",
450
            1, "light");
451
    }
452
    {
453
        extern Error m_List(Object *, Object *);
454
        DXAddModule("List", m_List, 0,
455
            21, "object", "object1", "object2", "object3", "object4", "object5", "object6", "object7", "object8", "object9", "object10", "object11", "object12", "object13", "object14", "object15", "object16", "object17", "object18", "object19", "object20",
456
            1, "list");
457
    }
458
    {
459
        extern Error m_Lookup(Object *, Object *);
460
        DXAddModule("Lookup", m_Lookup, 0,
461
            7, "input", "table", "data[visible:0]", "lookup[visible:0]", "value[visible:0]", "destination[visible:0]", "ignore[visible:0]",
462
            1, "lookedup");
463
    }
464
    {
465
        extern Error m_Map(Object *, Object *);
466
        DXAddModule("Map", m_Map, 0,
467
            4, "input", "map", "source[visible:0]", "destination[visible:0]",
468
            1, "output");
469
    }
470
    {
471
        extern Error m_MapToPlane(Object *, Object *);
472
        DXAddModule("MapToPlane", m_MapToPlane, 0,
473
            3, "data", "point", "normal",
474
            1, "plane");
475
    }
476
    {
477
        extern Error m_Mark(Object *, Object *);
478
        DXAddModule("Mark", m_Mark, 0,
479
            2, "input", "name",
480
            1, "output");
481
    }
482
    {
483
        extern Error m_Measure(Object *, Object *);
484
        DXAddModule("Measure", m_Measure, 0,
485
            2, "input", "what",
486
            1, "output");
487
    }
488
    {
489
        extern Error m_Message(Object *, Object *);
490
        DXAddModule("Message", m_Message, 
491
            MODULE_SIDE_EFFECT,
492
            3, "message", "type", "popup",
493
            0);
494
    }
495
    {
496
        extern Error m_Morph(Object *, Object *);
497
        DXAddModule("Morph", m_Morph, 0,
498
            3, "input", "operation", "mask",
499
            1, "output");
500
    }
501
    {
502
        extern Error m_Normals(Object *, Object *);
503
        DXAddModule("Normals", m_Normals, 0,
504
            2, "surface", "method",
505
            1, "normals");
506
    }
507
    {
508
        extern Error m_Options(Object *, Object *);
509
        DXAddModule("Options", m_Options, 0,
510
            43, "input", "attribute", "value", "attribute1", "value1", "attribute2", "value2", "attribute3", "value3", "attribute4", "value4", "attribute5", "value5", "attribute6", "value6", "attribute7", "value7", "attribute8", "value8", "attribute9", "value9", "attribute10", "value10", "attribute11", "value11", "attribute12", "value12", "attribute13", "value13", "attribute14", "value14", "attribute15", "value15", "attribute16", "value16", "attribute17", "value17", "attribute18", "value18", "attribute19", "value19", "attribute20", "value20",
511
            1, "output");
512
    }
513
    {
514
        extern Error m_Overlay(Object *, Object *);
515
        DXAddModule("Overlay", m_Overlay, 0,
516
            3, "overlay", "base", "blend",
517
            1, "combined");
518
    }
519
    {
520
        extern Error m_Parse(Object *, Object *);
521
        DXAddModule("Parse", m_Parse, 0,
522
            2, "input", "format",
523
            21, "value", "value1", "value2", "value3", "value4", "value5", "value6", "value7", "value8", "value9", "value10", "value11", "value12", "value13", "value14", "value15", "value16", "value17", "value18", "value19", "value20");
524
    }
525
    {
526
        extern Error m_Partition(Object *, Object *);
527
        DXAddModule("Partition", m_Partition, 0,
528
            3, "input", "n", "size[visible:0]",
529
            1, "partitioned");
530
    }
531
    {
532
        extern Error m_Pick(Object *, Object *);
533
        DXAddModule("Pick", m_Pick, 0,
534
            9, "pickname[visible:2]", "imagename[visible:2]", "locations[visible:0]", "reexecute[visible:2]", "first", "persistent[visible:0]", "interpolate[visible:0]", "object[visible:0]", "camera[visible:0]",
535
            1, "picked");
536
    }
537
    {
538
        extern Error m_Pie(Object *, Object *);
539
        DXAddModule("Pie", m_Pie, 0,
540
            17, "percents", "percentflag", "radius", "radiusscale[visible:0]", "radiusmin[visible:0]", "radiusmax[visible:0]", "radiusratio[visible:0]", "height", "heightscale[visible:0]", "heightmin[visible:0]", "heightmax[visible:0]", "heightratio[visible:0]", "quality", "colors[visible:0]", "labels", "labelformat[visible:0]", "showpercents[visible:0]",
541
            5, "wedges", "edges", "labels", "percents", "colors");
542
    }
543
    {
544
        extern Error m_Plot(Object *, Object *);
545
        DXAddModule("Plot", m_Plot, 0,
546
            26, "input", "labels", "ticks", "corners", "adjust[visible:0]", "frame[visible:0]", "type[visible:0]", "grid[visible:0]", "aspect", "colors[visible:0]", "annotation[visible:0]", "labelscale[visible:0]", "font[visible:0]", "input2[visible:0]", "label2[visible:0]", "ticks2[visible:0]", "corners2[visible:0]", "type2[visible:0]", "xticklocations[visible:0]", "y1ticklocations[visible:0]", "y2ticklocations[visible:0]", "xticklabels[visible:0]", "y1ticklabels[visible:0]", "y2ticklabels[visible:0]", "usefixedfontsize[visible:0]", "fixedfontsize[visible:0]",
547
            1, "plot");
548
    }
549
    {
550
        extern Error m_Post(Object *, Object *);
551
        DXAddModule("Post", m_Post, 0,
552
            2, "input", "dependency",
553
            1, "output");
554
    }
555
    {
556
        extern Error m_Print(Object *, Object *);
557
        DXAddModule("Print", m_Print, 
558
            MODULE_SIDE_EFFECT,
559
            3, "object", "options", "component",
560
            0);
561
    }
562
    {
563
        extern Error m_QuantizeImage(Object *, Object *);
564
        DXAddModule("QuantizeImage", m_QuantizeImage, 0,
565
            2, "images", "nColors",
566
            1, "images");
567
    }
568
    {
569
        extern Error m_ReadImage(Object *, Object *);
570
        DXAddModule("ReadImage", m_ReadImage, 0,
571
            9, "name", "format", "start[visible:0]", "end[visible:0]", "delta[visible:0]", "width[visible:0]", "height[visible:0]", "delayed[visible:0]", "colortype[visible:0]",
572
            1, "image");
573
    }
574
    {
575
        extern Error m_ReadImageWindow(Object *, Object *);
576
        DXAddModule("ReadImageWindow", m_ReadImageWindow, 
577
            MODULE_PIN,
578
            1, "where",
579
            1, "image");
580
    }
581
    {
582
        extern Error m_Reduce(Object *, Object *);
583
        DXAddModule("Reduce", m_Reduce, 0,
584
            2, "input", "factor",
585
            1, "reduced");
586
    }
587
    {
588
        extern Error m_Refine(Object *, Object *);
589
        DXAddModule("Refine", m_Refine, 0,
590
            2, "input", "level",
591
            1, "refined");
592
    }
593
    {
594
        extern Error m_Regrid(Object *, Object *);
595
        DXAddModule("Regrid", m_Regrid, 0,
596
            6, "input", "grid", "nearest", "radius", "exponent", "missing",
597
            1, "output");
598
    }
599
    {
600
        extern Error m_Remove(Object *, Object *);
601
        DXAddModule("Remove", m_Remove, 0,
602
            2, "input", "name",
603
            1, "output");
604
    }
605
    {
606
        extern Error m_Rename(Object *, Object *);
607
        DXAddModule("Rename", m_Rename, 0,
608
            3, "input", "oldname", "newname",
609
            1, "output");
610
    }
611
    {
612
        extern Error m_Render(Object *, Object *);
613
        DXAddModule("Render", m_Render, 0,
614
            3, "object", "camera", "format[visible:0]",
615
            1, "image");
616
    }
617
    {
618
        extern Error m_Reorient(Object *, Object *);
619
        DXAddModule("Reorient", m_Reorient, 0,
620
            2, "image", "how",
621
            1, "image");
622
    }
623
    {
624
        extern Error m_Replace(Object *, Object *);
625
        DXAddModule("Replace", m_Replace, 0,
626
            4, "srcfield", "dstfield", "srcname", "dstname",
627
            1, "out");
628
    }
629
    {
630
        extern Error m_Ribbon(Object *, Object *);
631
        DXAddModule("Ribbon", m_Ribbon, 0,
632
            2, "line", "width",
633
            1, "ribbon");
634
    }
635
    {
636
        extern Error m_Rotate(Object *, Object *);
637
        DXAddModule("Rotate", m_Rotate, 0,
638
            45, "input", "axis", "rotation", "axis", "rotation", "axis1", "rotation1", "axis2", "rotation2", "axis3", "rotation3", "axis4", "rotation4", "axis5", "rotation5", "axis6", "rotation6", "axis7", "rotation7", "axis8", "rotation8", "axis9", "rotation9", "axis10", "rotation10", "axis11", "rotation11", "axis12", "rotation12", "axis13", "rotation13", "axis14", "rotation14", "axis15", "rotation15", "axis16", "rotation16", "axis17", "rotation17", "axis18", "rotation18", "axis19", "rotation19", "axis20", "rotation20",
639
            1, "output");
640
    }
641
    {
642
        extern Error m_Route(Object *, Object *);
643
        DXAddModule("Route", m_Route, 0,
644
            2, "selector", "input",
645
            21, "output", "output1", "output2", "output3", "output4", "output5", "output6", "output7", "output8", "output9", "output10", "output11", "output12", "output13", "output14", "output15", "output16", "output17", "output18", "output19", "output20");
646
    }
647
    {
648
        extern Error m_RubberSheet(Object *, Object *);
649
        DXAddModule("RubberSheet", m_RubberSheet, 0,
650
            4, "data", "scale", "min[visible:0]", "max[visible:0]",
651
            1, "graph");
652
    }
653
    {
654
        extern Error m_Sample(Object *, Object *);
655
        DXAddModule("Sample", m_Sample, 0,
656
            2, "manifold", "density",
657
            1, "samples");
658
    }
659
    {
660
        extern Error m_Scale(Object *, Object *);
661
        DXAddModule("Scale", m_Scale, 0,
662
            2, "input", "scaling",
663
            1, "output");
664
    }
665
    {
666
        extern Error m_ScaleScreen(Object *, Object *);
667
        DXAddModule("ScaleScreen", m_ScaleScreen, 0,
668
            4, "object", "scalefactor", "finalres", "currentcamera",
669
            2, "output", "newcamera");
670
    }
671
    {
672
        extern Error m_Select(Object *, Object *);
673
        DXAddModule("Select", m_Select, 0,
674
            3, "input", "which", "except[visible:0]",
675
            1, "object");
676
    }
677
    {
678
        extern Error m_Set(Object *, Object *);
679
        DXAddModule("Set", m_Set, 0,
680
            3, "object", "link", "key[visible:2]",
681
            0);
682
    }
683
    {
684
        extern Error m_SetGlobal(Object *, Object *);
685
        DXAddModule("SetGlobal", m_SetGlobal, 0,
686
            3, "object", "link", "key[visible:2]",
687
            0);
688
    }
689
    {
690
        extern Error m_SetLocal(Object *, Object *);
691
        DXAddModule("SetLocal", m_SetLocal, 0,
692
            3, "object", "link", "key[visible:2]",
693
            0);
694
    }
695
    {
696
        extern Error m_Shade(Object *, Object *);
697
        DXAddModule("Shade", m_Shade, 0,
698
            8, "input", "shade", "how", "specular[visible:0]", "shininess[visible:0]", "diffuse[visible:0]", "ambient[visible:0]", "reversefront[visible:0]",
699
            1, "output");
700
    }
701
    {
702
        extern Error m_ShowBoundary(Object *, Object *);
703
        DXAddModule("ShowBoundary", m_ShowBoundary, 0,
704
            2, "input", "validity",
705
            1, "output");
706
    }
707
    {
708
        extern Error m_ShowBox(Object *, Object *);
709
        DXAddModule("ShowBox", m_ShowBox, 0,
710
            1, "input",
711
            2, "box", "center");
712
    }
713
    {
714
        extern Error m_ShowConnections(Object *, Object *);
715
        DXAddModule("ShowConnections", m_ShowConnections, 0,
716
            1, "input",
717
            1, "output");
718
    }
719
    {
720
        extern Error m_ShowPositions(Object *, Object *);
721
        DXAddModule("ShowPositions", m_ShowPositions, 0,
722
            2, "input", "every[visible:0]",
723
            1, "output");
724
    }
725
    {
726
        extern Error m_SimplifySurface(Object *, Object *);
727
        DXAddModule("SimplifySurface", m_SimplifySurface, 0,
728
            8, "original_surface", "max_error", "max_data_error", "volume[visible:0]", "boundary[visible:0]", "length[visible:0]", "data[visible:0]", "stats[visible:0]",
729
            1, "simplified");
730
    }
731
    {
732
        extern Error m_Slab(Object *, Object *);
733
        DXAddModule("Slab", m_Slab, 0,
734
            4, "input", "dimension", "position", "thickness",
735
            1, "output");
736
    }
737
    {
738
        extern Error m_Slice(Object *, Object *);
739
        DXAddModule("Slice", m_Slice, 0,
740
            3, "input", "dimension", "position",
741
            1, "output");
742
    }
743
    {
744
        extern Error m_Sort(Object *, Object *);
745
        DXAddModule("Sort", m_Sort, 0,
746
            2, "field", "descending",
747
            1, "result");
748
    }
749
    {
750
        extern Error m_Stack(Object *, Object *);
751
        DXAddModule("Stack", m_Stack, 0,
752
            2, "input", "dimension",
753
            1, "output");
754
    }
755
    {
756
        extern Error m_Statistics(Object *, Object *);
757
        DXAddModule("Statistics", m_Statistics, 0,
758
            1, "data",
759
            5, "mean", "sd", "var", "min", "max");
760
    }
761
    {
762
        extern Error m_StereoPick(Object *, Object *);
763
        DXAddModule("StereoPick", m_StereoPick, 0,
764
            11, "pickname[visible:2]", "imagename[visible:2]", "locations[visible:0]", "reexecute[visible:2]", "first", "persistent[visible:0]", "interpolate[visible:0]", "object[visible:0]", "camera[visible:0]", "stereoArgs", "where",
765
            1, "picked");
766
    }
767
    {
768
        extern Error m_Streakline(Object *, Object *);
769
        DXAddModule("Streakline", m_Streakline, 0,
770
            10, "name[visible:0]", "data", "start", "time", "head", "frame", "curl", "flag", "stepscale", "hold",
771
            1, "line");
772
    }
773
    {
774
        extern Error m_Streamline(Object *, Object *);
775
        DXAddModule("Streamline", m_Streamline, 0,
776
            7, "data", "start", "time", "head", "curl", "flag", "stepscale",
777
            1, "line");
778
    }
779
    {
780
        extern Error m_SuperviseState(Object *, Object *);
781
        DXAddModule("SuperviseState", m_SuperviseState, 
782
            MODULE_ASYNC,
783
            9, "where", "defaultCamera", "resetCamera", "object", "resetObject", "size", "events", "mode", "args",
784
            4, "object", "camera", "where", "events");
785
    }
786
    {
787
        extern Error m_SuperviseWindow(Object *, Object *);
788
        DXAddModule("SuperviseWindow", m_SuperviseWindow, 
789
            MODULE_ASYNC | MODULE_PIN,
790
            11, "name", "display", "size", "offset", "parent", "depth", "visibility", "pick", "sizeFlag", "offsetFlag", "decorations",
791
            3, "where", "size", "events");
792
    }
793
    {
794
        extern Error m_Switch(Object *, Object *);
795
        DXAddModule("Switch", m_Switch, 0,
796
            22, "selector", "input", "input1", "input2", "input3", "input4", "input5", "input6", "input7", "input8", "input9", "input10", "input11", "input12", "input13", "input14", "input15", "input16", "input17", "input18", "input19", "input20",
797
            1, "output");
798
    }
799
    {
800
        extern Error m_System(Object *, Object *);
801
        DXAddModule("System", m_System, 
802
            MODULE_SIDE_EFFECT,
803
            1, "string",
804
            0);
805
    }
806
    {
807
        extern Error m_Text(Object *, Object *);
808
        DXAddModule("Text", m_Text, 0,
809
            6, "string", "position", "height", "font", "direction[visible:0]", "up[visible:0]",
810
            1, "text");
811
    }
812
    {
813
        extern Error m_Trace(Object *, Object *);
814
        DXAddModule("Trace", m_Trace, 
815
            MODULE_SIDE_EFFECT,
816
            2, "what", "how",
817
            0);
818
    }
819
    {
820
        extern Error m_Transform(Object *, Object *);
821
        DXAddModule("Transform", m_Transform, 0,
822
            2, "input", "transform",
823
            1, "output");
824
    }
825
    {
826
        extern Error m_Translate(Object *, Object *);
827
        DXAddModule("Translate", m_Translate, 0,
828
            2, "input", "translation",
829
            1, "output");
830
    }
831
    {
832
        extern Error m_Transpose(Object *, Object *);
833
        DXAddModule("Transpose", m_Transpose, 0,
834
            2, "input", "dimensions",
835
            1, "output");
836
    }
837
    {
838
        extern Error m_Tube(Object *, Object *);
839
        DXAddModule("Tube", m_Tube, 0,
840
            4, "line", "diameter", "ngon[visible:0]", "style[visible:0]",
841
            1, "tube");
842
    }
843
    {
844
        extern Error m_Unmark(Object *, Object *);
845
        DXAddModule("Unmark", m_Unmark, 0,
846
            2, "input", "name",
847
            1, "output");
848
    }
849
    {
850
        extern Error m_UpdateCamera(Object *, Object *);
851
        DXAddModule("UpdateCamera", m_UpdateCamera, 0,
852
            10, "camera", "to", "from", "width", "resolution", "aspect", "up", "perspective", "angle", "background",
853
            1, "camera");
854
    }
855
    {
856
        extern Error m_Usage(Object *, Object *);
857
        DXAddModule("Usage", m_Usage, 
858
            MODULE_SIDE_EFFECT,
859
            2, "what", "how",
860
            0);
861
    }
862
    {
863
        extern Error m_Verify(Object *, Object *);
864
        DXAddModule("Verify", m_Verify, 0,
865
            2, "input", "how",
866
            1, "output");
867
    }
868
    {
869
        extern Error m_VisualObject(Object *, Object *);
870
        DXAddModule("VisualObject", m_VisualObject, 0,
871
            2, "input", "options",
872
            1, "output");
873
    }
874
    {
875
        extern Error m_WriteImage(Object *, Object *);
876
        DXAddModule("WriteImage", m_WriteImage, 
877
            MODULE_SIDE_EFFECT,
878
            4, "image", "name", "format", "frame",
879
            0);
880
    }
881
    {
882
        extern Error m_DXLInputNamed(Object *, Object *);
883
        DXAddModule("DXLInputNamed", m_DXLInputNamed, 
884
            MODULE_ASYNC,
885
            2, "name", "default",
886
            1, "output");
887
    }
888
    {
889
        extern Error m_DXLOutput(Object *, Object *);
890
        DXAddModule("DXLOutput", m_DXLOutput, 
891
            MODULE_SIDE_EFFECT,
892
            2, "label[visible:2]", "value",
893
            0);
894
    }
895
    {
896
        extern Error m_DXLOutputNamed(Object *, Object *);
897
        DXAddModule("DXLOutputNamed", m_DXLOutputNamed, 
898
            MODULE_SIDE_EFFECT,
899
            2, "name", "value",
900
            0);
901
    }
902
    {
903
        extern Error m_Execute(Object *, Object *);
904
        DXAddModule("Execute", m_Execute, 0,
905
            1, "action",
906
            0);
907
    }
908
    {
909
        extern Error m_ManageColormapEditor(Object *, Object *);
910
        DXAddModule("ManageColormapEditor", m_ManageColormapEditor, 0,
911
            3, "name", "open", "how",
912
            0);
913
    }
914
    {
915
        extern Error m_ManageControlPanel(Object *, Object *);
916
        DXAddModule("ManageControlPanel", m_ManageControlPanel, 0,
917
            2, "name", "open",
918
            0);
919
    }
920
    {
921
        extern Error m_ManageImageWindow(Object *, Object *);
922
        DXAddModule("ManageImageWindow", m_ManageImageWindow, 0,
923
            3, "name", "open", "how",
924
            0);
925
    }
926
    {
927
        extern Error m_ManageSequencer(Object *, Object *);
928
        DXAddModule("ManageSequencer", m_ManageSequencer, 0,
929
            1, "open",
930
            0);
931
    }
932
    {
933
        extern Error m_Integer(Object *, Object *);
934
        DXAddModule("Integer", m_Integer, 
935
            MODULE_REROUTABLE | MODULE_REACH,
936
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "reserved2[visible:2]", "reserved3[visible:2]", "label[visible:0,cache:2]",
937
            1, "output");
938
    }
939
    {
940
        extern Error m_IntegerList(Object *, Object *);
941
        DXAddModule("IntegerList", m_IntegerList, 
942
            MODULE_REROUTABLE | MODULE_REACH,
943
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "reserved2[visible:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
944
            1, "output");
945
    }
946
    {
947
        extern Error m_Scalar(Object *, Object *);
948
        DXAddModule("Scalar", m_Scalar, 
949
            MODULE_REROUTABLE | MODULE_REACH,
950
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "reserved2[visible:2]", "label[visible:0,cache:2]",
951
            1, "output");
952
    }
953
    {
954
        extern Error m_ScalarList(Object *, Object *);
955
        DXAddModule("ScalarList", m_ScalarList, 
956
            MODULE_REROUTABLE | MODULE_REACH,
957
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
958
            1, "output");
959
    }
960
    {
961
        extern Error m_SetDXLInputNamed(Object *, Object *);
962
        DXAddModule("SetDXLInputNamed", m_SetDXLInputNamed, 0,
963
            2, "name", "object",
964
            0);
965
    }
966
    {
967
        extern Error m_Vector(Object *, Object *);
968
        DXAddModule("Vector", m_Vector, 
969
            MODULE_REROUTABLE | MODULE_REACH,
970
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "reserved2[visible:2]", "label[visible:0,cache:2]",
971
            1, "output");
972
    }
973
    {
974
        extern Error m_VectorList(Object *, Object *);
975
        DXAddModule("VectorList", m_VectorList, 
976
            MODULE_REROUTABLE | MODULE_REACH,
977
            11, "id[visible:2]", "data[cache:2]", "value[visible:2,reroute:0]", "refresh[visible:0,cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "delta[visible:0,cache:2]", "method[visible:0,cache:2]", "decimals[visible:0,cache:2]", "nitems[visible:0,cache:2]", "label[visible:0,cache:2]",
978
            1, "output");
979
    }
980
    {
981
        extern Error m_Selector(Object *, Object *);
982
        DXAddModule("Selector", m_Selector, 
983
            MODULE_REROUTABLE | MODULE_REACH,
984
            7, "id[visible:2]", "currentstring[visible:2,reroute:1]", "currentvalue[visible:2,reroute:0]", "stringdata[cache:2]", "valuelist[visible:0,cache:2]", "cull[visible:0,cache:2]", "label[visible:0,cache:2]",
985
            2, "value", "name");
986
    }
987
    {
988
        extern Error m_SelectorList(Object *, Object *);
989
        DXAddModule("SelectorList", m_SelectorList, 
990
            MODULE_REROUTABLE | MODULE_REACH,
991
            7, "id[visible:2]", "currentstring[visible:2,reroute:1]", "currentvalue[visible:2,reroute:0]", "stringdata[cache:2]", "valuelist[visible:0,cache:2]", "cull[visible:0,cache:2]", "label[visible:0,cache:2]",
992
            2, "value", "name");
993
    }
994
    {
995
        extern Error m_Colormap(Object *, Object *);
996
        DXAddModule("Colormap", m_Colormap, 
997
            MODULE_REROUTABLE | MODULE_REACH,
998
            19, "huemap[visible:2]", "satmap[visible:2]", "valmap[visible:2]", "opmap[visible:2]", "id[visible:2]", "data[cache:2]", "min[visible:0,cache:2]", "max[visible:0,cache:2]", "nbins[visible:0,cache:2]", "colormap[cache:2]", "opacity[cache:2]", "minmax[visible:2]", "defaulthue[visible:2]", "defaultsat[visible:2]", "defaultval[visible:2]", "defaultop[visible:2]", "defaultmin[visible:2]", "defaultmax[visible:2]", "title[visible:0,cache:2]",
999
            2, "rgb", "opacity");
1000
    }
1001
    {
1002
        extern Error m_Sequencer(Object *, Object *);
1003
        DXAddModule("Sequencer", m_Sequencer, 
1004
            MODULE_REROUTABLE | MODULE_REACH,
1005
            7, "id[visible:2]", "data[visible:2]", "frame[visible:2,reroute:0]", "min[cache:2]", "max[cache:2]", "delta[visible:0,cache:2]", "attr[visible:2]",
1006
            1, "frame");
1007
    }
1008
    {
1009
        extern Error m_Toggle(Object *, Object *);
1010
        DXAddModule("Toggle", m_Toggle, 
1011
            MODULE_REROUTABLE | MODULE_REACH,
1012
            6, "id[visible:2]", "currentval[visible:2,reroute:0]", "isset[visible:2]", "setvalue[cache:2]", "unsetvalue[cache:2]", "label[visible:0,cache:2]",
1013
            1, "output");
1014
    }
1015
    {
1016
        extern Error m_SocketConnection(Object *, Object *);
1017
        DXAddModule("SocketConnection", m_SocketConnection, 
1018
            MODULE_ASYNC | MODULE_PIN,
1019
            1, "port",
1020
            1, "obj");
1021
    }
1022
    {
1023
        extern Error m_ImportGfs3D(Object *, Object *);
1024
        DXAddModule("ImportGfs3D", m_ImportGfs3D, 0,
1025
            1, "name",
1026
            1, "result");
1027
    }
1028
}
(-)gerris-0.6.0/src/fluid.c (-12 / +3 lines)
Lines 1921-1940 static void gfs_variable_clone (GtsObjec Link Here
1921
  GfsVariable * c = GFS_VARIABLE1 (clone);
1921
  GfsVariable * c = GFS_VARIABLE1 (clone);
1922
  GfsVariable * v = GFS_VARIABLE1 (object);
1922
  GfsVariable * v = GFS_VARIABLE1 (object);
1923
1923
1924
  (* GTS_OBJECT_CLASS (gfs_variable_class ())->parent_class->clone) 
1924
  (* GTS_OBJECT_CLASS (gfs_variable_class ())->parent_class->clone) (clone, object);
1925
    (clone, object);
1926
  if (v->name)
1925
  if (v->name)
1927
    c->name = g_strdup (v->name);
1926
    c->name = g_strdup (v->name);
1928
  if (v->sources) {
1927
  c->sources = NULL;
1929
    GSList * i = GTS_SLIST_CONTAINER (v->sources)->items;
1928
  c->surface_bc = NULL;
1930
1931
    c->sources = 
1932
      gts_container_new (GTS_CONTAINER_CLASS (gts_slist_container_class ()));
1933
    while (i) {
1934
      gts_container_add (c->sources, GTS_CONTAINEE (i->data));
1935
      i = i->next;
1936
    }
1937
  }
1938
}
1929
}
1939
1930
1940
static void gfs_variable_class_init (GfsVariableClass * klass)
1931
static void gfs_variable_class_init (GfsVariableClass * klass)
(-)gerris-0.6.0/src/init.c (-1 / +1 lines)
Lines 280-285 void gfs_init (int * argc, char *** argv Link Here
280
      gfs_output_simulation_class ();
280
      gfs_output_simulation_class ();
281
      gfs_output_boundaries_class ();
281
      gfs_output_boundaries_class ();
282
      gfs_output_energy_class ();
282
      gfs_output_energy_class ();
283
      gfs_output_particle_class ();
283
284
284
      gfs_output_scalar_class ();
285
      gfs_output_scalar_class ();
285
        gfs_output_scalar_norm_class ();
286
        gfs_output_scalar_norm_class ();
Lines 289-295 void gfs_init (int * argc, char *** argv Link Here
289
          gfs_output_correlation_class ();
290
          gfs_output_correlation_class ();
290
	gfs_output_squares_class ();
291
	gfs_output_squares_class ();
291
	gfs_output_streamline_class ();
292
	gfs_output_streamline_class ();
292
	gfs_output_streakline_class ();
293
        gfs_output_ppm_class ();
293
        gfs_output_ppm_class ();
294
294
295
  /* If modules are not supported, calls modules init functions */
295
  /* If modules are not supported, calls modules init functions */
(-)gerris-0.6.0/src/ocean.c (-2 / +13 lines)
Lines 27-33 Link Here
27
27
28
/* GfsOcean: Object */
28
/* GfsOcean: Object */
29
29
30
static void gfs_ocean_destroy (GtsObject * object)
30
static void ocean_destroy (GtsObject * object)
31
{
31
{
32
  guint i;
32
  guint i;
33
  GPtrArray * layer = GFS_OCEAN (object)->layer;
33
  GPtrArray * layer = GFS_OCEAN (object)->layer;
Lines 43-48 static void gfs_ocean_destroy (GtsObject Link Here
43
  (* GTS_OBJECT_CLASS (gfs_ocean_class ())->parent_class->destroy) (object);  
43
  (* GTS_OBJECT_CLASS (gfs_ocean_class ())->parent_class->destroy) (object);  
44
}
44
}
45
45
46
static void ocean_read (GtsObject ** object, GtsFile * fp)
47
{
48
  (* GTS_OBJECT_CLASS (gfs_ocean_class ())->parent_class->read) (object, fp);
49
  if (fp->type == GTS_ERROR)
50
    return;
51
52
  gfs_domain_add_variable (GFS_DOMAIN (*object), "PS");
53
  gfs_domain_add_variable (GFS_DOMAIN (*object), "Div");
54
}
55
46
static void new_layer (GfsOcean * ocean)
56
static void new_layer (GfsOcean * ocean)
47
{
57
{
48
  GfsDomain * domain = GFS_DOMAIN (ocean);
58
  GfsDomain * domain = GFS_DOMAIN (ocean);
Lines 450-456 static void ocean_run (GfsSimulation * s Link Here
450
460
451
static void gfs_ocean_class_init (GfsSimulationClass * klass)
461
static void gfs_ocean_class_init (GfsSimulationClass * klass)
452
{
462
{
453
  GTS_OBJECT_CLASS (klass)->destroy = gfs_ocean_destroy;
463
  GTS_OBJECT_CLASS (klass)->destroy = ocean_destroy;
464
  GTS_OBJECT_CLASS (klass)->read = ocean_read;
454
  GFS_DOMAIN_CLASS (klass)->post_read = ocean_post_read;
465
  GFS_DOMAIN_CLASS (klass)->post_read = ocean_post_read;
455
  klass->run = ocean_run;
466
  klass->run = ocean_run;
456
}
467
}
(-)gerris-0.6.0/src/output.c (-73 / +35 lines)
Lines 2213-2238 GfsOutputClass * gfs_output_streamline_c Link Here
2213
  return klass;
2213
  return klass;
2214
}
2214
}
2215
2215
2216
/* GfsOutputStreakline: Object */
2216
/* GfsOutputParticle: Object */
2217
2217
2218
static void gfs_output_streakline_destroy (GtsObject * o)
2218
static void gfs_output_particle_destroy (GtsObject * o)
2219
{
2219
{
2220
  GfsOutputStreakline * l = GFS_OUTPUT_STREAKLINE (o);
2220
  GfsOutputParticle * l = GFS_OUTPUT_PARTICLE (o);
2221
2221
2222
  gts_object_destroy (GTS_OBJECT (l->p));
2222
  gts_object_destroy (GTS_OBJECT (l->p));
2223
  g_slist_foreach (l->streak, (GFunc) gts_object_destroy, NULL);
2224
  g_slist_free (l->streak);
2225
  
2223
  
2226
  (* GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class->destroy) 
2224
  (* GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class->destroy) (o);
2227
    (o);
2228
}
2225
}
2229
2226
2230
static void gfs_output_streakline_read (GtsObject ** o, GtsFile * fp)
2227
static void gfs_output_particle_read (GtsObject ** o, GtsFile * fp)
2231
{
2228
{
2232
  GfsOutputStreakline * l = GFS_OUTPUT_STREAKLINE (*o);
2229
  GfsOutputParticle * l = GFS_OUTPUT_PARTICLE (*o);
2233
2230
2234
  if (GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class->read)
2231
  if (GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class->read)
2235
    (* GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class->read) 
2232
    (* GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class->read) 
2236
      (o, fp);
2233
      (o, fp);
2237
  if (fp->type == GTS_ERROR)
2234
  if (fp->type == GTS_ERROR)
2238
    return;
2235
    return;
Lines 2257-2355 static void gfs_output_streakline_read ( Link Here
2257
  }
2254
  }
2258
  l->p->z = atof (fp->token->str);
2255
  l->p->z = atof (fp->token->str);
2259
  gts_file_next_token (fp);
2256
  gts_file_next_token (fp);
2260
2261
  if (fp->type != GTS_INT && fp->type != GTS_FLOAT) {
2262
    gts_file_error (fp, "expecting a number (ds)");
2263
    return;
2264
  }
2265
  l->ds = atof (fp->token->str);
2266
  gts_file_next_token (fp);
2267
2268
  l->streak = g_slist_prepend (l->streak, 
2269
			       gts_point_new (gts_point_class (), 
2270
					      l->p->x, l->p->y, l->p->z));
2271
}
2257
}
2272
2258
2273
static void gfs_output_streakline_write (GtsObject * o, FILE * fp)
2259
static void gfs_output_particle_write (GtsObject * o, FILE * fp)
2274
{
2260
{
2275
  GfsOutputStreakline * l = GFS_OUTPUT_STREAKLINE (o);
2261
  GfsOutputParticle * l = GFS_OUTPUT_PARTICLE (o);
2276
2262
2277
  if (GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class->write)
2263
  if (GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class->write)
2278
    (* GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class->write) 
2264
    (* GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class->write) (o, fp);
2279
      (o, fp);
2265
  fprintf (fp, " %g %g %g", l->p->x, l->p->y, l->p->z);
2280
  fprintf (fp, " %g %g %g %g", l->p->x, l->p->y, l->p->z, l->ds);
2281
}
2282
2283
static void advect_point (GtsPoint * p, GfsSimulation * sim)
2284
{
2285
  gfs_domain_advect_point (GFS_DOMAIN (sim), p, sim->advection_params.dt);
2286
}
2266
}
2287
2267
2288
static gboolean gfs_output_streakline_event (GfsEvent * event, 
2268
static gboolean gfs_output_particle_event (GfsEvent * event, 
2289
					    GfsSimulation * sim)
2269
					   GfsSimulation * sim)
2290
{
2270
{
2291
  GfsOutputStreakline * l = GFS_OUTPUT_STREAKLINE (event);
2271
  GfsOutputParticle * l = GFS_OUTPUT_PARTICLE (event);
2292
  gboolean ret = FALSE;
2272
  gboolean ret = FALSE;
2293
2273
2294
  if ((* GFS_EVENT_CLASS (GTS_OBJECT_CLASS (gfs_output_streakline_class ())->parent_class)->event) (event,sim)) {
2274
  if ((* GFS_EVENT_CLASS (GTS_OBJECT_CLASS (gfs_output_particle_class ())->parent_class)->event)
2275
      (event,sim)) {
2295
    FILE * fp = GFS_OUTPUT (event)->file->fp;
2276
    FILE * fp = GFS_OUTPUT (event)->file->fp;
2296
    GSList * i = l->streak;
2297
2277
2298
    fprintf (fp, "%s %u\n", 
2278
    fprintf (fp, "%g %g %g %g\n", sim->time.t, l->p->x, l->p->y, l->p->z);
2299
	     GTS_OBJECT (event)->klass->info.name, 
2279
    ret = TRUE;
2300
	     g_slist_length (i));
2301
    while (i) {
2302
      fprintf (fp, "%g %g %g\n", 
2303
	       GTS_POINT (i->data)->x, 
2304
	       GTS_POINT (i->data)->y, 
2305
	       GTS_POINT (i->data)->z);
2306
      i = i->next;
2307
    }
2308
    l->started = ret = TRUE;
2309
  }
2310
  if (l->started) {
2311
    if (gts_point_distance2 (l->p, l->streak->data) >= l->ds*l->ds)
2312
      l->streak = g_slist_prepend (l->streak, 
2313
				   gts_point_new (gts_point_class (), 
2314
						  l->p->x, l->p->y, l->p->z));
2315
    g_slist_foreach (l->streak, (GFunc) advect_point, sim);
2316
  }
2280
  }
2281
  gfs_domain_advect_point (GFS_DOMAIN (sim), l->p, sim->advection_params.dt);
2317
  return ret;
2282
  return ret;
2318
}
2283
}
2319
2284
2320
static void gfs_output_streakline_class_init (GfsOutputClass * klass)
2285
static void gfs_output_particle_class_init (GfsOutputClass * klass)
2321
{
2286
{
2322
  GFS_EVENT_CLASS (klass)->event = gfs_output_streakline_event;
2287
  GFS_EVENT_CLASS (klass)->event = gfs_output_particle_event;
2323
  GTS_OBJECT_CLASS (klass)->read = gfs_output_streakline_read;
2288
  GTS_OBJECT_CLASS (klass)->read = gfs_output_particle_read;
2324
  GTS_OBJECT_CLASS (klass)->write = gfs_output_streakline_write;
2289
  GTS_OBJECT_CLASS (klass)->write = gfs_output_particle_write;
2325
  GTS_OBJECT_CLASS (klass)->destroy = gfs_output_streakline_destroy;
2290
  GTS_OBJECT_CLASS (klass)->destroy = gfs_output_particle_destroy;
2326
}
2291
}
2327
2292
2328
static void gfs_output_streakline_init (GfsOutputStreakline * l)
2293
static void gfs_output_particle_init (GfsOutputParticle * l)
2329
{
2294
{
2330
  l->started = FALSE;
2331
  l->ds = G_MAXDOUBLE;
2332
  l->p = gts_point_new (gts_point_class (), 0., 0., 0.);
2295
  l->p = gts_point_new (gts_point_class (), 0., 0., 0.);
2333
  l->streak = NULL;
2334
}
2296
}
2335
2297
2336
GfsOutputClass * gfs_output_streakline_class (void)
2298
GfsOutputClass * gfs_output_particle_class (void)
2337
{
2299
{
2338
  static GfsOutputClass * klass = NULL;
2300
  static GfsOutputClass * klass = NULL;
2339
2301
2340
  if (klass == NULL) {
2302
  if (klass == NULL) {
2341
    GtsObjectClassInfo gfs_output_streakline_info = {
2303
    GtsObjectClassInfo gfs_output_particle_info = {
2342
      "GfsOutputStreakline",
2304
      "GfsOutputParticle",
2343
      sizeof (GfsOutputStreakline),
2305
      sizeof (GfsOutputParticle),
2344
      sizeof (GfsOutputClass),
2306
      sizeof (GfsOutputClass),
2345
      (GtsObjectClassInitFunc) gfs_output_streakline_class_init,
2307
      (GtsObjectClassInitFunc) gfs_output_particle_class_init,
2346
      (GtsObjectInitFunc) gfs_output_streakline_init,
2308
      (GtsObjectInitFunc) gfs_output_particle_init,
2347
      (GtsArgSetFunc) NULL,
2309
      (GtsArgSetFunc) NULL,
2348
      (GtsArgGetFunc) NULL
2310
      (GtsArgGetFunc) NULL
2349
    };
2311
    };
2350
    klass = gts_object_class_new (GTS_OBJECT_CLASS 
2312
    klass = gts_object_class_new (GTS_OBJECT_CLASS 
2351
				  (gfs_output_scalar_class ()),
2313
				  (gfs_output_class ()),
2352
				  &gfs_output_streakline_info);
2314
				  &gfs_output_particle_info);
2353
  }
2315
  }
2354
2316
2355
  return klass;
2317
  return klass;
(-)gerris-0.6.0/src/output.h (-14 / +10 lines)
Lines 244-272 struct _GfsOutputStreamline { Link Here
244
244
245
GfsOutputClass * gfs_output_streamline_class  (void);
245
GfsOutputClass * gfs_output_streamline_class  (void);
246
246
247
/* GfsOutputStreakline: Header */
247
/* GfsOutputParticle: Header */
248
248
249
typedef struct _GfsOutputStreakline         GfsOutputStreakline;
249
typedef struct _GfsOutputParticle         GfsOutputParticle;
250
250
251
struct _GfsOutputStreakline {
251
struct _GfsOutputParticle {
252
  /*< private >*/
252
  /*< private >*/
253
  GfsOutputScalar parent;
253
  GfsOutput parent;
254
255
  gboolean started;
256
  gdouble ds;
257
254
258
  /*< public >*/
255
  /*< public >*/
259
  GtsPoint * p;
256
  GtsPoint * p;
260
  GSList * streak;
261
};
257
};
262
258
263
#define GFS_OUTPUT_STREAKLINE(obj)         GTS_OBJECT_CAST (obj,\
259
#define GFS_OUTPUT_PARTICLE(obj)         GTS_OBJECT_CAST (obj,\
264
					       GfsOutputStreakline,\
260
					       GfsOutputParticle,\
265
					       gfs_output_streakline_class ())
261
					       gfs_output_particle_class ())
266
#define GFS_IS_OUTPUT_STREAKLINE(obj)     (gts_object_is_from_class (obj,\
262
#define GFS_IS_OUTPUT_PARTICLE(obj)     (gts_object_is_from_class (obj,\
267
					       gfs_output_streakline_class ()))
263
					       gfs_output_particle_class ()))
268
264
269
GfsOutputClass * gfs_output_streakline_class  (void);
265
GfsOutputClass * gfs_output_particle_class  (void);
270
266
271
/* GfsOutputPPM: Header */
267
/* GfsOutputPPM: Header */
272
268
(-)gerris-0.6.0/src/timestep.c (-2 / +10 lines)
Lines 731-736 void gfs_tracer_advection_diffusion (Gfs Link Here
731
731
732
/* GfsSurfaceGenericBc: Object */
732
/* GfsSurfaceGenericBc: Object */
733
733
734
static void gfs_surface_generic_bc_destroy (GtsObject * o)
735
{
736
  if (GFS_SURFACE_GENERIC_BC (o)->v)
737
    GFS_SURFACE_GENERIC_BC (o)->v->surface_bc = NULL;
738
739
  (* GTS_OBJECT_CLASS (gfs_surface_generic_bc_class ())->parent_class->destroy) (o);
740
}
741
734
static void gfs_surface_generic_bc_read (GtsObject ** o, GtsFile * fp)
742
static void gfs_surface_generic_bc_read (GtsObject ** o, GtsFile * fp)
735
{
743
{
736
  GfsDomain * domain = GFS_DOMAIN (gfs_object_simulation (*o));
744
  GfsDomain * domain = GFS_DOMAIN (gfs_object_simulation (*o));
Lines 776-788 static void gfs_surface_generic_bc_read Link Here
776
static void gfs_surface_generic_bc_write (GtsObject * o, FILE * fp)
784
static void gfs_surface_generic_bc_write (GtsObject * o, FILE * fp)
777
{
785
{
778
  if (GTS_OBJECT_CLASS (gfs_surface_generic_bc_class ())->parent_class->write)
786
  if (GTS_OBJECT_CLASS (gfs_surface_generic_bc_class ())->parent_class->write)
779
    (* GTS_OBJECT_CLASS (gfs_surface_generic_bc_class ())->parent_class->write) 
787
    (* GTS_OBJECT_CLASS (gfs_surface_generic_bc_class ())->parent_class->write) (o, fp);
780
      (o, fp);
781
  fprintf (fp, "%s %s", o->klass->info.name, GFS_SURFACE_GENERIC_BC (o)->v->name);
788
  fprintf (fp, "%s %s", o->klass->info.name, GFS_SURFACE_GENERIC_BC (o)->v->name);
782
}
789
}
783
790
784
static void gfs_surface_generic_bc_class_init (GfsSurfaceGenericBcClass * klass)
791
static void gfs_surface_generic_bc_class_init (GfsSurfaceGenericBcClass * klass)
785
{
792
{
793
  GTS_OBJECT_CLASS (klass)->destroy = gfs_surface_generic_bc_destroy;
786
  GTS_OBJECT_CLASS (klass)->read = gfs_surface_generic_bc_read;
794
  GTS_OBJECT_CLASS (klass)->read = gfs_surface_generic_bc_read;
787
  GTS_OBJECT_CLASS (klass)->write = gfs_surface_generic_bc_write;
795
  GTS_OBJECT_CLASS (klass)->write = gfs_surface_generic_bc_write;
788
}
796
}
(-)gerris-0.6.0/test/ocean/geo.sh (-2 / +2 lines)
Lines 4-10 param=`mktemp /tmp/geo.XXXXXX` Link Here
4
error=`mktemp /tmp/geo.XXXXXX`
4
error=`mktemp /tmp/geo.XXXXXX`
5
5
6
cat <<EOF > $param
6
cat <<EOF > $param
7
1 0 GfsOcean GfsBox GfsGEdge { variables = PS,Div } {
7
1 0 GfsOcean GfsBox GfsGEdge {} {
8
 # dt = 1000 s
8
 # dt = 1000 s
9
 Time { iend = 1580 dtmax = 0.10285 }
9
 Time { iend = 1580 dtmax = 0.10285 }
10
 Refine 6
10
 Refine 6
Lines 50-56 END{ Link Here
50
fi
50
fi
51
51
52
cat <<EOF > $param
52
cat <<EOF > $param
53
1 0 GfsOcean GfsBox GfsGEdge { variables = PS,Div } {
53
1 0 GfsOcean GfsBox GfsGEdge {} {
54
 # dt = 1000 s
54
 # dt = 1000 s
55
 Time { iend = 1580 dtmax = 0.10285 }
55
 Time { iend = 1580 dtmax = 0.10285 }
56
 Refine 6
56
 Refine 6
(-)gerris-0.6.0/test/ocean/waves.sh (-1 / +1 lines)
Lines 8-14 wave=`mktemp /tmp/wave.XXXXXX` Link Here
8
res=`mktemp /tmp/wave.XXXXXX`
8
res=`mktemp /tmp/wave.XXXXXX`
9
for l in `seq 5 1 7`; do
9
for l in `seq 5 1 7`; do
10
  cat <<EOF > $wave
10
  cat <<EOF > $wave
11
1 0 GfsOcean GfsBox GfsGEdge { variables = Div,PS } {
11
1 0 GfsOcean GfsBox GfsGEdge {} {
12
 Time { end = 37.80501984 dtmax = 0.1 }
12
 Time { end = 37.80501984 dtmax = 0.1 }
13
 PhysicalParams { g = 5.87060327757e-3 }
13
 PhysicalParams { g = 5.87060327757e-3 }
14
 Init {} {
14
 Init {} {

Return to bug 102323