source: trunk/examples/zoo/unirect2d/README @ 3714

Last change on this file since 3714 was 3714, checked in by gah, 11 years ago

remove examples of deprecated meshes

File size: 1.1 KB
Line 
1
2The <unirect2d> element is deprecated in favor of the <mesh>.
3See the mesh example under examples/zoo/mesh.
4
5If you already are using a <unirect2d> element, you should convert it to use
6the <mesh> element.  For example,
7
8  <unirect2d>
9    <about>
10        <label>unirect2d mesh</label>
11    </about>
12    <dim>2</dim>
13    <units>m</units>
14    <hide>yes</hide>
15    <xaxis>
16        <min>0.0</min>
17        <max>1.0</max>
18        <numpoints>50</numpoints>
19    </xaxis>
20    <yaxis>
21        <min>0.0</min>
22        <max>1.0</max>
23        <numpoints>50</numpoints>
24    </yaxis>
25  </unirect2d>
26
27should be converted to
28
29  <mesh>
30    <about>
31        <label>uniform grid mesh</label>
32    </about>
33    <dim>2</dim>
34    <units>m</units>
35    <hide>yes</hide>
36    <grid>
37        <xaxis>
38            <min>0.0</min>
39            <max>1.0</max>
40            <numpoints>50</numpoints>
41        </xaxis>
42        <yaxis>
43            <min>0.0</min>
44            <max>1.0</max>
45            <numpoints>50</numpoints>
46        </yaxis>
47    </grid>
48  </mesh>
49
50See the mesh documentation for more information.
51
52  https://nanohub.org/infrastructure/rappture/wiki/rp_xml_ele_mesh
53
54
55
Note: See TracBrowser for help on using the repository browser.