-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: non-integer supercell indices / negative ones #31
Comments
These seem possible. For the moment if I have a big cell I usually go 2 1 2 and move the unit cell to the middle to create a pleasing image. I think it will be necessary to change how the supercell generation/iteration works a bit; at the moment the code iterates over each atom in each of a series of unit cells, generating the trajectory of movement. This will have to be tweaked to accept partially-occupied cells. I was worried on first reading that you might be asking for the ability to generate conventional cells with a 3x3x3 supercell matrix. That would be nice to have, but I don't have a lot of confidence with that stuff which seems to usually work by "searching" for repeating atoms in a space. |
Thanks for the illustrations. I think from a user viewpoint this should be implemented as a "threshold" distance value for identifying atoms near the edge of the cell. It probably makes sense to implement fractional supercells at the same time, as both need the same change to the code structure |
Also it seem like in case of "1 1 1" supercell any ions with coordinates containing full lattice translations (e.g. if I have ion in origin position, ions with coordinates "1 1 1", "1 0 0", etc.) are not shown , which makes the cell kinda asymmetric and little bit ugly.
In VESTA we can use negative "supercell" indices to do it, e.g. show all from -0.3 -0.3 -0.3 to 1.3 1.3 1.3. Is it possible to add such a feature to ascii-phonons?
I tried to tinker with the code by myself, but to no avail.
The text was updated successfully, but these errors were encountered: