Continuum and atomistic aspects of dislocation dynamics