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

Single ensemble class #210

Merged
merged 16 commits into from
May 31, 2022
Merged

Single ensemble class #210

merged 16 commits into from
May 31, 2022

Conversation

lbluque
Copy link
Collaborator

@lbluque lbluque commented May 26, 2022

Summary

Addresses #198

  • Ensemble class that can be used for canonical or semigrand cases.
  • Ensemble.chemical_potentials can be set for a semigrand situation.
  • The chemical_potentials are managed by a descriptor class ChemicalPotentialManager.
  • Renamed (deprecated) base ensemble class to BaseEnsemble.
  • Included deprecation warning in BaseEnsemble constructor.
  • Removed use of valid_mcmc_steps class attribute.
  • Updated unit tests to run on the new single Ensemble class.

Checklist

@lbluque lbluque requested review from qchempku2017 and kamronald May 26, 2022 05:43
Copy link
Collaborator

@qchempku2017 qchempku2017 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have one question for you in ensemble.py about copy of the descriptor, please have a look at it.

smol/moca/ensemble/ensemble.py Show resolved Hide resolved
@lbluque lbluque merged commit 3a5de3a into CederGroupHub:main May 31, 2022
@lbluque lbluque deleted the single_ensemble branch June 3, 2022 16:29
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