source: branches/1.4-release/examples/zoo/field/tool.xml @ 5865

Last change on this file since 5865 was 5865, checked in by gah, 7 years ago

fix Makefiles for installing python examples

File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<run>
3<tool>
4  <title>field</title>
5  <about>Example of a Rappture &lt;field&gt; object.
6
7Fields are a set of values defined on a mesh of some sort (see &lt;mesh&gt; element for details).
8
9When you click the Simulate button, the inputs will be used to generate output fields.
10  </about>
11  <command>
12    python @tool/field.tcl @driver
13  </command>
14  <limits>
15    <cputime>unlimited</cputime>
16    <filesize>unlimited</filesize>
17  </limits>
18</tool>
19<input>
20  <string id="formula">
21    <about>
22      <label>Formula</label>
23      <description>Formula used to calculate the value of the field.</description>
24      <hints>Example:  2*x*y + z</hints>
25    </about>
26    <default>x*y*z</default>
27  </string>
28  <separator/>
29  <choice id="3D">
30    <about>
31      <label>3D Rendering</label>
32      <description>Determines the mesh type and method used for 3D rendering</description>
33    </about>
34    <option>
35      <about>
36        <label>Isosurface (Uniform Grid)</label>
37        <description>Renders a series of isosurfaces using a uniform 3D grid mesh.</description>
38      </about>
39      <value>grid</value>
40    </option>
41    <option>
42      <about>
43        <label>Isosurface (Unstructured Grid)</label>
44        <description>Renders a series of isosurfaces using an unstructured 3D grid mesh with a hole.</description>
45      </about>
46      <value>unstructured</value>
47    </option>
48    <default>grid</default>
49  </choice>
50</input>
51</run>
Note: See TracBrowser for help on using the repository browser.