Discrete and continuous models of critical damping for a simply supported beam