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

Fix lattice volume calculation #185

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Fix lattice volume calculation #185

merged 1 commit into from
Apr 26, 2023

Commits on Apr 26, 2023

  1. Fix lattice volume calculation

    Previously, the output file volume was incorrect. It was printed under the 'unitcell' heading, but the code indicatated it was the supercell volume, but the printing happens before the supercell is generated. So in the end it was always the volume of a cubic unit cell.
    
    I've removed the volume() method from the lattice class to avoid any ambiguity about what this volume corresponds to. Now in the unit cell and lattice sections I output the correct volumes.
    drjbarker committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    698e0ea View commit details
    Browse the repository at this point in the history