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

fixed pbc usage across sisl, fixes #764 #767

Merged
merged 4 commits into from
May 14, 2024
Merged

fixed pbc usage across sisl, fixes #764 #767

merged 4 commits into from
May 14, 2024

Commits on May 14, 2024

  1. fixed pbc usage across sisl, fixes #764

    Now pbc usage has been moved across the
    code base (I hope everything is managed).
    I have added a setter for pbc to enable
    fast setting pbc. It will silently ignore
    any dimensions not specified.
    This may be used as a shorthand for
    lattice.set_boundary_condition(...)
    
    Signed-off-by: Nick Papior <[email protected]>
    zerothi committed May 14, 2024
    Configuration menu
    Copy the full SHA
    9a2f59a View commit details
    Browse the repository at this point in the history
  2. bug: fixed variable change

    Signed-off-by: Nick Papior <[email protected]>
    zerothi committed May 14, 2024
    Configuration menu
    Copy the full SHA
    86db020 View commit details
    Browse the repository at this point in the history
  3. lots of bug-fixes that had problems with pbc migration

    The boundary conditions were rarely properly
    shipped together with the Lattice methods.
    Basically it boiled down to the copy method
    which did not take all variables into account.
    
    This commit also addes a Listify|listify
    class|object that can be used to ensures
    arguments are converted to a list.
    It can be quite handy as it allows "piping".
    
    Enabled a setter for pbc to fast changing
    stuff. One can pass *none* to not change it.
    
    Signed-off-by: Nick Papior <[email protected]>
    zerothi committed May 14, 2024
    Configuration menu
    Copy the full SHA
    8cc1c88 View commit details
    Browse the repository at this point in the history
  4. added link and fixed old name

    Signed-off-by: Nick Papior <[email protected]>
    zerothi committed May 14, 2024
    Configuration menu
    Copy the full SHA
    93123b2 View commit details
    Browse the repository at this point in the history