1#!F-adobe-helvetica-medium-r-normal--18*
2#!N
3#!CDarkGreen
4#!N  #!Rall627 Example 3. A Warped Regular Grid #!N #!EC #!Cbrown
5#!N  #!F-adobe-times-medium-r-normal--18*    #!Rdeform107 #!N Graphics omitted from Online Documentation. Please see
6the manual. #!N #!N Figure 107. Warped Regular Grid Example #!EF
7#!N #!EC #!N #!N The example file (in  #!F-adobe-times-bold-r-normal--18*   /usr/local/dx/samples/data/deformedregular.dx #!EF
8) defines a warped regular grid and shows how to imbed
9data as text in a header section. The values of the
10"positions" component are irregular and must be enumerated.  #!Ldeform107,dxall628 f Figure 107  #!EL  shows the
11resulting structure. #!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N # The irregular, 3
12dimensional positions #!N object 1 class array type float rank 1
13shape 3 items 24 data follows #!T,69,129,225 #!N TAB 0 TAB
140 TAB 0 #!N TAB 0 TAB 0 TAB 1 #!N
15TAB 0 TAB 0 TAB 2 #!N TAB 0 TAB 2
16TAB 0 #!N TAB 0 TAB 2 TAB 1 #!N TAB
170 TAB 2 TAB 2 #!N TAB 1 TAB 0.841471 TAB
180 #!N TAB 1 TAB 0.841471 TAB 1 #!N TAB 1
19TAB 0.841471 TAB 2 #!N TAB 1 TAB 2.841471 TAB 0
20#!N TAB 1 TAB 2.841471 TAB 1 #!N TAB 1 TAB
212.841471 TAB 2 #!EF #!N #!N #!EC #!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*
22#!N TAB 2 TAB 0.9092974 TAB 0 #!N TAB 2 TAB
230.9092974 TAB 1 #!N TAB 2 TAB 0.9092974 TAB 2 #!N
24TAB 2 TAB 2.909297 TAB 0 #!N TAB 2 TAB 2.909297
25TAB 1 #!N TAB 2 TAB 2.909297 TAB 2 #!N TAB
263 TAB 0.14112 TAB 0 #!N TAB 3 TAB 0.14112 TAB
271 #!N TAB 3 TAB 0.14112 TAB 2 #!N TAB 3
28TAB 2.14112 TAB 0 #!N TAB 3 TAB 2.14112 TAB 1
29#!N TAB 3 TAB 2.14112 TAB 2 #!EF #!N #!N #!EC
30#!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N # The regular connections #!N object
312 class gridconnections counts 4 2 3 #!EF #!N #!N #!EC
32#!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N # The data, in a one-to-one
33correspondence with the positions #!N object 3 class array type float
34rank 0 items 24 data follows #!T,61,129,199 #!N TAB 1 TAB
353.4 TAB 5 #!N TAB 2 TAB 3.4 TAB 5.1 #!N
36TAB 0.3 TAB 4.5 TAB 1 #!N TAB 2.3 TAB 4.1
37TAB 2.1 #!N TAB 6 TAB 8 TAB 9.1 #!N TAB
382.3 TAB 4.5 TAB 5 #!N TAB 3 TAB 4.3 TAB
391.2 #!N TAB 1.2 TAB 3 TAB 3.2 #!N attribute "dep"
40string "positions" #!EF #!N #!N #!EC #!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N
41# The field, with three components: "positions", "connections", and #!N #
42"data". The field is given the name "irreg positions regular connections".
43#!N object "irreg positions regular connections" class field #!N component "positions"
44value 1 #!N component "connections" value 2 #!N component "data" value
453 #!N #!N end #!EF #!N #!N #!EC #!N #!N The
46positions are joined in the order "last index varies fastest," with
47the connections specified as 4 x 2 * 3: the first
483 positions are joined in a line, as are those in
49each set of 3 following. Then the first 6 positions are
50joined as a set of 2 quadrilaterals, as are the next
516 and so on (see  #!Ldeform107,dxall628 f Figure 107  #!EL  ). #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*
52Next Topic #!EF #!N #!N  #!Lex4,dxall629 h Example 4. An Irregular Grid  #!EL  #!N  #!F-adobe-times-medium-i-normal--18*   #!N
53