[opendx-users] Importing Data: Charge density data with non-orthogonal translation vectors

2004-11-25 Thread Arne Klaveness
I'm trying to import charge some charge density data into DX, but can't 
seem to find a solution for non orthogonal systems...


That is:
I have three cell vectors a,b,c, where \alpha, \beta and \gamma are \ne to 
90 degrees. I then have values of charge density at


(0,0,0)
(0,0,1)
...
(n_a,n_b,n_c)

, where the first indice is the number of a-vector translations, the second 
the number of b-vector translations and so on.


Does anyone know of a way to import this, or if dx supports this?
Can I submit it in a scattered format?

Arne Klaveness


Re: [opendx-users] Importing Data: Charge density data with non-orthogonal translation vectors

2004-11-25 Thread Chris Pelkie
In OpenDX, it's called a 'productarray'. You can read about it in the Users Guide, Appendix B-2, Native File Format. I doubt you can import using 'general' format, but native format gives you much more power, including this feature, so is worth learning anyway (and not difficult).
http://opendx.npaci.edu/docs/html/pages/usrgu068.htm#Header_444
http://opendx.npaci.edu/docs/html/pages/usrgu068.htm#HDRXMPLES (EXAMPLE 6)
x-tad-bigger
Chris Pelkie
Vice President
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850/x-tad-bigger
On Nov 25, 2004, at 7:59, Arne Klaveness wrote:

I'm trying to import charge some charge density data into DX, but can't seem to find a solution for non orthogonal systems...

That is:
I have three cell vectors a,b,c, where \alpha, \beta and \gamma are \ne to 90 degrees. I then have values of charge density at

(0,0,0)
(0,0,1)
...
(n_a,n_b,n_c)

, where the first indice is the number of a-vector translations, the second the number of b-vector translations and so on.

Does anyone know of a way to import this, or if dx supports this?
Can I submit it in a scattered format?

Arne Klaveness