Theory of the lattice Boltzmann method: Lattice Boltzmann models for nonideal gases | Synapse