"Evgeniy Shapiro" <[EMAIL PROTECTED]> writes:

> ...

"Charles James Leonardo Quarra Cappiello" <[EMAIL PROTECTED]> writes:

> ...

See the User Guide, Appendix B.  You can use arbitrary unstructured
grids, even triangles and quads combined.  Here is a file "sample.dx":

----------------------------------------------------------------
object 1 class array type float rank 1 shape 2 items 44 data follows
0.     0.     
0.3232233     0.     
0.     0.3232233     
0.3232233     0.3232233     
0.3232233     0.     
0.6767767     0.     
0.3232233     0.3232233     
0.6767767     0.3232233     
0.6767767     0.     
1.     0.     
0.6767767     0.3232233     
1.     0.3232233     
0.     0.3232233     
0.3232233     0.3232233     
0.     0.6767767     
0.3232233     0.6767767     
0.6767767     0.3232233     
1.     0.3232233     
0.6767767     0.6767767     
1.     0.6767767     
0.     0.6767767     
0.3232233     0.6767767     
0.     1.     
0.3232233     1.     
0.3232233     0.6767767     
0.6767767     0.6767767     
0.3232233     1.     
0.6767767     1.     
0.6767767     0.6767767     
1.     0.6767767     
0.6767767     1.     
1.     1.     
0.3232233     0.3232233     
0.6767767     0.3232233     
0.5     0.5     
0.6767767     0.3232233     
0.6767767     0.6767767     
0.5     0.5     
0.3232233     0.6767767     
0.6767767     0.6767767     
0.5     0.5     
0.3232233     0.3232233     
0.3232233     0.6767767     
0.5     0.5     
object 2 class array type int rank 1 shape 3 items 4 data follows
32 33 34
35 36 37
39 38 40
42 41 43 
attribute "element type" string "triangles"
attribute "ref" string "positions"
object 3 class array type int rank 1 shape 4 items 8 data follows
0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
16 17 18 19
20 21 22 23
24 25 26 27
28 29 30 31 
attribute "element type" string "quads"
attribute "ref" string "positions"
object 4 class array type float rank 0 items 44 data follows
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
1.    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
0.1    
attribute "dep" string "positions"
object "simplex-part" class field
component "positions" value 1
component "connections" value 2
component "data" value 4
object "quad-part" class field
component "positions" value 1
component "connections" value 3
component "data" value 4
object "both-grids" class group
member "simplex-part" value "simplex-part"
member "quad-part" value "quad-part"
end
----------------------------------------------------------------

Reply via email to