Then bestsqs8.out was generated and Mg=34 and Li = 66.
In general, final Li = (N+ initial Li)/2; final Mg = N- final Li;
I appreciate if you let me know what is the logic behind this?
and how can I set the randstr.in so that I get the desired atomic % of Mg and Li in the disordered B2 binary alloy?
Thanks very much Axel.
So if one needs to prepare a randstr.in file to be used in generating SQS of B2 structure
where the second lattice is filled with Mg and Li, then one should write:
I have seen several papers calculating phase diagrams of random wurzite structures of Ti(1-x)AlxN and the like [e.g. J. APPL. PHYS. 100 (2006) or J. APPL. PHYS. 113 (2013)].
If the formula is Ti_(1-x) Al_x N then one site is filled with Ti and/or Al (with fractional occupations) and N is on the other site, fully occupied. That I can see how to make a B2 structure out of.
In your case, I have no idea what is a Mg(1-x)Lix "B2" alloy.