Skip to content

Slab orthogonaliser routine breaking ISHIFT = 4 #14

Description

@nedtaylor

The issue occurs for non-tetragonal cells:

  • Atoms that should be at 0.0 along c are given values of 1.0 (computational rounding errors)
  • A vacuum is placed between the atoms at 0.99 and 1.0
  • The orthogonaliser routine is applied to the slab, shifting the atoms at 1.0 differently from the atoms at 0.0
  • Then, when the cell is then renormalised, these atoms are renormalised to 0.0 along c, but are now are then incorrectly shifted (by the orthogonalisation amount) with respect to the rest of the slab.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions