A one-dimensional dynamic analysis of strain-gradient viscoplasticity