Use of the Ising model in the study of substitutional alloys.