A discrete mechanical model of fractional hereditary materials