Dear Alex,

The Inelastica code (
http://sourceforge.net/apps/mediawiki/inelastica/index.php?title=Main_Page)
has routines (package/SiestaIO) to read TSHS files, however in
python/fortran, I guess it should be possible to parse it to C otherwise I
think it is possible to interface the python-code directly from C.

Regards
Henrik


2013/6/5 Alex Pak <[email protected]>

> Hello TRANSIESTA users,
>
> I'm new to reading/writing binary files and am not sure how to read the
> *.TSHS binary file.  I'd like to extract the sparse H and S matrices from
> the TSHS file using a program in C.  If anyone has a script that does this
> or any example code for other files that does something similar that I
> could learn from, I'd greatly appreciate it if you could help me out.
> Thanks!
>
> Alex
>
>
>
>

Responder a