Skip to content
Snippets Groups Projects
  • Giovanni Bussi's avatar
    db509d5e
    Optimized PBCs · db509d5e
    Giovanni Bussi authored
    I took advantage of the fact that we have the reduced cell. This
    allows to avoid the comparison of different shifts for
    many values of the scaled coordinates, as well as using the
    sign of the scaled coordinates to check which shifts should
    be attempted. The average number of shift vector to be evaluated
    is approximately 1 (plus the "null-shift")
    
    There is also a Pbc::test() function which I used during debugging.
    I leave it there for future reference.
    db509d5e
    History
    Optimized PBCs
    Giovanni Bussi authored
    I took advantage of the fact that we have the reduced cell. This
    allows to avoid the comparison of different shifts for
    many values of the scaled coordinates, as well as using the
    sign of the scaled coordinates to check which shifts should
    be attempted. The average number of shift vector to be evaluated
    is approximately 1 (plus the "null-shift")
    
    There is also a Pbc::test() function which I used during debugging.
    I leave it there for future reference.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.