hanghui chen wrote:

>       For alloys (using virtual crystal approximation), the number of 
> electrons depends on the percentage of mixing and is usually fractional. 
> Why do you set such a requirement?

likely for no other reason than "it used to be there once upon a time".
Please remove all checks on integer occupancies and all assumptions
that the number of electrons (up, down, total) is integer, verify if
things work with fractional occupancy (and if they work the same way
with integer occupancies), let us know

Paolo
-- 
Paolo Giannozzi, Democritos and University of Udine, Italy

Reply via email to