Skip to content

Conversation

@JonathonMisiewicz
Copy link
Contributor

This PR (which would benefit from squashing the commits) has two primary features. First, it adds the LatticeRange class and integrates it to the lattice summation within 1D convolutions. Secondly, it refactors the logic surrounding displacements. @evaleev described the old code as PTSD-inducing when I was going over the rewrite with him this morning. The primary changes are adding comments, renaming functions for clarity, the complete rewrite of reset_along_dim, and the use of the ExtraDomainPolicy enum in the BoxSurfaceDomainValidator which is more descriptive and eliminates the redundancies of the previous two-arrays-of-bool system.

@JonathonMisiewicz
Copy link
Contributor Author

JonathonMisiewicz commented Jan 15, 2026

Found a small problem. Don't merge this until the next commit...

EDIT: Done

@evaleev evaleev merged commit 6eed9f4 into master Jan 16, 2026
24 checks passed
@evaleev evaleev deleted the jm/kpt-dirty branch January 16, 2026 03:16
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 this pull request may close these issues.

3 participants