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

System expects dims as keyword argument #300

Merged
merged 6 commits into from
Aug 25, 2024
Merged

System expects dims as keyword argument #300

merged 6 commits into from
Aug 25, 2024

Conversation

kbarros
Copy link
Member

@kbarros kbarros commented Aug 25, 2024

Supercell dimensions become optional in the System constructor. By default, the new system will have dimensions 1×1×1. Pass a dims keyword argument to increase the initial supercell size.

To avoid confusion, this PR also renames the keyword argument dims to ndims in view_crystal and plot_spins.

@kbarros kbarros requested a review from ddahlbom August 25, 2024 16:36
@kbarros kbarros merged commit 5a310d3 into main Aug 25, 2024
4 checks passed
@kbarros kbarros deleted the no-latsize branch August 25, 2024 18:10
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.

1 participant