pycalphad / scheil

A Scheil-Gulliver simulation tool using pycalphad.
https://scheil.readthedocs.io/
MIT License
18 stars 6 forks source link

ENH: improve handling for ordered phases #24

Closed bocklund closed 3 years ago

bocklund commented 3 years ago

Introduces an OrderingRecord object to track the relationship between ordered and disordered phases, replacing the old ordering code. The new ordering approach can be used for arbitrary equilibrium calculations and is used to fix #8.

The logic for defining how to compare the disordered phases is currently the same as before, considering the site ratios to determine equivalent sublattices. I am deferring action on this with the issue filed in https://github.com/pycalphad/scheil/issues/23.