sozykinsa / GUI4dft

GUI4dft - first free SIESTA oriented GUI
MIT License
21 stars 6 forks source link

<< Cell box different from structure >> #4

Closed icamps closed 2 years ago

icamps commented 3 years ago

Hi @sozykinsa ,

I have a nanotube that is centered in a cell. When I visualize the structure and the cell in GUI4DFT, the nanotube appears in a corner, not in the center of the cell.

The images are below; the first one is from GDIS and the second one if from GUI4DFT.

Regards,

Camps PS: this is the input structure from the other post.

fromGDIS fromGUI4DFT

sozykinsa commented 3 years ago

Thank you for your interest in my program.

In most of the files the program works with, the concept of a origin point is absent. So the choice of the position of the cell is a convention. Perhaps you are right and I chose not the most obvious way to select the origin. I made changes to the program. Now everything works as you would like.

There is a button for exporting pictures in my program. The quality is much better than with a "print screen" 2021-08-25_10-00-07 . Sergey Sozykin

icamps commented 3 years ago

Dear @sozykinsa ,

The issue with the cell representation is fixed, thanks. I think that for a crystal, the previous implementation could be good, but for artificial 3D systems, it is important to visualize the system as design due to the vacuum space added to the system.

A bad news is that the parsing is broken (I can not import band/DOS files).

Also, I used the SaveFigure3D option in my Linux box, not in the Windows.

Regards,

Camps

sozykinsa commented 3 years ago

A bad news is that the parsing is broken (I can not import band/DOS files).

Please give more information. Does parsing work for files in a directory: GUI4dft/DATA/SWNT(8,0)/spTrue/ ?

I would appreciate an archive with siesta output file, dos and bands files for which you are getting the error. Can you add some print screens?

icamps commented 3 years ago

Hi @sozykinsa ,

Sorry for the delay... Answering your question: using your files works fine. The problem is that my input FDF file has two parts: one with the structure and other one with the calculation parameters.

In my previous comment, you fixed this issue :) but now, fixing the issue with cell representation, the error went back :(.

sozykinsa commented 3 years ago

I added support for parsing included files. However, it is not clear to me why the program did not work for you. Only the SystemLabel variable is used to find additional files. You had it in the file with coordinates. Maybe you overridden it in the included file? If my revision did not help you, please send examples of your files.

icamps commented 2 years ago

Hi @sozykinsa I just re-install GUI4dft from zero, reboot the computer and now is working fine. Thanks.