Dear All,

I calculated with Siesta system. Now I need to load binary Siesta *.RHO file. But it was written somehow in strange way. As I saw in iorho.f , it should write following data:

double  cell(3,3) //cell vectors
int  mesh(3) // Nz Ny Nx - amount of points in each direction
int   nspin
float *  density_data

When I'm trying to read it in mathematica (also tried in c++), it reads wrong. In mathematica, then, I found, that there is some offsets between data. I could read cell vectors and mesh number of points. But in the density data seems to have also some offsets, which I dont know.

Could someone explain, how to read this file?

Regards,
Ilia Sivkov

Responder a