I think you want rank 1, shape 3 for this. Rank 3 is a 3'rd rank tensor, not a vector. Rank 1 shape 3 is a 3-component vector.

Marcus Mendenhall


Hi all,

I am writing a program to convert my data file to opendx. With scalar
field is OK. But I don't know how to config 3-vector field in dx files.

I tried with this header:

object 3 class array type float rank 3 shape 1 items 28918 lsb binary
data file out21.dat,0
attribute "dep" string "positions"

Does any one show me how to define my data object as 3-vetor filed ?

Thank for your advance

Regards
Minh

Reply via email to