A theory of the elastic-viscoplastic Cosserat continuum