Low energy dislocation structures caused by sliding and by particle impact