def METHOD_NAME(surface, T):
    """Translate the positions of the ions by a given vector"""
    for i, site in enumerate(surface):
        site = wrapped(site + T)
        surface[i] = site
    return surface