I was unable to find any example with constantarray. What I am missing
is how to use it. 
I am thinking of something like this:

 object  7 class array type int rank 0 itmes 12 data follows
        140937      147895      154853      161811      168769     
175727
        142073      149031      155989      162947      169905      176863
 attribute "dep" string "positions" 
 # attribute "boundary_point" int 1
 # attribute "bc_type"          -5
 # attribute "bc_tag"            1
 # attribute "normal"           -1

 object "bc_type 7" class constantarray type int rank 0 data follows
         -5
 attribute "dep" value 7

 object "bc_tag 7" class constantarray type int rank 0 data follows
         1
 attribute "dep" value 7

Is it the correct way to use the constantarray object? 

One more question. My grid is irregular positions/regular connections:
  
  object "connection list" class gridconnections counts     Xn Yn Zn
    attribute "element type" string "cubes" 
    attribute "ref" string "positions" 

When I define a surface object that is a two-dimensional slice from the
grid (e.g. I=const) shall I define  
  
   attribute "element type" string "squares" 

or OpenDX keeps track for the connections and neighbors internally? In
other words will the above defined object 7  inherit the "element type" 
"squares" from the global "connection list" attribute  "element type"
string "cubes"?

Thanks in advance for your comments.
Ted



Chris Pelkie wrote:
> 
> >Where can I find an example how to use constantarray object?
> >Thanks for your comments.
> >Ted
> >
> 
> Presumably you've found the syntax section in the User Guide.
> (Appendix B2 if I'm not mistaken).
> You should be able to find an example in the sample data files, I'd guess.
> 
> Chris Pelkie
> Vice President/Scientific Visualization Producer
> Conceptual Reality Presentations, Inc.
> 30 West Meadow Drive
> Ithaca, NY 14850
> [EMAIL PROTECTED]

Reply via email to