Multiscale methods at atomistic and mesoscopic scales