Skip to content
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

Add volume in Å^3 in the cell tab #652

Closed
superstar54 opened this issue Dec 23, 2024 · 0 comments · Fixed by #653
Closed

Add volume in Å^3 in the cell tab #652

superstar54 opened this issue Dec 23, 2024 · 0 comments · Fixed by #653
Assignees

Comments

@superstar54
Copy link
Member

Add the information in the last line of the widget.

Note: it should depending on the periodicity!
xyz -> Cell volume (ang^3)
xy -> Cell area (ang^2)
x -> Cell length (and)
(for 0D, show nothing!)

Note that StructureData already has a function to return both the dimensionality and the correct value (with the correct units): https://github.com/aiidateam/aiida-core/blob/779cc29d8a47eddabdf9b274d7fa711220ee1aa9/src/aiida/orm/nodes/data/structure.py#L772

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant