Classical Analogue of the Ionic Hubbard Model