From Atomistic Model to the Peierls–Nabarro Model with $${\gamma}$$γ-surface for Dislocations