Theory and simulation of crystal growth