A geometric mesh smoothing algorithm related to damped oscillations