Continuum modeling of heteroepitaxial growth in semiconductors