ParFlow_server_manager_modules_data.h
Go to the documentation of this file.
1 // Loadable modules
2 //
3 // Generated by /builds/gitlab-kitware-sciviz-ci/build/bin/vtkProcessXML-pv6.0
4 //
5 #ifndef ParFlow_server_manager_modules_data_h
6 #define ParFlow_server_manager_modules_data_h
7 
8 #include <cstring>
9 #include <cassert>
10 #include <algorithm>
11 
12 
13 // From file /builds/gitlab-kitware-sciviz-ci/Plugins/ParFlow/IO/ParFlowIO.xml
15 "<ServerManagerConfiguration>\n"
16 "\n"
17 " <ProxyGroup name=\"internal_sources\">\n"
18 "\n"
19 " <!-- Single-file reader -->\n"
20 " <SourceProxy\n"
21 " name=\"ParFlowBinaryReader\"\n"
22 " class=\"vtkParFlowReader\"\n"
23 " label=\"ParFlow Reader\"\n"
24 " >\n"
25 " <Documentation\n"
26 " long_help=\"Read binary ParFlow simulation input and output files.\"\n"
27 " short_help=\"Read ParFlow simulation data\"\n"
28 " >\n"
29 " </Documentation>\n"
30 " <StringVectorProperty\n"
31 " name=\"FileName\"\n"
32 " animateable=\"1\"\n"
33 " command=\"SetFileName\"\n"
34 " number_of_elements=\"1\"\n"
35 " >\n"
36 " <FileListDomain name=\"files\"/>\n"
37 " </StringVectorProperty>\n"
38 " <IntVectorProperty\n"
39 " name=\"IsCLMFile\"\n"
40 " label=\"Does file hold CLM data?\"\n"
41 " animateable=\"1\"\n"
42 " command=\"SetIsCLMFile\"\n"
43 " default_values=\"-1\"\n"
44 " number_of_elements=\"1\"\n"
45 " >\n"
46 " <EnumerationDomain name=\"enum\">\n"
47 " <Entry text=\"Infer from filename\" value=\"-1\"/>\n"
48 " <Entry text=\"No\" value=\"0\"/>\n"
49 " <Entry text=\"Yes\" value=\"1\"/>\n"
50 " </EnumerationDomain>\n"
51 " </IntVectorProperty>\n"
52 " <IntVectorProperty\n"
53 " name=\"CLMIrrType\"\n"
54 " label=\"CLM irrigation type\"\n"
55 " animateable=\"1\"\n"
56 " command=\"SetCLMIrrType\"\n"
57 " default_values=\"0\"\n"
58 " number_of_elements=\"1\"\n"
59 " >\n"
60 " <EnumerationDomain name=\"enum\">\n"
61 " <Entry text=\"None\" value=\"0\"/>\n"
62 " <Entry text=\"Spray\" value=\"1\"/>\n"
63 " <Entry text=\"Drip\" value=\"2\"/>\n"
64 " <Entry text=\"Instant\" value=\"3\"/>\n"
65 " </EnumerationDomain>\n"
66 " </IntVectorProperty>\n"
67 " <Hints>\n"
68 " <ReaderFactory\n"
69 " extensions=\"pfb\"\n"
70 " file_description=\"ParFlow simulation data\"\n"
71 " />\n"
72 " </Hints>\n"
73 " </SourceProxy>\n"
74 "\n"
75 " </ProxyGroup>\n"
76 " <ProxyGroup name=\"sources\">\n"
77 "\n"
78 " <!-- Single-field timeseries reader -->\n"
79 " <SourceProxy\n"
80 " name=\"PFBReader\"\n"
81 " class=\"vtkFileSeriesReader\"\n"
82 " si_class=\"vtkSIMetaReaderProxy\"\n"
83 " label=\"PFB reader\"\n"
84 " file_name_method=\"SetFileName\">\n"
85 " <SubProxy>\n"
86 " <Proxy\n"
87 " name=\"Reader\"\n"
88 " proxygroup=\"internal_sources\"\n"
89 " proxyname=\"ParFlowBinaryReader\">\n"
90 " </Proxy>\n"
91 " <ExposedProperties>\n"
92 " <Property name=\"IsCLMFile\"/>\n"
93 " <Property name=\"CLMIrrType\"/>\n"
94 " </ExposedProperties>\n"
95 " </SubProxy>\n"
96 "\n"
97 " <StringVectorProperty\n"
98 " name=\"FileNameInfo\"\n"
99 " command=\"GetCurrentFileName\"\n"
100 " information_only=\"1\" >\n"
101 " <SimpleStringInformationHelper />\n"
102 " </StringVectorProperty>\n"
103 "\n"
104 " <StringVectorProperty\n"
105 " name=\"FileNames\"\n"
106 " clean_command=\"RemoveAllFileNames\"\n"
107 " command=\"AddFileName\"\n"
108 " animateable=\"0\"\n"
109 " number_of_elements=\"0\"\n"
110 " repeat_command=\"1\">\n"
111 " <FileListDomain name=\"files\"/>\n"
112 " <Documentation>\n"
113 " The list of files to be read by the reader. If more than 1 file is specified,\n"
114 " the reader will switch to file series mode in which it will pretend that it\n"
115 " can support time and provide 1 file per time step.\n"
116 " </Documentation>\n"
117 " </StringVectorProperty>\n"
118 "\n"
119 " <DoubleVectorProperty\n"
120 " name=\"TimestepValues\"\n"
121 " repeatable=\"1\"\n"
122 " information_only=\"1\">\n"
123 " <TimeStepsInformationHelper/>\n"
124 " <Documentation>\n"
125 " Available timestep values.\n"
126 " </Documentation>\n"
127 " </DoubleVectorProperty>\n"
128 "\n"
129 " <Hints>\n"
130 " <ReaderFactory\n"
131 " extensions=\"pfb\"\n"
132 " file_description=\"ParFlow Simulation Data\" />\n"
133 " </Hints>\n"
134 " </SourceProxy>\n"
135 "\n"
136 " <!-- Metadata reader -->\n"
137 " <SourceProxy\n"
138 " name=\"ParFlowReader\"\n"
139 " class=\"vtkParFlowMetaReader\"\n"
140 " label=\"ParFlow Reader\"\n"
141 " >\n"
142 " <Documentation\n"
143 " long_help=\"Read ParFlow simulation metadata summary files.\"\n"
144 " short_help=\"Read ParFlow simulation data\"\n"
145 " >Read ParFlow simulation data by inspecting a `.pfmetadata` file.\n"
146 " The output of this reader is a uniform grid.\n"
147 " </Documentation>\n"
148 " <StringVectorProperty\n"
149 " name=\"FileName\"\n"
150 " animateable=\"0\"\n"
151 " command=\"SetFileName\"\n"
152 " number_of_elements=\"1\"\n"
153 " panel_visibility=\"never\"\n"
154 " >\n"
155 " <FileListDomain name=\"files\"/>\n"
156 " </StringVectorProperty>\n"
157 "\n"
158 " <DoubleVectorProperty\n"
159 " information_only=\"1\"\n"
160 " name=\"TimestepValues\"\n"
161 " repeatable=\"1\">\n"
162 " <TimeStepsInformationHelper />\n"
163 " <Documentation>Available timestep values.</Documentation>\n"
164 " </DoubleVectorProperty>\n"
165 "\n"
166 " <!-- Enable/disable mesh outputs -->\n"
167 " <IntVectorProperty\n"
168 " name=\"EnableSubsurfaceDomain\"\n"
169 " default_values=\"1\"\n"
170 " number_of_elements=\"1\"\n"
171 " command=\"SetEnableSubsurfaceDomain\">\n"
172 " <BooleanDomain name=\"bool\"/>\n"
173 " </IntVectorProperty>\n"
174 "\n"
175 " <IntVectorProperty\n"
176 " name=\"EnableSurfaceDomain\"\n"
177 " default_values=\"1\"\n"
178 " number_of_elements=\"1\"\n"
179 " command=\"SetEnableSurfaceDomain\">\n"
180 " <BooleanDomain name=\"bool\"/>\n"
181 " </IntVectorProperty>\n"
182 "\n"
183 " <!-- Enable/disable mesh deformation/variable-z-spacing -->\n"
184 " <IntVectorProperty\n"
185 " name=\"DeflectTerrain\"\n"
186 " default_values=\"1\"\n"
187 " number_of_elements=\"1\"\n"
188 " command=\"SetDeflectTerrain\">\n"
189 " <BooleanDomain name=\"bool\"/>\n"
190 " </IntVectorProperty>\n"
191 "\n"
192 " <DoubleVectorProperty\n"
193 " name=\"DeflectionScale\"\n"
194 " default_values=\"1\"\n"
195 " number_of_elements=\"1\"\n"
196 " panel_visibility=\"advanced\"\n"
197 " command=\"SetDeflectionScale\">\n"
198 " <DoubleRangeDomain min=\"0\" max=\"100\" name=\"range\"/>\n"
199 " </DoubleVectorProperty>\n"
200 "\n"
201 " <!-- Regions to read (subsets of the file's domains) -->\n"
202 " <IntVectorProperty\n"
203 " name=\"SubsurfaceVOI\"\n"
204 " panel_visibility=\"advanced\"\n"
205 " default_values=\"0 -1 0 -1 0 -1\"\n"
206 " number_of_elements=\"6\"\n"
207 " command=\"SetSubsurfaceVOI\">\n"
208 " <IntRangeDomain name=\"range\"/>\n"
209 " </IntVectorProperty>\n"
210 "\n"
211 " <IntVectorProperty\n"
212 " name=\"SurfaceAOI\"\n"
213 " panel_visibility=\"advanced\"\n"
214 " default_values=\"0 -1 0 -1\"\n"
215 " number_of_elements=\"4\"\n"
216 " command=\"SetSurfaceAOI\">\n"
217 " <IntRangeDomain name=\"range\"/>\n"
218 " </IntVectorProperty>\n"
219 "\n"
220 " <!-- Variables to read -->\n"
221 " <StringVectorProperty\n"
222 " information_only=\"1\"\n"
223 " name=\"SubsurfaceVariableStatusInfo\">\n"
224 " <ArraySelectionInformationHelper attribute_name=\"SubsurfaceVariable\" />\n"
225 " </StringVectorProperty>\n"
226 " <StringVectorProperty\n"
227 " name=\"SubsurfaceVariableStatus\"\n"
228 " label=\"3D Grid Arrays\"\n"
229 " information_property=\"SubsurfaceVariableStatusInfo\"\n"
230 " command=\"SetSubsurfaceVariableArrayStatus\"\n"
231 " element_types=\"2 0\"\n"
232 " number_of_elements=\"0\"\n"
233 " number_of_elements_per_command=\"2\"\n"
234 " repeat_command=\"1\">\n"
235 " <ArraySelectionDomain name=\"array_list\">\n"
236 " <RequiredProperties>\n"
237 " <Property\n"
238 " function=\"ArrayList\"\n"
239 " name=\"SubsurfaceVariableStatusInfo\" />\n"
240 " </RequiredProperties>\n"
241 " </ArraySelectionDomain>\n"
242 " <Documentation>Use this property to select which variables defined over\n"
243 " 3-D cells should be loaded.</Documentation>\n"
244 " </StringVectorProperty>\n"
245 "\n"
246 " <StringVectorProperty\n"
247 " information_only=\"1\"\n"
248 " name=\"SurfaceVariableStatusInfo\">\n"
249 " <ArraySelectionInformationHelper attribute_name=\"SurfaceVariable\" />\n"
250 " </StringVectorProperty>\n"
251 " <StringVectorProperty\n"
252 " name=\"SurfaceVariableStatus\"\n"
253 " information_property=\"SurfaceVariableStatusInfo\"\n"
254 " command=\"SetSurfaceVariableArrayStatus\"\n"
255 " label=\"2D Grid Arrays\"\n"
256 " element_types=\"2 0\"\n"
257 " number_of_elements=\"0\"\n"
258 " number_of_elements_per_command=\"2\"\n"
259 " repeat_command=\"1\">\n"
260 " <ArraySelectionDomain name=\"array_list\">\n"
261 " <RequiredProperties>\n"
262 " <Property\n"
263 " function=\"ArrayList\"\n"
264 " name=\"SurfaceVariableStatusInfo\" />\n"
265 " </RequiredProperties>\n"
266 " </ArraySelectionDomain>\n"
267 " <Documentation>Use this property to select which variables defined over\n"
268 " 2-D cells should be loaded.</Documentation>\n"
269 " </StringVectorProperty>\n"
270 "\n"
271 " <OutputPort index=\"0\" name=\"Subsurface\" />\n"
272 " <OutputPort index=\"1\" name=\"Surface\" />\n"
273 "\n"
274 " <ExposedProperties>\n"
275 " <Property name=\"EnableSubsurfaceDomain\"/>\n"
276 " <Property name=\"SubsurfaceVOI\"/>\n"
277 " <PropertyGroup\n"
278 " label=\"Subsurface Variables\"\n"
279 " name=\"SubsurfaceVariableStatus\"\n"
280 " panel_visibility=\"default\"\n"
281 " panel_widget=\"ArrayStatus\">\n"
282 " <Property name=\"SubsurfaceVariableStatusInfo\" />\n"
283 " <Property name=\"SubsurfaceVariableStatus\" />\n"
284 " <Hints>\n"
285 " <WidgetHeight number_of_rows=\"20\" />\n"
286 " </Hints>\n"
287 " </PropertyGroup>\n"
288 " <Property name=\"EnableSurfaceDomain\"/>\n"
289 " <Property name=\"SurfaceAOI\"/>\n"
290 " <PropertyGroup\n"
291 " label=\"Surface Variables\"\n"
292 " name=\"SurfaceVariableStatus\"\n"
293 " panel_visibility=\"default\"\n"
294 " panel_widget=\"ArrayStatus\">\n"
295 " <Property name=\"SurfaceVariableStatusInfo\" />\n"
296 " <Property name=\"SurfaceVariableStatus\" />\n"
297 " <Hints>\n"
298 " <WidgetHeight number_of_rows=\"20\" />\n"
299 " </Hints>\n"
300 " </PropertyGroup>\n"
301 " </ExposedProperties>\n"
302 " <Hints>\n"
303 " <ReaderFactory\n"
304 " extensions=\"pfmetadata\"\n"
305 " file_description=\"ParFlow Simulation Data\" />\n"
306 " <RepresentationType port=\"0\" view=\"RenderView\" type=\"Surface\" />\n"
307 " <RepresentationType port=\"1\" view=\"RenderView\" type=\"Surface\" />\n"
308 " </Hints>\n"
309 " </SourceProxy>\n"
310 "\n"
311 " <!-- Multi-field timeseries reader -->\n"
312 " <!--\n"
313 " <SourceProxy\n"
314 " name=\"ParFlowSim\"\n"
315 " class=\"vtkFileSeriesReader\"\n"
316 " si_class=\"vtkSIMetaReaderProxy\"\n"
317 " file_name_method=\"SetFileName\">\n"
318 " <Documentation long_help=\"Read ParFlow simulation data.\"\n"
319 " short_help=\"Read ParFlow metadata file.\">The ParFlow reader\n"
320 " parses .pfmetadata files and reads a subset of the binary\n"
321 " data chosen by the user from the table of contents in the\n"
322 " metadata file.</Documentation>\n"
323 " <SubProxy>\n"
324 " <Proxy\n"
325 " name=\"Reader\"\n"
326 " proxygroup=\"internal_sources\"\n"
327 " proxyname=\"ParFlowReader\"/>\n"
328 " <ExposedProperties>\n"
329 " <Property name=\"EnableSubsurfaceDomain\"/>\n"
330 " <Property name=\"SubsurfaceVOI\"/>\n"
331 " <PropertyGroup\n"
332 " label=\"Subsurface Variables\"\n"
333 " name=\"SubsurfaceVariableStatus\"\n"
334 " panel_visibility=\"default\"\n"
335 " panel_widget=\"ArrayStatus\">\n"
336 " <Property name=\"SubsurfaceVariableStatusInfo\" />\n"
337 " <Property name=\"SubsurfaceVariableStatus\" />\n"
338 " <Hints>\n"
339 " <WidgetHeight number_of_rows=\"20\" />\n"
340 " </Hints>\n"
341 " </PropertyGroup>\n"
342 " <Property name=\"EnableSurfaceDomain\"/>\n"
343 " <Property name=\"SurfaceAOI\"/>\n"
344 " <PropertyGroup\n"
345 " label=\"Surface Variables\"\n"
346 " name=\"SurfaceVariableStatus\"\n"
347 " panel_visibility=\"default\"\n"
348 " panel_widget=\"ArrayStatus\">\n"
349 " <Property name=\"SurfaceVariableStatusInfo\" />\n"
350 " <Property name=\"SurfaceVariableStatus\" />\n"
351 " <Hints>\n"
352 " <WidgetHeight number_of_rows=\"20\" />\n"
353 " </Hints>\n"
354 " </PropertyGroup>\n"
355 " </ExposedProperties>\n"
356 " </SubProxy>\n"
357 "\n"
358 " <StringVectorProperty\n"
359 " name=\"FileNameInfo\"\n"
360 " command=\"GetCurrentFileName\"\n"
361 " information_only=\"1\" >\n"
362 " <SimpleStringInformationHelper />\n"
363 " </StringVectorProperty>\n"
364 "\n"
365 " <StringVectorProperty\n"
366 " name=\"FileNames\"\n"
367 " clean_command=\"RemoveAllFileNames\"\n"
368 " command=\"AddFileName\"\n"
369 " animateable=\"0\"\n"
370 " number_of_elements=\"0\"\n"
371 " repeat_command=\"1\">\n"
372 " <FileListDomain name=\"files\"/>\n"
373 " <Documentation>\n"
374 " The list of files to be read by the reader. If more than 1 file is specified,\n"
375 " the reader will switch to file series mode in which it will pretend that it\n"
376 " can support time and provide 1 file per time step.\n"
377 " </Documentation>\n"
378 " </StringVectorProperty>\n"
379 "\n"
380 " <DoubleVectorProperty\n"
381 " name=\"TimestepValues\"\n"
382 " repeatable=\"1\"\n"
383 " information_only=\"1\">\n"
384 " <TimeStepsInformationHelper/>\n"
385 " <Documentation>\n"
386 " Available timestep values.\n"
387 " </Documentation>\n"
388 " </DoubleVectorProperty>\n"
389 "\n"
390 " <Hints>\n"
391 " <ReaderFactory\n"
392 " extensions=\"pfmetadata\"\n"
393 " file_description=\"ParFlow Simulation Data\" />\n"
394 " </Hints>\n"
395 " </SourceProxy>\n"
396 " -->\n"
397 " </ProxyGroup>\n"
398 "</ServerManagerConfiguration>\n"
399 "\n";
400 // Get single string
402 {
403 
404  const size_t len0 = strlen(ParFlow_server_manager_modulesParFlowIOInterface0);
405  size_t len = ( 0
406  + len0 );
407  char* res = new char[ len + 1];
408  size_t offset = 0;
410  assert(offset == len);
411  res[offset] = 0;
412  return res;
413 }
414 
415 
416 
417 #endif
offset
static const char *const ParFlow_server_manager_modulesParFlowIOInterface0
char * ParFlow_server_manager_modulesParFlowIOGetInterfaces()