Hi,

On Sun, 13 Aug 2000, Trevor Wood wrote:

>Can someone help me by pointing out what I'm doing wrong?  I'm using
>OpenDX v.4.1 on Linux 2.0.36 Debian (potato dist.).

Trevor,

I think I found your problem.  Try this for a .dx file; I'll just annotate
your header.

==================
BEM.dx header file
==================

# I noticed all of your data files listed below are lsb binary.  You can
# specify this as the default by including this line at (near) the top of
# the header file.  That way you don't have to include it on every line.
# I deleted them below.
data mode lsb binary


# Body field
object  1  class array type float rank 1 shape  3  items  170 
data file "BEM.dx.bin", 4

# I believe you wan the data file name in quotes.
# I put the rest in quotes below.

object  2  class gridconnections counts  17 10

object  3  class array type float rank 1 shape 1 items  144 
data file "BEM.dx.bin", 2052
attribute "dep" string "connections"

object "body" class field
component "positions"   value  1
component "connections" value  2
component "data"        value  3

# I believe that end marks the end of the header!
# I deleted the rest below
# end

# Wake field
object  4  class array type float rank 1 shape  3  items  60  lsb binary
data file "BEM.dx.bin", 2636

object  5  class gridconnections counts  6 10

object  6  class array type float rank 1 shape 1 items  45  lsb binary
data file "BEM.dx.bin", 3364
attribute "dep" string "connections"

object "wake" class field
component "positions"   value  4
component "connections" value  5
component "data"        value  6

# Wing Group
object "wing" class group
member "body" value "body"
member "wake" value "wake"

end

Reply via email to