Hi,

I guess I fired this off a little too quickly!  I found the answer through
looking at some of the examples in the userguide and believing that
whoever sat down and worked out the data model for DX was a true
mathematician.  Sure enough, DX is general enough.  The answer was to
simply use a few 1-D gridpositions and then make a productarray out of
them.  If anyone cares for more details just let me know and I'll try to
describe it in some clarity.

Thanks,
Tom

On Tue, 20 Jun 2000, Thomas A. Gardiner wrote:

>Hi,
>
>I'll try to keep this short.  In DX the native file format says that the
>"last index varies fastest".  I have a 2-D grid with x varying fastest and
>z varying slowest.  So I define positions like so
>
>object 1 class gridpositions counts 401 201 
>origin  0  0
>delta   0  1
>delta   1  0
>
>This displays nicely and all, but DX thinks that the first index is x and
>the second is y.  So my original grid which is (x,y,z) gets mapped to
>(x,z,y).  Now for scalars, who cares, but for vectors and more importantly
>pseudovectors like magnetic fields this is an important point; my
>coordinate system has just changed from being right-handed to left-handed.
>
>Would anyone happen to know a solution for this other than rewriting my
>original data file to suit DX?
>
>Thanks,
>Tom
>
>_________________________________________________________________________
>Thomas Gardiner
>[EMAIL PROTECTED]
>
>University of Rochester
>Department of Physics and Astronomy
>P. O. Box 270171
>Rochester, NY 14627-0171
>
>(716) 275-9625 Office
>(716) 275-8527 fax
>__________________________________________________________________________
>
>The scientist does not study nature because it is useful; he studies it
>because he delights in it, and he delights in it because it is beautiful.
>If nature were not beautiful, it would not be worth knowing, and if nature
>were not worth knowing, life would not be worth living.- Henri Poincare
>__________________________________________________________________________
>
>

Reply via email to