-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow reshaping an inhomogeneous system to a single unit cell (#191)
Before this commit, reshaping an inhomogeneous system was disallowed. Now, it is allowed in certain specialized contexts. The primary motivation is enable LSWT-KPM for large, inhomogeneous systems. To support this, we need to allow reshaping of an inhomogeneous system into a single, enlarged "crystal" unit cell. With the refactors, it also becomes possible to call `repeat_periodically` on an inhomogeneous system. As a design decision, `reshape_supercell` is still disallowed for inhomogeneous systems, because there is not yet an obvious use case for this. Co-authored-by: David A. Dahlbom <34151623+ddahlbom@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
110 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters