Extended kinetic theory for granular flow over and within an inclined erodible bed. (25th February 2020)