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

Add supercell to UEP clustering #78 #79

Merged
merged 5 commits into from Jun 9, 2023
Merged

Conversation

patrick-austin
Copy link
Contributor

@patrick-austin patrick-austin commented Apr 11, 2023

Refactors and adds supercell functionality to utils.py. The new make_muonated_supercell is used when clustering in the UEP method. This both accounts for supercell, and sets the castep_custom_species so that if the output format chosen is cell the cell will have the castep symbol for the muon used.

Additionally, have refactored a section of ReadWriteCastep.write to allow write_cell without the .param file. This is used in the cluster saving, so that the output has the CASTEP settings needed for geometry optimisation (the default task) such as muon mass, gamma, fix_all_atoms ...

Closes #78, Closes #61

@leandro-liborio
Copy link
Contributor

Ok. This works fine. We can merge it.

@leandro-liborio
Copy link
Contributor

However... the PR is connected to issue 61. it has to do with what I did with Eli for beta NMR. The change the mass of the particle.

Conflicts:
	pymuonsuite/io/output.py
	pymuonsuite/muairss.py
	pymuonsuite/utils.py
@leandro-liborio leandro-liborio merged commit db99dd8 into main Jun 9, 2023
2 of 14 checks passed
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.

UEP supercell compatibility Clustering uses incorrect mu_symbol and particle_mass
2 participants