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

FIX: Call filter_phases to remove phases that cannot be stable #11

Merged
merged 1 commit into from Nov 14, 2020

Conversation

bocklund
Copy link
Collaborator

Closes #9

@bocklund bocklund merged commit 5f8d4c5 into master Nov 14, 2020
bocklund added a commit that referenced this pull request Jun 12, 2021
bocklund added a commit that referenced this pull request Jun 12, 2021
Fixes a regression introduced in #11, where `filter_phases` was introduced to remove phases that cannot be stable or phases where the disordered part is given as a candidate phase. The change in #11 made it so the disordered phase was not a part of the list of `solid_phases` that could form during the solidification simulations. With the disordered phase name not included in the `solid_phases`, the `order_disorder_eq_phases` function that renamed the ordered phases with disordered configurations to their disordered counterpart would lead to the phase amount of disordered configurations to _not_ be saved.

This PR fixes that and adds a parameterized test case that tests that the disordered phase always is accounted for regardless of whether or not the ordered phase is in the candidate phases or not.
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.

Error while simulating Ni-Al-Cr system
1 participant